no provisional ios devices are available - xcode

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!

Related

Xcode 5.0 testing in iOS 5.0.1 Simulator

I have a customer who has reported an issue that my app instantly crashes after starting on iOS 5.0.1 on an iPad 1, and I wanted to test it.
How is it possible to run an app with Xcode 5.0 on an iOS 5.0.1 Simulator, as it is not shown in the list of available downloads.
See this answer, it might help. (Please note that I haven't tried it.)
If it really is impossible on Mavericks, maybe you could consider installing an older OS X version in a VM?

What was the last version of Xcode shipped with iPhone Simulator 3.0?

I installed iPhone Simulator 3.0 on Xcode 3.2.6 on Snow Leopard using a misterious package iPhoneSimulatorSDK3_0.pkg I found on a chinese web page, but the simulator keeps saying "iOS Simulator could not find the SDK. The SDK may need to be reistalled"
So, I need the to install the full version of the mentioned Xcode
Any help is apreciated
iPhone SDK 3.2 Final with Xcode 3.2.2 for Snow Leopard (10.6.0) has iOS Simulator 3.0 built-in

iOS Lion - Monotouch and Simulator 4.3

I have the following configuration on Mac OS X 10.7.4:
MonoDevelop 3.0.3.2
Mono 2.10.9
Xcode 4.3.3
Monotouch 5.2.12
I'd like to test my app developed in Monotouch, on iOS 4.3, because on iOS 5.0 works fine. To do that i've tried to install simulator 4.3 in Xcode but when i open Monotouch there is just Simulator 5.0.
I read some information on google and obviously, it advised to install SDK 4.3 but there is no version with this SDK for iOS Lion (the only one on Apple developers website is for Snow Leopard).
I would be interested to know how to install the simulator on my computer.
It's a bit hidden but you can still download of Xcode releases from: https://developer.apple.com/downloads/index.action
Downloading Xcode 4.0 should give you the final SDK for iOS 4.3.
You can install 4.2 and 4.3 (.app) side-to-side on Lion (I have them). This should also work for 4.0 and 4.3 since they (like 4.2) ends up in different directories.
Note that you'll need to tell MonoDevelop to switch Apple SDK location (and restart MD).
The solution that worked for me was to install it through Xcode.
XCode > Preferences > Downloads
You should see installs available here. Click the Install button to get it.

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.

Base SDK missing after a fresh install of XCode 3.2.5 which includes iOS SDK 4.2

I'm new to iPhone development. I just did a fresh install of XCode 3.2.5 with iOS SDK 4.2. No previous XCode or iOS versions have been installed before. However trying to compile some sample project from some books gives "Base SDK Missing". :( What to do? How can I use XCode 3.2.5 for older iPhones like 3GS if it only supports 4.2?
When I go to "Project/Edit Project Settings/Architecture/Base SDK/iOS SDK's" only iOS 4.2 is available to be selected.
Do I need to install older XCode first and then upgrade?
In the build settings, you can support older phones by setting "iOS Deployment Target" to something like 3.0. http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html has more details on the difference between this and the Base SDK setting.
Set Project/Edit Project Settings/Architecture/Base SDK to the Latest OS version, then quit and restart Xcode. You can later set the Deployment target to a lower OS version.
I had the same problem for most of the afternoon. I did everything suggested and nothing worked UNTIL I cleaned and cleaned and saved and rebooted and re-built. Unfortunately that doesn't tell me what actually worked, but it does give everyone "just one more thing" to try.

Resources