8

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?

4
  • 4
    Too late but you should use source control. Commented Jul 19, 2019 at 1:34
  • 1
    Install Xcode 11 and open the project. Lower the project file format number. Now you can open it in Xcode 10. Commented Jul 19, 2019 at 3:59
  • Where do I go to lower the project file format number? Commented Jul 19, 2019 at 15:15
  • In the File inspector when you edit the project. Commented Jul 19, 2019 at 15:48

3 Answers 3

17

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

Sign up to request clarification or add additional context in comments.

6 Comments

I tried that and it didn't work (I'm now in Xcode 10 btw). I click add user setting, put in "LD_VERIFY_BITCODE", and type in NO in the other side. I'm getting the nonzero exit code error.
Never mind, I changed something else with the architectures and it finally uploaded! I've been at this for days so thank you.
Glad you got it going. is sucks to get delayed by this kind of stuff :)
@ben_fm Can you elaborate on what "changed something else with the architectures" means?
I’d like to hear this too. Still running into this in Sep 2020
|
1

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

Comments

0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.