ERROR ITMS-90534: "Invalid Toolchain.
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds." ERROR ITMS-90534: "Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds."
I found this error during upload IPA to account.
If you're looking at this in November 2019, there's an obscure error in Xcode 11.2, which prevents uploading from that version to the App Store. You'll have to upgrade to Xcode 11.2.1, which is currently not available on the Mac App Store yet, but must be downloaded from the Developer Portal here: https://developer.apple.com/download/
The Xcode 11.2 Archive error log even states:
Edit:
Xcode 11.2.1 is now available on the AppStore:
https://apps.apple.com/us/app/xcode/id497799835?mt=12
I was having the same issue with Xcode 8.3 public version. I reinstall the Xcode and check it, but didn't work ...
Finally I found the issue , I have mistakenly selected Xcode 3.2-compatible in project format under project document. I changed it to Xcode 8.0-compatible and build & archived it. I could upload it without any errors. Check the screen shot attached ..
Xcode 11.2 is deprecated by Apple on November 5, 2019
Always working workaround (Manual download)
Download the xip file from here
Also:
Latest Release version (Xcode 11.2.1)
or
Latest Beta version (Xcode 11.3 Beta)
or
Any version you need. And all other downloadable contents
Then extract and move it where you like.
You can find all workaround histry of the issue here.
The same issue occurs with me today (13 July 2017).
As I was using XCode 9 beta 2, till date. Everything was working fine.
The last build which I uploaded was on 9th of July 2017, using XCode 9 beta 2.
After trying a lot of changes, finally the fix was:
Upgrading to the latest beta of XCode, which was XCode 9 beta 3 (released on 10th July 2017).
BOTTOMLINE:
If you are using any beta version of XCode, and if it is outdated. Apple will reject your build from that version causing the error asked by questioner. As long as the version is stable you don't need to worry.
It is recommended to check your current version is latest or not. If not, then download the latest XCode and push a new build achieved using the latest XCode beta
Why I didn't use a stable version of XCode instead?
The stable version at this time is XCode 8.3.3, and the language used is Swift 3.
Though there is minimum code breaking change from Swift 3 to 4, but my latest code base was Swift 4. Plus, you might be having Pods in your project which also has to be downgraded to the latest stable version. Until a stable version of XCode 9 is out. So, I opt to download the latest version of XCode beta
I ran into this issue today with the App Store version of Xcode 9.2.
It's definitely not a beta release, I'm guessing there's some delay between when the software is released and iTunes connect gets updated to expect the new version.
I've tried all the suggestions above, and none worked... but here's what (although pretty sketchy) did for work me:
in organizer, right-click your archive and show in finder
show package contents
find Products/Applications/yourApp.app
show package contents
edit Info.plist
change the value for DTXcodeBuild to a previous version (9.2 is 9C40b, 9.1 is 9C40)
save and try again
This worked for me...
For anyone trying with Xcode 11, check the Xcode version. If it's Version 11.0 (11A419c) you cannot submit a build to the app store with this version. Get Xcode Version 11.0 (11A420a).
Apps built with Xcode 11 GM seed (11A419c) can no longer be uploaded to App Store Connect. You can now submit apps built with Xcode 11 GM seed 2 (11A420a) using the iOS 13 SDK and watchOS 6 SDK to the App Store.
An error message it self says, Use stable (not beta) version of Xcode
to create a build.
Your mac OS should also be stable (not beta)
Use latest stable version of Xcode Tool (Xcode 9) to create your build and upload using Application Uploader.
Ensure following points, while creating your build:
Xcode version (Latest stable version of Xcode Tool - Current Xcode 9)
Mac OS version (Latest stable MacOS version - High Sierra 10.12.7)
Xcode Project (Document) Format version (Xcode 8.0-compatible)
Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit it
Remove b from the end of the value for DTXcodeBuild (for example change from 9C40b to 9C40)
Re-submit and it will work
A new beta or Golden Master version of Xcode is about to be released, just look for it a few hours later.
Follow this to resolve this issue:
Quit Xcode and any Simulators if they are opened.
Go to this link to download Xcode 11.2.1 GM seed under Applications. Its about 7GB: https://developer.apple.com/download/
After downloading, click the Xcode_11.2.1_GM_Seed.xip file to extract the Archive.
After extracting, move the Xcode file from Downloads to the Application folder.
Replace existing Xcode application.
Enter login password when prompted.
Wait for the Moving to complete.
When finished, launch Xcode and checkout About Xcode to confirm the latest version.
Build your App, increment your build number and submit to App Store.
UPDATE: Version 11.2.1 is now available from App Store itself since Nov 13.
Archive you application using the stable Xcode version and upload it using Xcode beta. This solved the problem for me.
Every thing was updated Xcode 8.3.3, OS Serra 10.12.6 but I was still getting the issue. what I did and the issue got resolved is:
Open app store
searched xcode
Open Xcode from app store
it prompted me to install some missing features.
I followed the instructions and completed the wizard
Re-open Xcode and Archived my app and then started uploaded and it went successfully.
Hope it may help someone.
Cheers!
I was finally able to resolve this issue by downloading XCode 8.2.1 from the App Store.
Re-archiving the project and submitting as usual.
For XCode 9.2
Problem mostly in Command Line Tools version.
Best solution:
Reinstall XCode or Command Line Tools
Set Project Format in your project to Xcode 8.3-compatible
Possible solution:
Open XCode.app (Show Package Contents)
Find and open version.plist
Change ProductBuildVersion from 9C40b to 9C40
Set Project Format in your project to Xcode 8.3-compatible
Enjoy!
Apparently it was a deployment problem in Apple Servers. I tried after 3 hours and magically disappeared.
From Xcode -> Go to Organizer -> Under Archives, select the build and right click to Show in finder -> Select the Project and right click to -> Show Package Contents -> Double click on Info.plist and add a row. The key is BuildMachineOSBuild and the Type is String and the Value is 16G29 (Value is based on your Mac OS Version. Please follow the below given link)
https://support.apple.com/en-in/HT201260 .....Check the version number for your Mac OS version and set the value in the Info.plist
For example if your Mac OS version is 10.12.6 then add this to your plist
<key>BuildMachineOSBuild</key>
<string>16G29</string>
You are ready to send your build to iTunes Connect
I received this error having archived our app from the command line using fastlane gym. When I archived the app manually using Xcode I did NOT receive the error.
I guess there's something wrong with the arguments/config I am passing to fastlane gym. If I work out what this is I will report back.
You cannot upload app to App Store through beta Version of Xcode. Make sure you're using stable version to push app to App Store
I just want to add what is says at the bottom of the Using Apple Beta Software page (https://developer.apple.com/support/beta-software/)
IF you are using a BETA version of XCode and try to submit it will fail every time UNLESS you are on a GM_seed (Golden Master release, aka the release before the release to production)
Since I do not have enough "reputation" to comment #Chuck Smith. I created this.
Hope this helps.
Today is 11/8/2019 and I downloaded and submitted my app with success.
Submitting Apps
Apps that are created using beta versions of Xcode or that are built for beta versions of an OS will not be accepted on the App Store. Apps that you submit should be developed using the most up-to-date version of Xcode from the Mac App Store and should be built for publicly available versions of iOS, macOS, watchOS, and tvOS — except when GM seeds are available. When a GM Seed of Xcode becomes available, use it to develop your app for submission. When GM seeds of iOS, macOS, watchOS, or tvOS become available, build your app for these versions.
Here is what I did after going through the internet.
Download the latest Xcode from https://xcodereleases.com/ (You can download without signing in).
You might get an error "Data is corrupted" when you extract above-downloaded file ending with .xip
To solve this unzip it using Archive Utility.app rather than The Unarchiver.app
I was getting same error while i was uploading for apple review using Xcode 11.2.
Fixes steps:
Apple decided to deprecate Xcode 11.2 on November 5th 2019.
Xcode 11.2 has UITextView Building buggy code. So, Apple suggested to use Xcode 11.2.1 GM seed.
You can download from link https://developer.apple.com/download/
Message From Apple:
This update fixes a critical issue that could cause apps using UITextView to crash when run on previous versions of iOS, iPadOS, or tvOS. Please see the release notes
You can build and release app using Xcode 11.2.1 GM seed. Hoping this will help some people.
November 2019 with Xcode 12.1?
2 days ago Apple released a 11.2.1 version which you can download/update from App Store. Fixing this problem as of today is as easy as installing/updating Xcode 12.2.1 from the official App Store.
Checked it on my app and was able to successfully deploy after this update, just make sure to upload the app build with the new Xcode (12.2.1), otherwise you'll see an error Invalid Toolchain. Your app was built with an unsupported version of Xcode or SDK. If you plan to submit....
You should see again the green, positive confirmation :)
Before I am using Xcode 12 beta version and the reason is that only.
I have downloaded the stable version of Xcode 12 and IPA got validated successfully.
You can download latest version from here: https://developer.apple.com/download/
Thank you.
You need to get the archive with the latest stable(not beta) version of Xcode.
Related
ERROR ITMS-90534: "Invalid Toolchain.
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds." ERROR ITMS-90534: "Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds."
I found this error during upload IPA to account.
If you're looking at this in November 2019, there's an obscure error in Xcode 11.2, which prevents uploading from that version to the App Store. You'll have to upgrade to Xcode 11.2.1, which is currently not available on the Mac App Store yet, but must be downloaded from the Developer Portal here: https://developer.apple.com/download/
The Xcode 11.2 Archive error log even states:
Edit:
Xcode 11.2.1 is now available on the AppStore:
https://apps.apple.com/us/app/xcode/id497799835?mt=12
I was having the same issue with Xcode 8.3 public version. I reinstall the Xcode and check it, but didn't work ...
Finally I found the issue , I have mistakenly selected Xcode 3.2-compatible in project format under project document. I changed it to Xcode 8.0-compatible and build & archived it. I could upload it without any errors. Check the screen shot attached ..
Xcode 11.2 is deprecated by Apple on November 5, 2019
Always working workaround (Manual download)
Download the xip file from here
Also:
Latest Release version (Xcode 11.2.1)
or
Latest Beta version (Xcode 11.3 Beta)
or
Any version you need. And all other downloadable contents
Then extract and move it where you like.
You can find all workaround histry of the issue here.
The same issue occurs with me today (13 July 2017).
As I was using XCode 9 beta 2, till date. Everything was working fine.
The last build which I uploaded was on 9th of July 2017, using XCode 9 beta 2.
After trying a lot of changes, finally the fix was:
Upgrading to the latest beta of XCode, which was XCode 9 beta 3 (released on 10th July 2017).
BOTTOMLINE:
If you are using any beta version of XCode, and if it is outdated. Apple will reject your build from that version causing the error asked by questioner. As long as the version is stable you don't need to worry.
It is recommended to check your current version is latest or not. If not, then download the latest XCode and push a new build achieved using the latest XCode beta
Why I didn't use a stable version of XCode instead?
The stable version at this time is XCode 8.3.3, and the language used is Swift 3.
Though there is minimum code breaking change from Swift 3 to 4, but my latest code base was Swift 4. Plus, you might be having Pods in your project which also has to be downgraded to the latest stable version. Until a stable version of XCode 9 is out. So, I opt to download the latest version of XCode beta
I ran into this issue today with the App Store version of Xcode 9.2.
It's definitely not a beta release, I'm guessing there's some delay between when the software is released and iTunes connect gets updated to expect the new version.
I've tried all the suggestions above, and none worked... but here's what (although pretty sketchy) did for work me:
in organizer, right-click your archive and show in finder
show package contents
find Products/Applications/yourApp.app
show package contents
edit Info.plist
change the value for DTXcodeBuild to a previous version (9.2 is 9C40b, 9.1 is 9C40)
save and try again
This worked for me...
For anyone trying with Xcode 11, check the Xcode version. If it's Version 11.0 (11A419c) you cannot submit a build to the app store with this version. Get Xcode Version 11.0 (11A420a).
Apps built with Xcode 11 GM seed (11A419c) can no longer be uploaded to App Store Connect. You can now submit apps built with Xcode 11 GM seed 2 (11A420a) using the iOS 13 SDK and watchOS 6 SDK to the App Store.
An error message it self says, Use stable (not beta) version of Xcode
to create a build.
Your mac OS should also be stable (not beta)
Use latest stable version of Xcode Tool (Xcode 9) to create your build and upload using Application Uploader.
Ensure following points, while creating your build:
Xcode version (Latest stable version of Xcode Tool - Current Xcode 9)
Mac OS version (Latest stable MacOS version - High Sierra 10.12.7)
Xcode Project (Document) Format version (Xcode 8.0-compatible)
Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit it
Remove b from the end of the value for DTXcodeBuild (for example change from 9C40b to 9C40)
Re-submit and it will work
A new beta or Golden Master version of Xcode is about to be released, just look for it a few hours later.
Follow this to resolve this issue:
Quit Xcode and any Simulators if they are opened.
Go to this link to download Xcode 11.2.1 GM seed under Applications. Its about 7GB: https://developer.apple.com/download/
After downloading, click the Xcode_11.2.1_GM_Seed.xip file to extract the Archive.
After extracting, move the Xcode file from Downloads to the Application folder.
Replace existing Xcode application.
Enter login password when prompted.
Wait for the Moving to complete.
When finished, launch Xcode and checkout About Xcode to confirm the latest version.
Build your App, increment your build number and submit to App Store.
UPDATE: Version 11.2.1 is now available from App Store itself since Nov 13.
Archive you application using the stable Xcode version and upload it using Xcode beta. This solved the problem for me.
Every thing was updated Xcode 8.3.3, OS Serra 10.12.6 but I was still getting the issue. what I did and the issue got resolved is:
Open app store
searched xcode
Open Xcode from app store
it prompted me to install some missing features.
I followed the instructions and completed the wizard
Re-open Xcode and Archived my app and then started uploaded and it went successfully.
Hope it may help someone.
Cheers!
I was finally able to resolve this issue by downloading XCode 8.2.1 from the App Store.
Re-archiving the project and submitting as usual.
For XCode 9.2
Problem mostly in Command Line Tools version.
Best solution:
Reinstall XCode or Command Line Tools
Set Project Format in your project to Xcode 8.3-compatible
Possible solution:
Open XCode.app (Show Package Contents)
Find and open version.plist
Change ProductBuildVersion from 9C40b to 9C40
Set Project Format in your project to Xcode 8.3-compatible
Enjoy!
Apparently it was a deployment problem in Apple Servers. I tried after 3 hours and magically disappeared.
From Xcode -> Go to Organizer -> Under Archives, select the build and right click to Show in finder -> Select the Project and right click to -> Show Package Contents -> Double click on Info.plist and add a row. The key is BuildMachineOSBuild and the Type is String and the Value is 16G29 (Value is based on your Mac OS Version. Please follow the below given link)
https://support.apple.com/en-in/HT201260 .....Check the version number for your Mac OS version and set the value in the Info.plist
For example if your Mac OS version is 10.12.6 then add this to your plist
<key>BuildMachineOSBuild</key>
<string>16G29</string>
You are ready to send your build to iTunes Connect
I received this error having archived our app from the command line using fastlane gym. When I archived the app manually using Xcode I did NOT receive the error.
I guess there's something wrong with the arguments/config I am passing to fastlane gym. If I work out what this is I will report back.
You cannot upload app to App Store through beta Version of Xcode. Make sure you're using stable version to push app to App Store
I just want to add what is says at the bottom of the Using Apple Beta Software page (https://developer.apple.com/support/beta-software/)
IF you are using a BETA version of XCode and try to submit it will fail every time UNLESS you are on a GM_seed (Golden Master release, aka the release before the release to production)
Since I do not have enough "reputation" to comment #Chuck Smith. I created this.
Hope this helps.
Today is 11/8/2019 and I downloaded and submitted my app with success.
Submitting Apps
Apps that are created using beta versions of Xcode or that are built for beta versions of an OS will not be accepted on the App Store. Apps that you submit should be developed using the most up-to-date version of Xcode from the Mac App Store and should be built for publicly available versions of iOS, macOS, watchOS, and tvOS — except when GM seeds are available. When a GM Seed of Xcode becomes available, use it to develop your app for submission. When GM seeds of iOS, macOS, watchOS, or tvOS become available, build your app for these versions.
Here is what I did after going through the internet.
Download the latest Xcode from https://xcodereleases.com/ (You can download without signing in).
You might get an error "Data is corrupted" when you extract above-downloaded file ending with .xip
To solve this unzip it using Archive Utility.app rather than The Unarchiver.app
I was getting same error while i was uploading for apple review using Xcode 11.2.
Fixes steps:
Apple decided to deprecate Xcode 11.2 on November 5th 2019.
Xcode 11.2 has UITextView Building buggy code. So, Apple suggested to use Xcode 11.2.1 GM seed.
You can download from link https://developer.apple.com/download/
Message From Apple:
This update fixes a critical issue that could cause apps using UITextView to crash when run on previous versions of iOS, iPadOS, or tvOS. Please see the release notes
You can build and release app using Xcode 11.2.1 GM seed. Hoping this will help some people.
November 2019 with Xcode 12.1?
2 days ago Apple released a 11.2.1 version which you can download/update from App Store. Fixing this problem as of today is as easy as installing/updating Xcode 12.2.1 from the official App Store.
Checked it on my app and was able to successfully deploy after this update, just make sure to upload the app build with the new Xcode (12.2.1), otherwise you'll see an error Invalid Toolchain. Your app was built with an unsupported version of Xcode or SDK. If you plan to submit....
You should see again the green, positive confirmation :)
Before I am using Xcode 12 beta version and the reason is that only.
I have downloaded the stable version of Xcode 12 and IPA got validated successfully.
You can download latest version from here: https://developer.apple.com/download/
Thank you.
You need to get the archive with the latest stable(not beta) version of Xcode.
This question already has answers here:
Xcode 9.2 Upload to App Store fails with description length and invalid toolchain errors
(8 answers)
Closed 5 years ago.
As soon as I updated xcode to 9.2 , I cannot validate my archived builds. I get this error message every time:
Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds.
Is this something wrong with Apple's new relase of xcode? Otherwise, I didn't change anything that would make this project using "Beta software".
I have faced this too. Apple has just released the Xcode 9.2 update and might not have updated iTunes connect to accept builds from it yet. It might be resolved soon in a couple of hours or days.
Download Xcode 9.1 from https://developer.apple.com/download/more/
After extracting the .xip, rename it as Xcode-9.1.app (or whatever you want), then drag it into your Applications folder. Xcode.app and Xcode-9.1.app can co-exist in the same folder, and can both run at the same time if you want.
Build your app with Xcode 9.1 and continue to do regular development with Xcode 9.2. At some point, iTunesConnect will start accepting builds made with Xcode 9.2, at which time you can delete Xcode-9.1.app.
Edit: Seems like Apple resolved the issue! I just uploaded a build with 9.2.
I'm having the same issue. Changing the toolchain setting did not help.
Downloading Xcode 9.1 now but I'm not happy with that solution. Not sure how differently the app would be behave after testing it with 9.2.
From Xcode -> Go to Organizer -> Under Archives, select the build and right click to Show in finder -> Select the Project and right click to -> Show Package Contents -> Double click on Info.plist and add a row. The key is BuildMachineOSBuild and the Type is String and the Value is 16G29 (Value is based on your Mac OS Version. Please follow the below given link)
https://support.apple.com/en-in/HT201260 .....Check the version number for your Mac OS version and set the value in the Info.plist
For example if your Mac OS version is 10.12.6 then add this to your plist
<key>BuildMachineOSBuild</key>
<string>16G29</string>
You are ready to send your build to iTunes Connect
I've just installed iOS 11.2 Beta and downloaded the latest Xcode (which is 9.1 - beta 2. 9B46).
But when I try to run the app on the device it says it doesn't have the necessary support files.
So how am I supposed to develop with 11.2 beta if there's no corresponding Xcode yet?
Well you have several options for now:
Develop using the simulators while waiting for the Xcode beta to show up
Revert back to a non-beta version of iOS (back up your phone!) and use previous versions of Xcode
My guess is the newest Xcode beta will show up either tomorrow or Wednesday so you won’t have to wait too long. I’m in the same boat.
As a temporal solution, you could download Xcode beta 9.2b2 and use device support from that Xcode.
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.2\ \(15C5097c\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.2\ \(15C5097c\)
after that restart Xcode and replug device
There is a discussion in regards to this on the Apple Developer Forums. As soon as it is resolved I'm sure this post will be updated.
https://forums.developer.apple.com/thread/90859
Currently the only option is to use simulators or revert your iPhone.
Xcode 9.2 is now available for download via App Store or directly at: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip (may require login)
Xcode 9.1 and Xcode 9.2 beta are now available for download at https://developer.apple.com/download/
You need to download the latest version of Xcode-beta.app and use a bash shell script https://gist.github.com/hintoz/e8d60a04890bd864b5a39574c0ee0729
to avoid creating links manually
When attempting to run a build on a connected iOS device in Xcode I get the error:
Could not find Developer Disk Image
I saw that there was a public beta for Xcode, so I installed it.
One of the new features is that you don't need to have a Developer Program Account Dingus to upload your app directly to your iPhone.
However, on my iPhone 4s, I also did a public beta update to iOS 8.4, problem being, that there's no Developer Disk Image available for it.
Where do I to find it or how can it be fixed?
For people who would have similar problems in the future, beware that this problem is fundamentally rooted in the mismatch of your iOS version and Xcode version.
Check the compatibility of iOS and Xcode.
I personally downloaded Xcode 6.4 beta and 7.0 beta and I was very happy to find the solution by searching "8.4" inside the application folder of the 6.4 beta. By doing this, I found the folder 8.4 (12H4125a) containing the iOS 8.4 image and I copied this folder to the same path of the 7.0 beta. The path is the following:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
When you will reopen Xcode 7 and choose your device, there will be an error message; just click on fix issue and that should do it!
This error occurs when the version of Xcode predates that of the device.
For example, attempting to run a build on a device running iOS 9.3 in Xcode 7.2 results in this error; Could not find Developer Disk Image.
Why an error message that actually describes what the hell is going on can't be provided is beyond me (Apple, I'm looking at you 👀).
Update to the latest version of Xcode through the App Store or via direct download to guarantee interoperability with connected iOS hardware.
I am facing the same issue on Xcode 7.3 or Older version of your Xcode and my device version is iOS 10 or newer version of your OS.
This error is shown when your Xcode is old and the related device you are using is updated to latest version.
We can solve this issue by following the below steps:
Method 1:-
Right click on Xcode 7.3 or version of your Xcode, now select "Show Package Contents", "Contents", "Developer",
"Platforms","iPhoneOS.Platform", "Device Support".
Now check there is latest version of developer disk image(folder) like 12.1 or newest version(folder) in your case. Copy the latest
version and Paste in the same Folder Device Support.
In my case I have 12.1 is the latest folder. Now it will generate the copy of that version like 12.1 copy or newest version(folder)copy
in your case.
Now Change the name of copy folder to your latest version of iPhone like. In mine case, I have 12.1(Folder)copy and rename it into 12.4. As you can see in the above screenshot. You can change it according to your latest version of phone. I need it for 12.4 so i just rename the folder to 12.4.
Now your Xcode has a new developer disk image. Close the finder now,
and quit your Xcode. Open your Xcode and the error will be gone. Now
you can connect your latest device to old Xcode versions.
**OR**
Method 2:-
First of all, download the latest Xcode Version. No Need to install the latest Xcode.
We can solve this issue by following the below steps:
Right click on Xcode 8 or Newer version of your Xcode, select "Show Package Contents", "Contents", "Developer",
"Platforms", "iPhoneOS.Platform", "Device Support"
Copy the 10.0 folder (or above for later version).
Back in Finder select Applications again
Right click on Xcode 7.3 or version of your Xcode, now select "Show Package Contents", "Contents", "Developer", "Platforms",
"iPhoneOS.Platform", "Device Support"
Paste the 10.0 folder (or above for later version).
Now your Xcode has a new developer disk image. Close the finder now, and quit your Xcode. Open your Xcode and the error will be gone. Now you can connect your latest device to old Xcode versions.
OR
If you can't download the latest Xcode, you can get the latest
Developer Disk Image for your Xcode from this link:-
https://github.com/Yatko/iOS-device-support-files
Thanks to Yatko. So that people can download the latest DMGs.
If you're using old Xcode and want to run onto devices with new version of iOS, then do this trick. This basically make a symbolic link from iOS Device Support in new Xcode to old Xcode
https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d
For Xcode 9.0 beta and iOS 11.0 beta (name your Xcode9.app for Xcode 9 beta and Xcode.app for Xcode 8)
sudo ln -s "/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\)" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
My problem was with Xcode 7 and Xcode 6.4 beta and iOS 8.4 - device not compatible.
In case of the same problem for better understanding how to fix, do next:
Go to /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Go to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Copy folder iOS 8.4 in another folder
Restart Xcode
If you have iOS 9.1 on your phone, just download Xcode 7.1 beta instead of using GM.
See Apple's response: Could not find developer disk image for iOS 9.1
I got the same error message (Couldn't find developer disk image) after I updated my devices to iOS 9.2, but forgot to update to Xcode 7.2.
So in my case, the fix was easy: just update to Xcode 7.2 via Mac App Store.
This message appears when your version of Xcode is too old for the device's version of iOS. Upgrade Xcode to the latest.
If the App Store doesn't offer an update for Xcode, upgrade to the latest Mac OS. In the past, Apple has been rather aggressive about dropping support for past versions of Mac OS X in the latest Xcode.
EDIT: yes, this error started popping up all over again. :) Xcode 7.3.1, which is the latest one that's available for MacOS 10.11 (El Capitan), doesn't support iOS 10. You need MacOS Sierra (and possibly a new Mac).
I just got this, and I'm on Xcode 7.2.1... It appeared when I downloaded iOS 9.3. Check your Project -> Base SDK and if it isn't the same or ahead of your device version, then that's the issue. I didn't see anything in the "Updates" section, but when I searched "Xcode" in the App Store it had an update for 7.3.
Upgrading to iOS 9.3 and Xcode 7.3 requires Mac OS X v10.11 (El Capitan) for Xcode to run, and that's why auto update isn't upgrading Xcode versions.
This problem is a mismatch of your iOS version and Xcode version.
Example:
You have an iPhone with iOS 9.3 GM and your Xcode version is 7.2.1. This leads to the issue that you have to update your Xcode to 7.3 which includes SDKs and related stuff for iOS 9.3.
There actually is a way to deploy to a device running a newer iOS that the particular version of Xcode might not actually support. What you need to do is copy over the folder that contains the Developer Disk Image from the newer version of Xcode.
For example, you can deploy to a device running iOS 9.3 using Xcode 7.2.1 (which only supports up to iOS 9.2) using this method. Go to the Xcode 7.3 install and navigate to:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
From here, copy over the folder that contains the version you are trying to run on the older version of Xcode (for this example, it's 9.3 with the build number in parenthesis). Copy this folder over to the other install of Xcode, and now you should be able to deploy to a device running that particular version of iOS.
This will fail, however, if you're utilizing API calls that were specifically added to the newer version of the SDK. In that case, you will be forced to update Xcode.
I have experienced the same issue:
Could not find Developer Disk Image
My Xcode version was 7.0.1, and I updated my iPhone's version to 9.2, and upon using Xcode I ran into this problem.
The solution is pretty simple: Just download the latest version of Xcode 7.2 which was released on 8 Dec, 2015 and install it. Everything works fine for you as it was before.
Note: The actual problem is your Xcode version is not compatible/outdated with the version on your device.
This error is shown when your Xcode installation is too old and the related device you are using is updated to latest version.
There are multiple ways to solve this issues.
1. Update your Xcode installation.
This is by far the simplest method. Just update your Xcode installation to the latest stable version and things would start working again.
Note: Please update your OS as well if Xcode doesn't support your current OS. Which brings us to...
2. Manually copying Device Disk Image. No update needed.
This is the clever way around. You don't have to update your Xcode installation or your OS for this.
First open the XCode.dmg and select Show Package Contents.
Phase 1: Getting the downloaded Xcode ready.
Steps:
Download the latest Xcode.dmg from Developer portal.
Select the downloaded Xcode.dmg and right click on it.
In the options, select Open With → DiskImageMounter.
Now in Finder, open the Xcode disk.
In the disk, right click on Xcode.
Select Show Package Contents.
Now, a new finder window opens. Follow the instructions below to copy the disk image.
Phase 2: Copying the Developer Disk Image.
Steps:
In the new finder, go to Contents.
Inside Contents, Go to Developer.
Inside Developer, go to Platform.
Now select the desired platform. For our purpose, we are going to update iOS disk image only.
Inside Platform, go to Device Support.
Inside Device Support, you'll find a lot of disk images. This includes the latest device disk images as well.
Copy all the folders inside Device Support. Select all and then copy.
Note: For step 6, You can copy the disk image you want to copy as well, i.e. copy the latest only. It's the last folder in the hierarchy here.
This ends the Phase 2, Copying the disk image. Now in the next phase, we will update the developer disk image of our Xcode installed on our device.
Phase 3: Upadting the Xcode's developer disk image.
Now, close all the finder windows for faster operation and less confusion.
We are now going to update our Xcode's disk image for iOS Platform.
Steps:
Close the Xcode application if it is open.
Open a new finder window.
Select the primary partition if you have multiple partitions.
Go to Applications.
Find XCode and right click on it.
Select Show Package Contents.
Finder window updates or opens a new window with Contents as the main directory.
Select Contents.
Inside Contents, select Developer.
Now, select Platforms.
Now, select iPhoneOS.platform.
Inside iPhoneOS.platform, go to Device Support.
Inside Device Support, select all the files and Move to Trash.
Note: SKIP step 12 if you copied only the latest disk image i.e. the last folder in the hierarchy.
Now, Paste the developer disk image we copied from Phase 2 here.
Final Step, right click and Paste here.
If everything worked properly, your Xcode has new developer disk image. Close the finder now, and open Xcode. The error should be gone by now.
Reminder: Don't forget to unmount the Xcode now from finder as well.
It works, in my case for Xcode from 7.3 TO 7.1. Copy directory 9.2, for iOS device OS 9.2.1.
As others suggested, this issue is caused by an incompatible iOS version (which is higher than the maximum version that Xcode supports). Normally it can be addressed by updating Xcode, but sometimes you may be restricted to do so, hence here's another workaround.
Head to developer.apple.com/downloads (or google similar stuff if this link dies) to grab the newest Xcode dmg image manually, and then mount it. If you're doing this already, the new Xcode is not likely working for you, but you can cp /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/NEW_IOS_VERSION /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ to copy the image you want into the old Xcode you've installed.
Of course it's not guaranteed to work for future versions, but it's definitely worth trying. For me, my iOS version is 9.3.1 (13E238), but I copied 9.3 (13E230), and it works just fine.
This happens when your Xcode version doesn't have a necessary component to build the application to your target OS. You should update your Xcode.
If you are building a new application for a beta OS version that no stable Xcode version is able to build, you should download the newest Xcode beta version.
I also had this problem. I was using Xcode 7.3 for my iOS 10 beta iPhone, so I went to install Xcode 8-beta, and I did the following step to continue using the stable version of Xcode with new build tool:
Just like #onmyway133 answer, but more user-friendly is after finish installing the Xcode 8-beta version, go to Xcode 7.3 preferences (Cmd + ,), go to the tab locations, change the Command Line Tools to Xcode 8 in the dropdown list.
I successfully built to both iOS simulator 9.3 and my device iOS 10 beta using Xcode 7.3.
This problem is fundamentally rooted in the mismatch of your iOS version and Xcode version.
Check the compatibility of iOS and Xcode.
Go To Application folder (In finder) -> right click on Xcode -> click on show package contents -> Double click contents folder -> Double click developers folder -> Double click platforms folder -> Double click iPhoneOS.platform folder -> Double click device support folder -> then add latest developer disk image.
Or
Download Latest version of Xcode.
For iOS 10 beta 7, add the following link on the command line:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5339a\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
I have also faced this issue, and I'm on Xcode 7.2.
It appeared when I downloaded iOS 9.3.
Check your Project -> Base SDK and if it isn't the same or ahead of your device version, then that's the issue.
I didn't see anything in the "Updates" section, but when I searched "Xcode" in the App Store it had an update for 7.3. Upgrading to iOS 9.3 and Xcode 7.3 requires Mac OS X v10.11 (El Capitan) for Xcode to run, and that's why auto update isn't upgrading Xcode versions.
Just my two cents for iOS 10 (under NDA, but for people that can use it legally...)
Copying full folder (as other people said) works
Symbolic link seems not.
This was tested using Xcode 7.3 (std from Store) AND iPhone 6Plus with 10.0 (14A5261v).
by the way it DOES work even in Xcode Version 8.3.1 (8E1000a) adding an image for iOS 11 beta. I added 11.0 (15A5278f) inside
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
and works with my iPhone 7plus with new iOS 11 beta.
New Updates for iOS Device Support file. Don't need to update Xcode.
You just need to add support file to Xcode's DeviceSupport folder.
iOS 11.3 Developer Disk Image
iOS 11.4 Developer Disk Image
iOS 12.0 Developer Disk Image
iOS 12.1 Developer Disk Image
iOS 12.2 Developer Disk Image
iOS 12.3 Developer Disk Image
iOS 12.3.1 Developer Disk Image
iOS 13.0 Developer Disk Image
Extract the zip and then copy folder.
Paste this folder in this path
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Quit the Xcode and restart, it will work.
You can add any iOS version to support with iOS DiskImage to you Xcode from Xcode-iOS-Developer-Disk-Image repository
Download which version you need from specified repository
Quit Xcode
Open Applications folder
Right click you Xcode.app and choose Show Package Contents menu
Go to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Create folder with name specified in repository and put DeveloperDiskImage.dmg and DeveloperDiskImage.dmg.signature files
Run Xcode
Disk image must be in folder like this:
In case you came here because you experience this issue while using Xamarin Hot Restart from within Visual Studio on Windows, it could look like this:
Launching '' on 'iPhone'...
Connecting iOS Debugger to '' over USB on port 10000...
There is no developer image available to mount on '' with version '15.3', so the app '' will not be launched automatically
Please launch the application '' on the device '' to continue
If this is the case you might have updated your iPhone to a new version and forgot to also update your iTunes installation that you got from the Windows Store.
I built and uploaded my app to itunes connect using the release version of Xcode 6.3 last night but it was rejected as "invalid binary". The email from App Review said I was using an invalid or beta version of Swift.
I would really appreciate any help or ideas about how to work around this problem.
I originally created the app in a release version of Xcode (6.1 I think) but then worked on it in the beta versions of 6.3 over the last month or so. Could this be causing the "invalid binary" rejection, even though I built and uploaded the archive in the release version of 6.3? If so, what can I do about it?
I have tried deleting derived data, revoking my certificates, and editing each of the app's source code files in the release version of 6.3 to see if that would help (it didn't).
You are likely using an old version of swift. Inside Xcode there should be a menu option to "upgrade to latest version of swift"
This error can also occur if you are using a beta version of swift that is ahead of the app store.
If you are using a beta version of Xcode, open your project in the latest release version and try to build again. - You cannot submit apps compiled in beta to the app store.
If you are using old swift - try to figure out which menu option lets you upgrade.
Ah its this:
"click the Edit menu, then choose Convert > To Swift 1.2."