I am using xcode 7.1 (7B91b). I connected my iPad OS version 9.2 to my macbook, then, I selected my iPad in xcode & run my iOS project. But xcode pops up an error "Could not find Developer Disk Image".
How to get rid of this problem & having my project running on my iPad?
I think that you have to update XCode - most times I got this error was when I updated device but didn't update XCode.
My xcode is 7.2 for 9.2 iOS.
Related
I tried to run my app on a device running iOS 11.2 and received the following error:
Could not locate device supported files.
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.2
(15C114), which may not be supported by this version of Xcode.
I have used iphone 5s(version 11.1.2) and I want to build my project from xcode 9.1(ios 11.1).
It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account
EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store
Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.
For the rookies like me, if you get a message similar to this:
"This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."
It means you have to update Xcode.
I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0
You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
Get the device support file from here if latest available Device Support File
Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.
Xcode - Version 9.1 (9B55)
Device Version - 11.3
Solution:
Find your friends who have latest Xcode 9.x
From following ways you can get device support files
Go to Finder and Search
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X
Copy the 11.X
Please note X - will be Versions
Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7
After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder
Restart the Xcode and You are Ready to debug :)
I tried to run my app on a device running iOS 11.2 and received the following error:
Could not locate device supported files.
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.2
(15C114), which may not be supported by this version of Xcode.
I have used iphone 5s(version 11.1.2) and I want to build my project from xcode 9.1(ios 11.1).
It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account
EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store
Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.
For the rookies like me, if you get a message similar to this:
"This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."
It means you have to update Xcode.
I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0
You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip
Get the device support file from here if latest available Device Support File
Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.
Xcode - Version 9.1 (9B55)
Device Version - 11.3
Solution:
Find your friends who have latest Xcode 9.x
From following ways you can get device support files
Go to Finder and Search
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X
Copy the 11.X
Please note X - will be Versions
Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7
After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder
Restart the Xcode and You are Ready to debug :)
I am new for iOS and when I connect my iPad with my system it's showing an exception like in the image below.
I am using Xcode 6.1.1 and the iPad is running iOS 8.4.1.
[
If you're running iOS 8.4.1 on your iPad, then you'll need to upgrade to Xcode 6.4
additional reference
When you running on device then above problem occur, so You have to download new Xcode, Download Xcode 6.4 as below links.
XCode 6.4
You will require Xcode 6.4 in-order to mount your iPad: https://developer.apple.com/xcode/download/
This occurs when you plug in a device that is running an OS version above what your current version of Xcode is.
One solution is to always use the most recent non-beta versions of Xcode and iOS.
However, if you have a beta version of iOS on your device, but still want to develop and build with the non-beta release of Xcode, there is a workaround!
1) Have both the current release of Xcode, and the Xcode-beta installed on your machine.
2) Make sure they are both closed.
3) Plug-in your device.
4) Open Xcode-beta and allow it to recognize your device (process symbols...)
5) With phone still plugged-in, quit Xcode-beta.
6) Open stable Xcode version, and your device will be recognized!
I currently do this all the time because I have iOS 9 beta on my test device, but submitting apps to TestFlight using Xcode 7 (beta) is not yet supported, so I needed to use Xcode 6.4 as my main IDE.
After updating my iPad to iOS 9 public beta, I am getting an error while trying the run the app in my iPad. When I select the iPad as destination, it says "iPad (Unavailable) or Could not find developer disk image. How can I fix this? Any solution?
If you are using the Xcode 7 GM build version 7A218, the chances are that you accidentally downloaded iOS 9.1 (13B5110e) as opposed to the iOS 9 GM build (13A340). I did the same thing don't worry. They are too close to each other on the downloads page :0
You can check which version you have on your device by simply going to your device Settings > General > About > Version
All you have to do is download the correct iOS 9 GM build and go to iTunes. Click on your device. In the summary tab, OPTION + Right Click "Check for Update" and restore your device by navigating to the iOS 9 GM build finder location. Note by selecting "Check for Update" you will not lose any settings or data on your device. In other words, it is not a restore
However, if you are using Xcode 7.1 build version (7B60) iOS 9.1 is supported
I had the same problem and all I had to do was to update my XCode to 7.1. After that it worked. Your Xcode has to be updated to the latest version.
This is also encountered when trying to use Xcode 6.4 against an iOS 9.0.x device. Here's how you can workaround it and get Xcode 6.4 to recognize your iOS 9.0.x devices:
Download Xcode 7.0.1:
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_7.0.1/Xcode_7.0.1.dmg
Open Xcode_7.0.1.dmg and drag the Xcode.app to your desktop
Right-click, Show package contents, navigate into /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Copy the "9.0 (13A340)" directory to the existing DeviceSupport directory for your Xcode 6.4 install. For example: ~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Restart Xcode 6.4 (if it was running), and your device running iOS 9.0.x should now show as a recognized device.
I solve this problem by just simple xcode restart.
Update Xcode. If it not help:
go to
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
If you don't find there your device iOS version, you could try to copy last one and rename it to which one do you need, restart XCode and try to compile, it works for me.
Apple just released the new Xcode 7.1 which support iOS 9.1. Update Your Xcode and everything will be fine.
I have experienced same issue
Could not find Developer Disk Image
1) My Xcode version was 7.0.1 and i updated my iPhone to version 9.2, then upon using Xcode my iPhone was shown in section of unavailable device. Just like in image below:
2) But then i somehow managed to select my iPhone by clicking at
Product -> Destination -> Unavailable Device
3) But that doesn't solved my problem and started showing
Could not find Developer Disk Image
Solution) Then finally i downloaded latest version of Xcode version 9.2 from https://developer.apple.com/downloads/ and everything worked fine for me.
For me the problem was that I just needed to open my phone and click "Trust Computer"
I had XCode 7.0.1 installed + iOS 9.1 (13B143).
XCode had shown me "unsupported device" / "could not find developer disk image" in Devices windows until i updated my XCode to version 7.1. Everything works well now.
I had already update to newest version Xcode (7.0.1) but still can't build on iPod touch 5 in iOS 9.1(13B143).After copy 9.1 (13B137) folder from my colleague to DeviceSupport folder in Xcode, it works! Not sure it would create some side effects.
I have xcode 4.5 with 6.1 sdk.
I updated my iphone to iOS 7.0.
opened my project on xcode selected my device and clicked run.
I got the following error:
dyld: could not load inserted library '/Developer/usr/lib/libXcodeDebuggerSupport.dylib' because image not found
image not found error is a new one didn't find anywhere on the internet. It's not the old libXcodeDebuggerSupport.dylib error people got when they updated their devices with earlier versions of Xcode.
I did link or/and copied developer folder from "5.1.1 (9B206)" to "7.0 (11A465)".
But still getting same error.
Does anyone managed to run on iOS 7 device from xCode 4.5? Thanks
I believe that to do device debugging on iPhone with iOS7 you will require to use XCode 5 with iOS7 toolchain. XCode 4.5 is older release and may not have the toolchain for latest iOS7.
For those who have not yet installed Xcode 4.5, the app can still be debugged by Attaching to Process. Try to debug directly from xcode first. By the time debug fails, the app will still have been installed on the device. Then run the app on the device, and Attach to Process from Xcode.