Joseph
Joseph

Reputation: 9351

Invalid Toolchain message even though app not submitted with beta software

I am trying to submit a project to the app store. I accidently opened it in the latest Xcode Beta - but did not save or change anything.

I submitted the app with Xcode 7.3.1 and when I attempt to submit the app for review I get the message: "New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK. Don't submit apps built with beta software including beta macOS builds."

If I check the Info.plist of the archive it also mentions me using the public version of Xcode

<key>DefaultToolchainInfo</key>
<dict>
    <key>DisplayName</key>
    <string>Xcode 7.3.1 Default</string>
    <key>Identifier</key>
    <string>com.apple.dt.toolchain.XcodeDefault</string>
</dict>

The Xcode beta version was not open when submitting and I also tried restarting and then resubmitting. Btw I am running El Cap 10.11.6

What can I do to fix this?

Thanks

Upvotes: 10

Views: 2522

Answers (7)

Liam Maier
Liam Maier

Reputation: 171

Check out the Xcode Release Notes and see if your version of Xcode has: "Support for app archives depreciated", like mine did.

Upvotes: 0

Luke Li
Luke Li

Reputation: 21

I got same issue and the issue just got fixed - I have submitted my app for review successfully 5 minutes ago!

It was because iTunes team did not synchronise with latest macOS version security update yet and they finished synchronisation just now!

Please go ahead and try re-submitting your app!

Upvotes: 2

Ben Guild
Ben Guild

Reputation: 5146

I just spent like 2-3 hours downloading the base El Capitan (10.11.6) from the App Store and setting up VMware Fusion to build our project in... including manually regenerating and switching all of the certificates and provisioning profiles twice (to there and back to the host machine).

I can conclude that this does solve the issue because the App Store El Capitan installer does not (yet) include the Security Update, which bumps the macOS build number to one that is NOT whitelisted on iTunes Connect, as some have suggested.

Super frustrating, but at least a solution is available for now. 😖

Upvotes: 1

Josep
Josep

Reputation: 11

I have uploaded my iOS binary installing El Capitan on a virtual machine, disabling system updates, installing Xcode, importing my developer profile, and building my App there.

Upvotes: 1

k k
k k

Reputation: 1331

Fairly certain it's the Security Update.

I tried the known hack of altering the OS build to 15G31 in SystemVersion.plist, but this no longer seems to work. Reinstalling Xcode 7.3.1 was also a waste of time.

Luckily I had a machine that I had not yet done Security Update 2016-001 on. Moved the code over there, archived and uploaded, and this went fine.

Upvotes: 2

gklka
gklka

Reputation: 2574

Did you install yesterday's Security Update? I have a theory, that this update altered the internal version number from 10.11.6 (15G31) to 10.11.6 (15G1004), and they have not added this version number to the list of allowed stable OS builds on iTunes Connect.

Upvotes: 2

Stephen Orr
Stephen Orr

Reputation: 301

I am seeing this also, there was a recent security update to El Cap that might be related, or Apple is in the process of making changes for iOS10 Xcode 8 and have messed up something.

If you need to submit, I would go ahead and submit and if you get a rejection, explain it to Apple then.

Upvotes: 1

Related Questions