Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Inspecting Project Configuration #5

Closed
alanzeino opened this issue Feb 14, 2019 · 8 comments
Closed

Error Inspecting Project Configuration #5

alanzeino opened this issue Feb 14, 2019 · 8 comments
Labels
bug A bug in Periphery question Further information is requested

Comments

@alanzeino
Copy link

error: typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "defaultConfigurationIsVisible", intValue: nil)], debugDescription: "Expected to decode String but found a number instead.", underlyingError: nil))

I'll try building from source to see what's going on.

@ileitch
Copy link
Contributor

ileitch commented Feb 14, 2019

That error is most likely coming from https://github.com/tuist/xcodeproj. Version 1.3.0 includes a more recent version of xcodeproj, you could try 1.2.3 and see if the issues remains?

@ileitch ileitch added bug A bug in Periphery awaiting response question Further information is requested and removed awaiting response labels Feb 14, 2019
@rocir
Copy link

rocir commented Feb 26, 2019

I'm having a similar issue and using 1.2.3 doesn't fix it. It outputs the following:

error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "productType", intValue: nil)], debugDescription: "Cannot initialize PBXProductType from invalid String value com.apple.product-type.app-extension.intents-service", underlyingError: nil))

@ileitch
Copy link
Contributor

ileitch commented Feb 27, 2019

@rocir Your issue is the same as #25

@ileitch
Copy link
Contributor

ileitch commented Mar 2, 2019

@rocir Please try 1.4.0
@alanzeino Any luck investigating this? You could also try 1.4.0

@alanzeino
Copy link
Author

Looks like it continues with 1.4.0

$ periphery scan
Welcome to Periphery!
This guided setup will help you select the appropriate configuration for your project.

* Inspecting project configuration...

error: typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "defaultConfigurationIsVisible", intValue: nil)], debugDescription: "Expected to decode String but found a number instead.", underlyingError: nil))

$ periphery version
1.4.0

@ileitch
Copy link
Contributor

ileitch commented Mar 7, 2019

@alanzeino Could you please grep for defaultConfigurationIsVisible in your pbxproj and paste the output.

@alanzeino
Copy link
Author

It's set to 0 everywhere:

defaultConfigurationIsVisible = 0;

I created a new project in Xcode and that's the default there too.

@ileitch
Copy link
Contributor

ileitch commented Mar 28, 2020

Please try 1.6.0, which contains a much newer version of xcodeproj. Please open a new issue if you run into problems.

@ileitch ileitch closed this as completed Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in Periphery question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants