14

I installed Xcode beta 11 and kept the 10.2 version, I submit my apps for review but I get invalid binary even though I did build with Xcode 10.2. I even uninstalled Xcode 11 beta and the same thing. I have no idea what to do next

ITMS-90111: Invalid Toolchain - Your app was built with a beta version of Xcode or SDK. Apps submitted to the App Store must be built with the GM version of Xcode 9 and the SDK for iOS 11, tvOS 11, watchOS 4, or macOS 10.13 or later.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Marchal
  • 286
  • 2
  • 16
  • But this kind of thing _always_ happens when there's a new version (e.g. see https://stackoverflow.com/questions/55361717/after-updating-to-xcode-10-2-invalid-toolchain-error-when-trying-to-submit-app?noredirect=1&lq=1) so this is really a duplicate. – matt Jun 09 '19 at 22:40
  • @matt I did try that and nothing of the suggested answers helped – Marchal Jun 09 '19 at 23:23
  • But a lot of the answer are, for example, "wait until this gets ironed out at the App Store end". You haven't done that. :) – matt Jun 10 '19 at 00:09
  • Still, installing and launching Xcode 11 made a bunch of changes under the hood, and merely deleting the app doesn't undo them. You might have to remove and reinstall 10.2 or something. There are _lots_ of duplicates with _lots_ of tricks suggested. The point is, your question adds nothing new. – matt Jun 10 '19 at 00:11
  • I see even though I waited few days btw, I will mark this as duplicate thanks – Marchal Jun 10 '19 at 00:17
  • Possible duplicate of [Could not submit app to iTunesConnect review](https://stackoverflow.com/questions/31826088/could-not-submit-app-to-itunesconnect-review) – Marchal Jun 10 '19 at 00:42
  • I also have MacOS beta and Xcode 11 beta.... We like to live dangerously... – eharo2 Jun 25 '19 at 22:53

3 Answers3

26

Upload App With OS Beta

Don't use Xcode beta

Archive the app; before start upload go

Window -> Organizer

Right click in your app

Show in finder

Will open the folder and you go right click in your app and select

New Terminal Tab at folder

Now you will find the pList to change info

cd Products/Applications/“AppCompany”.app/

Finally will change your BuildMachineOSBuild

open Info.plist

Find the BuildMachineOSBuild and change to build Mojave ( January 22, 2019 )

18D42

Thiago Valente
  • 673
  • 8
  • 25
4

The answer to this question was provided by Warren (aka dodgio) on the Apple Developer Forums:

This appears to be the app store thinking that the new OS X version 10.11.6 (15G1004) with security patch is a beta version of OS X.

I was able to submit without warnings or errors by digging into the .xcarchive and modifying the info.plist of the app.

Change the key

<key>BuildMachineOSBuild</key>

     <string>15G1004</string>

to the value for the original 10.11.6

<key>BuildMachineOSBuild</key>

    <string>15G31</string>

Then export the IPA or submit to the app store as usual.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Cris Uy
  • 97
  • 1
  • 7
1

App needs to be compiled with release version of Xcode, wait for GM(Golden Master) version.

phnmnn
  • 12,813
  • 11
  • 47
  • 64