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

Change compatibilityVersion to Xcode 10.0 #581

Merged
merged 3 commits into from
Jun 14, 2019

Conversation

acecilia
Copy link
Collaborator

@acecilia acecilia commented May 7, 2019

I experienced that with the compatibilityVersion set to Xcode 9.3, Xcode automatically sets the ObjectVersion from 51 to 50.

@yonaskolb
Copy link
Owner

Interesting. Is the downgrade in object version affecting you?
I wonder if anyone is still using Xcode 9.3 with the latest XcodeGen, probably not

@acecilia
Copy link
Collaborator Author

acecilia commented May 11, 2019

Yes it is. I am not sure at which point is happening (I did some tests but could not figure out in which exact moment Xcode decides to update the ObjectVersion), but after working with a project for some time and going to commit, I see that ObjectVersion changed from 51 to 50.

To check this you can make a test:

  • Create a new Single View App project with Xcode 10.2.1 (10E1001). It will be created with ObjectVersion = 50 and compatibilityVersion = "Xcode 9.3".
  • With the project file selected, in the file inspector (using the dropdown) change the compatibility to Xcode 10.0-compatible: the ObjectVersion is automatically changed to 51.
  • Changing the compatibility back to Xcode 9.3-compatible also automatically changes the ObjectVersion to 50.

Due to that, seems that ObjectVersion = 51 is only used with compatibilityVersion = "Xcode 10.0". So, another option I guess is to keep compatibilityVersion = "Xcode 9.3" and ObjectVersion = 50.

@yonaskolb yonaskolb merged commit 06179eb into yonaskolb:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants