Xcode 12 and iOS 15 - ios

Is it possible to add somehow iOS 15.0 simulator to Xcode 12.4? (and build & run the project)
I have both xcode 12.4 and xcode 13.
I can't build my project in xcode 13.
I can build it only in xcode 12.4
But I would like to run my project on iOS 15, Is it possible to run?
If Yes, then how can I do it?
Thanks.

No, you cannot have iOS 15 simulator in Xcode 12.4.
You can install it on physical iOS 15 device via TestFlight or by manually dragging the .ipa/product to the phone in Xcode “Devices” window or Finder. But when you do this, you cannot debug it interactively via the Xcode debugger.
Just as a heads-up:
Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK.
So, you’ll need to fix your Xcode 13 issue by then. See App Store submissions now open for iOS 15 & iPadOS 15.

Related

How to update xcode to 13.4.1 or to add support to iOS 15.7 in xcode 14?

My iphone 7 was updated to iOS 15.7. my current xcode (12.5.1) doesn't support it. But from the app store I can only update xcode to the last one (14) and 14 seam to support only iOS 16. So is it possible to update my xcode to 13.4.1 OR in xcode 14 to have the iOS 15.7 support ?
Xcode 14 does not support iOS 15.7 devices. Xcode 14.0.1 RC does. See details and other workarounds here: [https://stackoverflow.com/questions/73721778/looking-for-ios-15-7-support-files-for-xcode14/73739710#73739710].
By the way, once the device is prepared for development with Xcode 14.0.1, Xcode 14.0 can connect to it.

how to use iOS 12 simulator in Xcode 12

I want to use a simulator with iOS 12 in Xcode to build, run and test my app. I did some searching and installed iOS 12 from Xcode -> Preferences -> Components.
but in simulator list, I only have access to iOS 14 simulators.
when I select Add Additional simulators, I can see simulators with iOS 12 equipped:
but I can't tell Xcode to use them. any help here?
You may need to set iOS deployment target to 12.0

Is it possible to install ios 13 beta into ios Simulator?

I'm trying to debug a nativescript issue on ios 13 and can't figure out how to get the beta installed onto the simulator. Is this possible?
No it is not possible to have simulator with ios 13 installed.The only way is to update your xcode from app store to (11.0). Then there will be iphone 11 as a simulator in your simulators list with ios version 13.
Else you can connect your real device with xcode having ios 13 installed.But it will definitely required a higher/updated version of xcode.
Xcode 11 beta has iOS 13 beta for simulator.
Simulator beta is install also when install Xcode 11 beta.
You can find iOS 13 on simulator beta.

Use Xcode 8 with iOS 11

I want to use Xcode 8 with iOS 11.
should I upgrade my Xcode. However, my code can't be built by the new compiler, so I want to stay with Xcode 8.
How can I achieve that?
Apple revealed several new iOS 11 features at WWDC 2017.
As of now this is only for Debugging on iOS device, not Simulator
Xcode 8 could not support unless you have the DeviceSupport folder for the iOS 11 version.
You can download a Xcode 9 beta (latest Xcode 9) or get an DeviceSupport folder from other user.
Simply copy it to your folder or create an symbolic link
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A372\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
reference: Use Xcode 7 with iOS 10
Check this out: As of now this is only for Debugging on iOS device not Simulator
Download the SDK from Apple
Copy this iOS 11.0 image file to: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Restart Xcode.
I did this and it's fine, I still work both on comercial app using Xcode 8 + Swift 3 and exploring Xcode 9 beta with Swift 4. Just download the Xcode 9 and, inside Xcode 8 preferences, set the Command Line Tools to use the 9.0.
I preferred to copy ALL the folder:
/Volumes/**HighSierra**/Applications/Xcode-**beta.app**/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\)
to:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/**11**
I can confirm I can run on my iPhone 7 with iOS 11

After updating to iOS 9 my device is not supported by Xcode 6.4

The iOS 9 (my device iOS) update is not supported by Xcode 6.4 for testing purposes. Is there a way to connect my device to Xcode for testing?
It is showing me these messages:
iPhone may be running a version of iOS that is not supported by this version of Xcode.
Xcode 6.4 doesn't contain iOS 9 SDK, that's why it isn't working. You need to update your Xcode to 7.0 (available on the AppStore)
Xcode 6.4 doesn't support iOS 9, If you want to debug your device then you have to update Xcode. And if you just want to check app in device then create a diawi link and install in phone(which is tedious process).

Resources