Xcode 9.2 doesn't support iOS 11.3 - xcode

Tried to test my app on my phone, and got this error.
This iPhone 6 is running iOS 11.3 (15E216), which may not be supported
by this version of Xcode.

Rookie mistake. I forgot I upgraded to the latest iOS.
Checked I was on Xcode 9.2, then checked the App Store upgrades section and sure enough there is an upgrade to 9.3.
2.49 GB downloaded, installed, fixed the issue.

Related

xcode stuck while installing version 13.2 on macOS montery 12.1

Downloaded new Xcode version 13.2 from AppStore, it was getting stuck in installing for more than 16 hours.
How can get rid of this, while stuck?
Apple is aware of this issue. You just need to download manually from the apple developer
Xcode 13.2 Release note
Download Xcode 13.2
And now it's worked perfectly. And also follow this SO discussion section

Xcode 13b3 : No preview available (no bundle)

Just downloaded the latest Xcode 13 beta 3 but i can't get the preview working:
PlatformDoesNotHaveAgentsError: Missing required components for iOS
Xcode is missing components needed to preview on iOS
==================================
| HumanReadableSwiftError | | LocationError: noBundle
Rebooting not helped.
Tested on MBP Intel, macOS 11.4
I don't know if it's a problem on my mac or a bug introduced in this version.
Any clue ?
Edit: It look like to only works when you select an iOS 15 simulator, you can not longer uses iOS 14.x version...
What fixed it for me was selecting a simulator that had the iOS version on it that the version of xcode was built for.. ex: Select simulator with iOS 15 when using XCode Beta 13
I also faced this problem with Xcode 13.1. Today, Xcode 13.2 was released, and iOS 14.5 now also works with Canvas without this issue in this new version for me. So, this issue seems to be fixed.
PS. Be aware of the problem with the app store version: https://developer.apple.com/forums/thread/696504, https://www.macrumors.com/2021/12/14/xcode-13-2-bug/

Is it possible to install iOS6 SDK on Xcode 6-beta?

I noticed that there are no preview or simulator for iOS6 in Xcode 6-beta, so I was wondering is there any way that I could add it manually ?
No.
Apple only support iOS7 and iOS8, and they're strict with that. As a result, only iOS7/8 simulators are available in Xcode 6.
If you want to run on an older simulator, you need to develop on an older version of XCode.
Not possible. But: you can still test on a iOS 6 device from Xcode 6. I keep an old iPhone 4 for this (look at eBay).
EDIT: there is another way - install Xcode 5 on a virtual machine (e.g. VMWare Fusion) running Mavericks.
iOS6 simulator is available in Xcode5
No, the earliest SDK you can get for Xcode 6 is 7.1. By default, the iOS 7 simulator is not installed but you can install it by going to preferences, then to downloads and installing it from there.
To run iOS 6 applications, try googling around for an earlier Xcode version (late versions of 4) and these should have the simulator!
Hope that helps!

no provisional ios devices are available

my Mac has Snow Leopard and Xcode about shows 4.2 (4c199)
An update came to my iphone4 and it has now ios5.1 (used to be ios5.01)
When I try to run on the ios device target the build goes through fine but the installation fails with "no provisional ios devices are available with a compatible ios version".
When I look in Xcode organizer I can see similarly:
The version of iOS on “XXXXXX’s iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
and here is what the organizer shows:
OS Installed on XXXXX’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2 (8C134)
4.2
What is the meaning of "Latest" here?
I hope I do not need to install Xcode 4.3 as it will require moving to Mountain Lion in the middle of the project?
Prior to this update the things used to work, I think (lately I was working only in the simulator, but before that everything work on the iphone ok).
Thanks for any help in advance.
Regards,
Victor
Your mistake was updating your iphone to IOS 5.1, because your current version of xcode doesn't support it. So basically, you either have to downgrade your IOS device to 5.0 or you have to upgrade to Lion(not mountain lion) and then install the latest version of xcode which does supports IOS 5.1.
Downgrading can be a bitch btw, so I think lion is your best bet. Ill have to do the same soon. Hope this made things a little more clear! Best of luck man!

xcode 4.2 with ios5.1

I have Xcode version 4.2 with OS X 10.7.2, and I was trying to install our app on the new iPad, which is running iOS 5.1. The problem is Xcode doesn't recognize the iPad as a deployable device. I know this is a common issue, but please read it all.
I get this in the organizer: (after push the "use for development")
The version of iOS on “iPad” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on iPad
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
Now I know that in order to connect the iOS 5.1 device to Xcode I need the latest release of Xcode, but I can connect another iPhone with iOS 5.1 to the same Xcode and deploy an app to it.
Why is that?
The only different between them is that this iPhone was previously connected to Xcode, and the iPad was not. I did manage to install an app to iPhone with iOS 5.1!
What is happening here? I don't want to install the new Xcode for nothing if I can install to 5.1.
Thanks.
Xcode will not let you build to an iOS version higher than it supports, and in this case with Xcode 4.2, you will not be able to deploy to iOS 5.1. I recommend updating to OS X Lion 10.7.3 and downloading the 4.3.2 version of Xcode. Do this any you will be able to deploy to your 5.1 device without any problems. In addition to this, the second device should not be able to receive builds from Xcode. Please check and see if the device in question is in fact running iOS 5.0.1 and not 5.1 as 5.1 will not work on Xcode 4.2 and 5.0.1 will.

Resources