How to open a Xcode 11 Beta 4 project in Xcode 10?

30.6k views Asked by At

I worked on a project in Xcode 11 Beta 4 and then downgraded to Xcode 10 and can't open the project.

I want to submit my app to the app store, but I kept getting error messages in Xcode 11 beta 4. I'm a beginner and I know I tampered with the build settings trying to make it work. I deleted Xcode 11 and downloaded Xcode 10 to try and archive through that, but now I can't even open the project with Xcode 10.

I started the project on Xcode 9, I believe. I tried archiving, but there was an "SDK Version Issue", something with the old iOS. So I updated my Mac's operating system, and replaced Xcode 9 with Xcode 11 beta. That came with many more errors trying to archive, and I changed architectures and proxies and all that. So I deleted Xcode 11 and tried Xcode 10 but I can't open the project.

It says:

"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."

How do I solve the problem?

3

There are 3 answers

6
edhnb On BEST ANSWER

You are probably getting a ton of Swift errors. The release notes for beta 4 acknowledge this is an issue.

The official workaround is to a custom build setting with the name LD_VERIFY_BITCODE, and set it to NO.

Just remember to remove when issue is resolved!

enter image description here

0
Anand Kore On

If problem still persists for XCode 11 beta 4, then try setting "Library Search Paths" to :

$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)

Credit: https://stackoverflow.com/a/57126566/5576675

0
leonardosccd On

I update Xcode to 14.1, and fix this Hundreds of compile errors. You can try to update newest xcode.