XCode doesn't include files to build on iOS 13.3 - ios

I just updated my iPhone to iOS 13.3 and now I'm unable to build a simple react native app, I tried to download the newest XCode version (XCode 11.3 beta) which supposed to include the files but it doesn't.
macOS Mojave 10.14.6

Sounds like this: https://forums.developer.apple.com/thread/126948
Filed a bug report, no answer yet, will update when more information.
Update:
Got feedback from Apple Support, not sure what's exactly happened there:
Xcode 11.3 contains the iOS 13.2 SDK, which supports iOS 13.3 development. However, you cannot set a deployment target of 13.3. Please set a deployment target of 13.2 if you want to support the latest features.

You should add device support for iOS 13.3 in Xcode device support folder. Then quit Xcode and relaunch it.
You can find the file from the below link.
https://github.com/filsv/iPhoneOSDeviceSupport

Related

I can't download Xcode Simulator for old iOS versions

The minimum iOS version of my project is selected as 11 but I cannot download the simulator. I searched but couldn't find a solution. What should I do?
Available downloadable simulators:
I chose the minimum iOS version as 11.
Minimum iOS deployment:
I guess I can't even install iOS 12.4 because I'm using macOS Ventura.
If you do not see the earlier SDK version for which you want to download the simulators listed among your options, then you cannot download that SDK for use with this version of Xcode on this system.

iPhone is not available. Please reconnect the device. / iOS 14.2 - Xcode 12.1

I just updated my iPhone to iOS 14.2.
When I want to launch an app on the device from Xcode, I now keep seeing this:
I also just updated Xcode to Version 12.1, hoping it would solve the problem, but it doesn't make any difference, I keep getting the same message.
I tried disconnecting and reconnecting the device, but to no avail.
I also removed all the data under ~/Library/Developer/Xcode/DerivedData/, but again with no effect.
It seems like some other people have had this issue before, but I didn't find any working solution for me.
I hope someone with a recent similar experience can point me in the right direction for a proper way to solve this problem.
Go to my Github repo iOS 14.2 Device Support File and download 14.2.zip file directly and after unzip it
And just copy and paste unzipped folder by path:
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Restart the Xcode
That's all. You can build and go on your project.
If you need a visual solution, check out this answer: https://stackoverflow.com/a/64854525
Why we have done these steps?: Because Xcode 12.1 doesn’t include support for 14.2 so we implemented its device support files for 14.2.
https://developer.apple.com/documentation/xcode-release-notes/xcode-12_1-release-notes
Update: Xcode 12.2, with support for iOS 14.2, is now available on the AppStore. If you find this problem with a newer version of iOS and Xcode, the answer is still the same, you can (probably) download the beta for the next Xcode version from the Apple Developer website, you can wait for the AppStore version to be updated, or you can (probably) find the symbols for the new iOS version and copy them to your current Xcode installation.
Original answer. Applies to Xcode 12.1 and iOS 14.2
The latest version of Xcode in the AppStore doesn’t include support for 14.2. You can download a beta of the next version from the Apple Developer website that supports 14.2, or wait for the AppStore version to be updated.
Per the official post from Apple, devices running iOS 14.2 are only supported in Xcode 12.2 RC. (source: https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14_2-release-notes)
You can download beta versions of Xcode via: https://developer.apple.com/download/

Can´t install App on iPhone(Error: Could not locate device support files. ) [duplicate]

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 :)

Updating a device to iOS 11.2 breaks support with Xcode 9.1

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 :)

How do I add older SDKs to my system?

I am running on MacOS Sierra. I downloaded/upgraded my X Code.
Currently, if I run xcodebuild -showsdks it reveals that I have iOS SDK 10.0.
I need to add support for iOS 9.3. How do I do this?
Do I need to download XCode 7.3?
EDIT:
I need iOS SDK 9.3 specifically -- no version after, because of RubyMotion.
iOS 9.3 is still supported with Xcode 8. There shouldn't be any issues.
For anything less than iOS 8, you will have to download Xcode 7 series.
No need for older Xcode. Just open your project, open projects settings, choose your target and change "General -> Deployment Info -> Deployment Target" to needed value (e.g. 9.3)
Update for your edit: yes, to get older SDK version you need to download older Xcode, unfortunately
You can check by downloading simulator of iOS 9 only, Go to xcode preference and download required simulator, check screenshot below:

Resources