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

ArgumentError - [Xcodeproj] Unable to find compatibility version string for object version 70. #996

Open
mattgapadmi opened this issue Nov 19, 2024 · 2 comments

Comments

@mattgapadmi
Copy link

I am receiving this error after updating my .pbxproj file using Xcode 16.0:

ArgumentError - [Xcodeproj] Unable to find compatibility version string for object version 70.

I'm using xcodeproj 1.27.0

I noticed this in lib/xcodeproj/constants.rb:

COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
      77 => 'Xcode 16.0',

This doesn't seem right. I thought 70 is Xcode 16.0 and 77 is Xcode 16.1.

Any help would be appreciated.

@DhanushKumar19
Copy link

DhanushKumar19 commented Dec 11, 2024

I got this error on pod install when I created a directory as a folder (e.g., a Blue Icon) within the project. Converting the folder to a group (e.g., a Grey color icon) resolved the issue for me.

@iAmrMohamed
Copy link

I had the same issue and converting the folder to group fixed it too, thanks @DhanushKumar19.

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

No branches or pull requests

3 participants