Seems to be a very old project file format — please open your project file in a more recent version of Xcode
Recently I upgraded Tuist for my iOS project after a long time.
However when I about to deploy through Github, the Action failed with the following error:
Seems to be a very old project file format…
I had solved a similar problem with CocoaPods before, so I tried the same approach.
Even after upgrading the Project Format to Xcode 16.0, the error persisted.
So I guessed that Fastlane might be the cause.
However, even the lastest version of Fastlane didn’t resolve the problem.
I googled about it, but Fastlane said that “‘it’s Tuist issue”.
Through a Tuist issue, I found a helpful hint.
The source of the problem was missing TargetAttributes.
Tuist had previously created TargetAttributes in .pbxproj, but the latest version doesn’t seem to make it like that.
The issue was reported in 2024, but there is no actionable solution.
I rolled back Tuist to version 4.22.0, and it worked.
Then, I tested all versions from 4.22.0 onward and finally found that the latest version doesn’t cause the issue is 4.38.2.
Since 4.39.0, Tuist no longer creates TargetAttributes.
So If you encounter this issue, just downgrade Tuist version to earlier than 4.39.0 😎
If you found this post helpful, please give it a round of applause 👏. Explore more Tuist-related content in my other posts.
For additional insights and updates, check out my LinkedIn profile. Thank you for your support!
Troubleshootings
ERROR: Failed to build gem native extension.
upgrade ruby larger than 2.7