You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Project generated from 2.44.1 could not be opened on Xcode 15.0.1: 'future Xcode project file format' error #1578
When opening the generated project on Xcode 15.0.1, I get
The project at ‘/path/to/my/generated/xcodeproj’ cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode.
even if I set xcodeVersion: "15.0" (or any lower version down to "12.0") in my xcodegen.yml configuration.
By doing some attempts, I discovered that the generated objectVersion = 77 seemingly is the cause of my issue: if I manually set it to 60 or lower value the project is properly opened by my Xcode.
Activity
tomsqrd commentedon Oct 28, 2025
Had a similar issue, an
xcodeprojcommand failed in the CI process because it didn't recognise version 77.I "fixed" the issue by putting a script in
options.postGenCommandthat hard-resets the object version like so:and the script
fixObjectVersion.rb:This is quite hacky but it does mitigate the issue for now. I tried doing it using
xcodeproj, but:xcodeprojseems to have no setter forobjectVersionxcodeprojwas the failure point in the CI process, so it would be strange if it could fix itselfpaolo-marchetti commentedon Oct 29, 2025
Even simpler than the good @TomQDRS 's solution, I am using a simple
sedcommand for thepostGenCommandscript:that requires no additional script file.
anivaros commentedon Nov 7, 2025
I've implemented the ability to select the Xcode project version in this PR, but it looks like @yonaskolb doesn't have time to review it😢
yonaskolb commentedon Mar 5, 2026
projectFormat support released in 2.45.0 Thanks @anivaros
fix(build): patch pbxproj format header for Xcode 15.4 compatibility
Fix: xcodegen-Projektformat auf CI-kompatiblen Wert zurücksetzen
Fix CI: pin generated project format to a version Xcode 15.4 can read
CI 修复:工程格式高于 runner 的 Xcode 能读的版本