Related
I have this error for the new iPhone X:
Could not locate device support files.
This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode.
I'm running the latest version of Xcode (Beta 9.2 9C32c) which doesn't support the iPhone X (iOS 11.1). The problem is it's a brand new iPhone, and there are no older Configuration Files to do the switch talked in most of the solved posts.
Are there any other solution to this issue since downloading the latest version of Xcode is already what I'm running, and finding the Configuration Files to do the switch seems unlikely right now? Does anyone have those Configuration Files or know how to edit them to trick Xcode?
Answer: Xcode: Could not locate device support files
Well, I found non of the answers logged out here aren't complete and sustainable. So here we go.
Most importantly don't waste your time and internet bandwidth downloading Xcode just to resolve this issue which you can do within few MBs and little bit of OS know-how!!!
Step 1:
Following GitHub Repository seems to be up to date with all the required Support Files which are helpful to resolve. And it seems like this repository gets updated quicker as possible. Check out it for yourself and you are halfway done.
https://github.com/filsv/iPhoneOSDeviceSupport
Step 2:
Select and download the Support files which are missing for your Xcode, which you can get the clue out of the above alert message. In my case I was informed to download 11.4 (15FCA...something). So I went and downloaded the latest iOS Support files:
Which were under the path of iPhoneOSDeviceSupport/11.4 (15F5061c)/
DeveloperDiskImage.dmg
DeveloperDiskImage.dmg.signature
Step 3:
And then place them inside the DeviceSupport folder which is in a related path to your Xcode installation. In my case, I've installed Xcode 9.2 so my path to DeviceSupport looks like as follows:
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Step 4
Place the two files you downloaded in a folder named 11.4 (15F5061c).
Clue: In your case make sure to name it after the specific iOS version you downloaded the files.
Step 5:
Quit Xcode app if you had been already using it previously. Re-open it and try to run your app on your iPhone (or in iDevice of your previous attempt). Xcode will first warn you saying something like following:
Preparing debugger support for Randika's iPhone 6s
Soon after it's completed (probably after several attempts that you may have to try reconnecting your iPhone to Xcode), you would be able to successfully run your app on your preferred device.
How could you find this path?
Go to your Applications folder, locate Xcode-x.x.app file, right click on the Xcode app and select "Show package contents" as follows:
And then navigate to the DeviceSupport folder within the Finder App as follows:
Hope this would be helpful to any of you!
Cheers!
I had the same issue with my iPhone 8, Xcode Beta 9.2 did not support my version of iOS 11.1.
However Xcode 9.1 does support my version of iOS 11.1
This error can be fixed with 2 ways.
1.You need to keep updated with latest Xcode versions.
2.You can fix it without updating to latest Xcode, in this you just need to update device support file,
To update device support file just follow the steps,
You can find the Device support file and update it with the below path details,
Path-
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
You can download device support file from this links
11.1
11.2
All iPhoneOSDeviceSupport
You can download all iOS-DeviceSupport
iOS 13.0
13.3 (17C54)
13.2 (11C29) (From Xcode11.3)
13.2 (11B500) (From xCode11.2.1)
13.2 (From xCode_11.2.1_GM_Seed)
13.2 (From xCode_11.2_Beta_1)
13.1 (From xCode_13.1)
13.0 (From xCode_11_Beta_7)
13.0 (From xCode_11_Beta)
iOS 12.3
12.3 (From xCode 11 beta)
iOS 12.2
12.2 (16E226). (From Xcode_10.2.1)
12.2 (16E5212e). (From Xcode_10.2)
12.2 (16E5181e). (From Xcode_10.2_Beta)
iOS 12.1
12.1 (From Xcode_10.1)
12.1 (16B91). (From Xcode_10.1)
12.1 (16B5084a). (From Xcode_10.1_Beta_3)
12.1 (16B5068g). (From Xcode_10.1_Beta_2)
12.1 (16B5059d). (From Xcode_10.1_Beta)
How to add a file in xCode
Open Finder
Open the application folder
Find the Xcode app inside
Click on Xcode, right click -> show package contents
Find the supported real machine test files in the following directory hierarchy:
Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport)
The above directory is the real version of iOS that Xcode supports real machine debugging, as shown below:
Then copy the latest DeviceSupport file to this directory through other channels and restart XCode to debug with the latest iOS device.
I'm uncomfortable downloading shards from 3rd parties; also, it sounds like the iOS 13.2 support file linked above is based on a beta, which now crashes.
I would recommend downloading Xcode directly from Apple, and install the new version side-by-side with the version of Xcode which you need to use (if you're pinned by a Swift binary framework, for example).
rename your current Xcode application bundle (Xcode --> Xcode_11)
download latest Xcode from AppStore (Xcode 11.2)
launch new Xcode, installing Command Line Tools, then exit
launch your older Xcode (Xcode_11), and build and run on device
In my case, device support files were already present but I was still facing the issue. The reason was that folder present at this path
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
was having name 12.1 (16B91) but the xcode was giving error for 12.1 (16C101) so renaming the folder to 12.1 (16C101) did the trick
I was able to run it, by first using BuddyBuild.com to send me a tester app through email, that I downloaded successfully. After that, I was able to build the app.
Open Xcode show package content
go to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and drop the 13.0 folder into this folder and restart the Xcode.
Download the file here:
https://bitbucket.org/bneves/ios13_devicesupport_xcode_10.3/
Before I start writing about the error, I'm running on macOS Sierra and using Xcode 7.3.1.
So I'm creating an Archive from my App, I validate the App and it passes validation, but when uploading to App Store, I get the error "ERROR ITMS - 90167 No. app bundles found in the package".
I've checked all my documentation and I have everything.
I have all my provisioning profiles.
I have Release as "iOS Distribution".
This error just started appearing after I installed macOS Sierra.
Anyone has an idea of why I'm getting this error?
After chatting with folks at WWDC in both the Xcode lab and the App Store lab, they were able to dig up information that this is a known issue in the current Sierra seed that is fixed in the next release. You can either revert, or wait. Not the most satisfying answer, I admit.
Problem:
Issue with the current macOS Sierra build.
Workaround
Build with Xcode 7.3.1 then upload using Xcode 8 [Beta]. (Thanks to #JollyRoger)
Currently, this workaround ONLY works for TestFlight and NOT for App Store submissions.
No need for fix [UPDATE]
So it seems that this bug has lasted for the whole beta period and it might not be worth for Apple to fix it anymore as the final version of iOS 10.0 is releasing in a few days and the final macOS Sierra is releasing a few days after that.
If you are still getting this issue with the final build of macOS Sierra, make sure you are using Xcode 8.x and not anything earlier than that.
Possible errors:
ERROR ITMS-90635
ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle
"....framework" isn’t consistent with the Mach-O in the main bundle.
The main bundle Mach-O contains armv7(machine code) and arm64(machine
code), while the nested bundle Mach-O contains armv7(bitcode) and
arm64(bitcode). Verify that all of the targets for a platform have a
consistent value for the ENABLE_BITCODE build setting."
Fix: Uncheck the Include Bitcode option before uploading.
INFO ITMS-90111
INFO ITMS-90111: "Beta Toolchain. This app has been built using beta toolchains. Apps built with beta toolchains are acceptable for TestFlight submission. Note that you will not be able to submit these builds for sale on the App Store."
Note: This will allow you to upload the build and use it for TestFlight but when trying to submit to the store you will be faced with this error message:
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, OS X, and tvOS SDK. Don't submit apps built with beta software including beta OS X builds.
If you are uploading from Xcode7(less than Xcode8) and macOS Sierra(V10.12), So this issue "ERROR ITMS-90167: "No .app bundles found in the package"" will come and will not allow to upload build to AppStore.
So use "Application Loader V3.6" or "Xcode8" to upload the build.
Try This, it worked like a charm for me,
We also facing same issues at time of updated macOS Sierra.
At time of upload build by using Xcode7.3.1 we get an error message
"ERROR ITMS-90167:"No.app bundles found in the package"
To Solve Error And Upload IPA file On App Store Follow Below Steps
We export build by using Xcode7.3.1.
-For upload build we use Application Loader V3.6 of Xcode8.
Xcode -> Open Developer Tools -> Application Loader
Follow Below Steps
1) Open Application Loader
2) Choose Build(IPA)
3)Uploading IPA file To app store
4)Successfully Submit Build(IPA)To App store
Your App will uploaded on Appstore,
Hope this is help for some one.
I would first like to thank #xemacobra for his solution, it worked for me until I needed to submit an application for Review.
If you need to submit an application for the App Store, and the build says You may not submit builds using beta software... here is the solution:
The problem is Xcode is sending the build information along with the version of you Mac OS. To fix that, you just need to change your Mac OS build to an older, acceptable, version.
Restart your Mac and hold Command + R on boot up
Open Terminal
Run csrutil disable
Restart your Mac.
In Finder, go to /System/Library/CoreServices/SystemVersion.plist
Open the file so that you may edit the SystemVersion.plist
Find <key>ProductBuildVersion</key> and locate the string attached to this key. For example, mine was 16A254g.
Change this string to a version of Mac OS that is currently supported for public release. At the time of this solution this one will fine: 15G31
Restart Xcode. Re-Archive your application. Re-Submit the application.
I did not try submitting the application through Xcode 7.3.1, but I do know this still works if you submit the .ipa through Xcode 8 beta 3.
Once you have submitted your build, revert the SystemVersion.plist to the original string, and repeat steps 1-4 replacing csrutil disable with csrutil enable.
I have also experienced the same. This is the simple way to solve your problem. Archive your app using Xcode 7.3.1 and export the ipa file of your app into a directory by selecting the option Save for iOS App Store deployment.
After that open Xcode 8.0 and open Application Loader from Xcode -> Developer Tools. Sign in to your team, and upload the ipa file using Xcode 8.0.
I have uploaded two apps to iTunesConnect, it will work for sure.
I was having this issue with Xcode 8 GM and trying to submit an app for release though Application Loader.
You have to use the version of Application Loader that comes with Xcode 8, which should be 3.6
I still have Xcode 7 installed, and was using Application Loader 3.5
Update
My apps submit okay now and go into processing, then soon after disappear completely. I think this might be a separate issue though.
Update 2
You still can't use Sierra to submit your apps. At least not until they release the GM.
Update 3
This issue is still occurring with this particular project. All other new ones (sticker apps) that I have created since public launch have been submitted to iTunes Connect with no issues.
I worked on this project during the betas, so it's possible something has been corrupted along the way and is causing issues. Might require starting a new project in Xcode 8.
There's a thread on the developer forums addressing this issue. https://forums.developer.apple.com/thread/62703
Solution
Turns out the fix for us was to add the "NSCameraUsageDescription" key
to the info.plist with a description of what the camera does in the
app.
Not sure if that solution will help in all cases though.
I submit an app built using LibGDX and had the same issue after upgrading to Sierra. I solved it by:
Upgrading Xcode (8.x), as explained above
Use the latest version of appLoader (3.6). To do that, use the AppLoader available within Xcode. I was using a standalone version of the appLoader: that's incorrect. Open Xcode and go to Xcode->Open Developer Tool->Application Loader
Unable to process application at this time due to the following error: No .app bundles found in the package. This issues appear when your pc's space is less. So clear you trash or some useless document from you pc. Then let's try again! It's work for me!
I recently upgraded to macOS Sierra and also received this error message. After uploading through the application loader failed.I downloaded Xcode 8 (kept my 7.3.1 copy). Closed Xcode 7.3.1. Opened Xcode 8-> Organizer-> proceeded to validate and upload my build. It worked. Hope this helps someone in a similar situation.
Maybe it's about your disk space check your disk space.
Try open App Loader from Xcode8.
Xcode > Open Developer Tools > Application Loader
Then you can upload app to TestFlight without the error.
These are all fabulous answers above... follow Nicholas's 9 step process above and also Tobeiosdev if you don't have write access to the SystemVersion.plist file.
However be very careful about how you read the step by step guide. DO NOT do as I did and restart your device after editing that plist file, as you will render most applications on your mac useless, including Terminal & TextEdit (which are required to edit it back). Reopen terminal inside Sierra (or the beta OS you are running) not inside the command line.
I unfortunately found out the hard way and then could not edit the plist file again in the command line. So I then had to reboot several times before finding the solution which was to go into single user mode (Command-S on restart), all of which scared me senseless that I had ruined the build of my mac. Eventually got everything running again but was somewhat delayed too by having to reinstall Xcode 8... leading to a sleepless night as my first ever submission to the AppStore.
All in all, the above is a perfect solution that works all around, IF you follow the directions correctly. Lesson learnt!
I accidentally opened an old version of the Application Loader Version 3.5 (921) and got the error ITMS-90167 no app bundles found. Be sure you open the Application Loader over the menu of Xcode (Xcode->Open Developer Tool). Version 3.6 (1020) works like a charm! :)
I solved this problem as follows, find your archive in the Organizer, and then:
Show in finder
Show package contents
In the „Wasabi.xcarchive“ file, find the
„Products“-„Applications“-„Wasabi.app“(Wasabi is your app’s name),
„Show package contents“ again
Finally, you can see there has a file named“Info.plist“, open it
Edit the value with a key named „BuildMachineOSBuild“, I just change
it to „15F34″(it’s „El Capitan 10.11.5“ ’s version)
According to #Fan Zhang answer follow these steps and you can upload this archive use Xcode or Application Loader, whatever you want!
When you archived your app, find your archive in the Organizer, and then:
-->"Show in finder";
-->"Show package contents";
-->In the "xx.xcarchive" file, find the "Products"->"Applications"->"xx.app"(xx is your app's name), "Show package contents" again;
-->Finally, you can see there has a file named"Info.plist", open it;
Edit the value with a key named "BuildMachineOSBuild", I just change it to "15F34"(it's "EI Capitan 10.11.5" 's version);
With me, my application writing by Swift 2.2. And must use Xcode 7.3.1 to archive and upload to Apple testflight but got the same error(I run on macOS Sierra-10.12). The follow solution fix it for me, hope another who face the same problem can find somethings helpful:
1> Use Xcode 7.3.1 to archive
2> Export to file .ipa
3> Quit Xcode 7.3.1 then open Xcode 8, and then open Application Loader, use Application Loader to upload file .ipa to itunes connect.
In case this helps, I had the same error code "ERROR ITMS - 90167 No. app bundles found in the package" using mac OS 10.14.4 with Xcode 10.2.
(As a note, I was able to successfully submit builds some weeks ago with the same configuration, but this seems to be something in the iTunes Connect side)
Had to update to mac os 10.14.6 and Xcode 10.3 to successfully submit my build.
I faced the same problem .
what worked for me was ->
go to target-> signing & capabilities -> signing certificate -> I had to revoke one certificate. Always revoke the Certificate by the name of admin's iMac .
It is created by default while making your certification and profiles.
**Picture is attached for the reference.
PS:- always make sure the bundle id is same on App store connect and Xcode before archiving.
The privacy settings are changed for iOS 10, more on this could be read here
I had previous described issues, which had to be solved as described, but after successful upload application wasn't visible on iTunes connect.
I had to add Privacy - Bluetooth Peripheral Usage Description key in a plist in order to solve the last one.
Other missing keys will make the same problem.
I was getting this error with Xcode 7.2.1 and Application Loader 3.4 on macOS 10.12.1.
But for some reason, it worked if I used the command-line "altool" to do the upload instead:
'/Applications/Xcode-7.2.1.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/altool' \
--upload-app -f your-app.ipa \
-u your-apple-id -p your-apple-id-password \
--output-format xml
I had to provide missing application name in order to fix this problem.
Go inside your Appstore and download the new version of Transporter.
this worked for me
I'm having the same problem as someone on the ESRI forums linked here:
https://geonet.esri.com/thread/165647
Namely....
I was building a new deployment for an iPad and through the Apple developer site it requested I accept a new license agreement today. When I downloaded a new provisioning profile it updated Xcode and now the build kits for iOS are invalid in QT Creator.
I can build it just fine in Xcode and deploy to the device it's just the build kits are gone in creator.
Any thoughts?
I ran into this same problem. I "fixed" it in the follow way:
1) Download the XCode 6.4 dmg (and maybe 7.0 if you need it) from the links on this thread: How to download Xcode DMG or XIP file?
2) Install 6.4, using the "keep both" option when you drop it into Applications (next to the broken 7)
3) Rename 7 to "Xcode 7.0". And 6.4 to plain old "XCode".
Qt should then be able to use the iOS Kit again.
4) After creating a build with Qt, you can later open the project in XCode 7 manually, as needed.
This is definitely not the best solution, but I was able to get everything working again by deleting XCode, rebooting, time machining Xcode 6.4 back, rebooting.
I think you could get away with just Time Machining, so I don't think you need to delete XCode and reboot before time machining. Just sharing the round about steps I took.
If I find a better answer I will try to remember to update here.
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 downloaded new Xcode 6.3 and while installation (with drag-n-drop feature, not using App-Store) it asked me if I want to keep both or replace the old Xcode 6.1. I kept both for some reasons. But after installation new Xcode 6.3 works fine but I'm missing simulator list in old Xcode 6.1. It only shows iOS Device on the list. Yes, I created and replaced with several new scheme, tried to edit it. Also tried to add simulators from Xcode -> Open Developer Tool -> iOS Simulator an then Hardware > Device > Manage Devices from here and here. In this process simulator even shows up. I checked package contents of Xcode 6.1. Platforms (both OS and Simulator) are all there. I know I can restore it by deleting from application folder and reinstall it. But if there any way so I can get and make work simulators for xcode 6.1 without reinstall it? And What is the reason behind this simulator disappearance? I'm guessing PATH issue. Am I right? Thank you for your time.
I would say Xcode is now corrupt after choosing to Keep Both, which merges the files in the two apps, as far as I'm aware.
You need to download both Xcode 6.1.1 and 6.3 from the Apple Developer Downloads site and install them using separate names:
Delete the existing /Applications/Xcode.app.
Drag Xcode 6.1.1 into /Applications and then rename it Xcode611.app.
Drag Xcode 6.3 into /Applications and then rename it Xcode63.app.
Add both to your Dock as desired.