XCode not recognizing my iphone - ios5

XCode was recognizing my device just a day ago but now its not. I am getting the error in the organizer below. I know there are many other questions like this but non of them are answering my question. I am unable to see "Use for Development" button, neither adding to portal is fixing the issue. I have upgraded the device when 5.1 came and was able to use the device for testing but dont know what happend yesterday and it stop recognizing the device.
The version of iOS on “Adil Muhammad’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.
OS Installed on Adil Muhammad’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2

you updated your phone, so you need the latest xcode installed to now develop apps on your dev phone

As your Device ios version is higher than what your xcode support.
Upgrade you xcode with the latest one (xcode 4.3).
This is the only Resason
Regards,
neil.

Related

I Can't try out my new app on my iPhone-Gamesalad

it gives me this error:
The version of iOS on “My IPhone” is not supported by 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 Roberto's Iphone
8.1 (12B411)
Xcode Supported iOS Versions
i've read about this problem, but all te answers says to update xcode, but now i have xcode 6.1 and nothing is still working
I am not using xcode. I am using gamesalad, so i don't know how to answer you.
the error occours just after i registered the device for testing

Testing on jailbroken brand-new iOS device - using Xcode?

OK. So, here's some details on my situation :
I've got a brand-new iPhone 4.
The iOS version has been updated to 5.1.1 (9B206).
The phone has been jailbroken using redsn0w.
I'm running Lion (10.7.4) and Xcode 4.3.
Now, my issue :
I'm creating a sample test app, which runs fine under the simulator.
Followed everything here, but without any result.
Also tried enabling my device via Organizer ("Use as development device").
When I click on "Use as development device", it keeps saying...
The version of iOS on “Dr.Kameleon’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.
OS Installed on Dr.Kameleon’s iPhone
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3
4.2
While, when I try running on my "iOS device" (that's how it appears), it claims there's no device with a proper iOS version.
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
Any ideas? What's going wrong?
Look, everyone who says you can't build directly on a jailbroken device is wrong. You can, and it's quite easy to do. If you don't have a provisioned device (and it looks like you don't), using this guide will work. I've tested it myself on Lion running Xcode 4.3 (it even works on later versions, but those are under NDA).
The real issue seems to be that, for whatever reason, you don't have the iOS 5.1 SDK - you're using the iOS 5.0 SDK. You can confirm this by looking in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. If you don't see any mention of 5.1, you don't have it installed. Try downloading and installing Xcode again (I believe it's 4.3.2 now), which should have the iOS 5.1 SDK bundled with it.
This error is not due to the jailbroken iPhone, its basically due to your lower version of Xcode which doesn't support the latest iOS, try upgrading your Xcode version to latest.hope it helps

xCode 4.2.3 can not compile to iOS 5.1.1 (9B208) or iOS 5.1.1 (9B206)

Yesterday after about a whole nights tinkering i manage to compile for 5.1.1
That was after i downgraded from iOS 5.1.1 (9B208) to iOS 5.1.1 (9B206) as a last desperate attempt.
But today afte a restart im back to square one.
When i go to the organizer and select devices from the top menu i get the following text as before:
The version of iOS on “xs 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.
OS Installed on xs iPhone
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3
4.2
I feel completely dumbfounded that it has to be so vastly complicated getting xcode and iOS go together.
But lets say i clean out xcode and reinstall my iphone.
Is there a safe way to compile for the latest IOS "currently 5.1.1"?
As others have pointed out, you need to install the latest version of Xcode, which is 4.3.2.
We recently had this problem after the latest iOS update and upgrading Xcode solved it just fine.
I had similar problems until I upgraded my Xcode to the latest version. Upgrading should fix your issue.
I had a similar problem and I can not upgrade to Xcode 4.3.x because I am still running Snow Leopard and 4.2 still is the latest Xcode version. I solved the issue after following the steps in this answer
https://stackoverflow.com/a/9621226/467813

My iPhone 4.2.8 not appearing on Xcode 4.3 iOS 5 Device List

My iPhone has version 4.2.8 (8E401). I don't want to update it as I'm writing a 4.2 app right now and want to test with my phone. I installed iOS5 Beta 7 on my Mac a few weeks ago and was able to see my phone listed in the Device List to Run/Debug my app along with the various Simulatior choices since then.
Last evening, though, all of a sudden it doesn't recognize my phone. The only phone device listed is the generic 'iOS Device'. When I look at my phone information in XCode's Organizer, it has a question mark next to my device name and a yellow dot. It also displays this message:
The version of iOS on “My 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. OS Installed on My iPhone 4.2.8 (8E401). Xcode Supported iOS Versions
Latest 5.0 (9A5313e)
Is there a way to get the iOS 5 XCode to recognize my iPhone OS version without having to upgrade (which I don't want to do just yet) or have to restore to a previous version?
Seems like this message just popped up without me making any changes to my iPhone or iOS installation. Any work-around would be appreciated.
Thanks

"No provisioning iOS device connected"

About 3 months ago I set up my iPhone for development; installed the provisioning profile, updated the device to the latest version of iOS, namely 4.3.3 (8J2) and testing applications on my iPhone worked 100%.
Today I went back to working on one of my iPhone applications after not having worked in XCode for about a month, and now I do not seem to be able to deploy applications to my iPhone. When I try deploy and run on my iPhone, I get the message "No provisioning iOS device connected", even though my iPhone is connected.
If I look in the organizer window of XCode, I see my iPhone listed there under DEVICES, but I see the following message when I select my iPhone entry:
The version of iOS on “Bruce Hill’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.
OS Installed on Bruce Hill’s iPhone
4.3.3 (8J2)
Xcode Supported iOS Versions
4.3.3 (8J2)
4.2 (8C134)
4.1
4.0
4.0.2
4.0.1
3.2
3.2.2
3.2.1
3.1
3.1.3
3.1.2
Does anyone have an idea what is going wrong here and why XCode seems to think that my iPhone has an unsupported version of iOS installed, when in fact the latest version is installed?
UPDATE:
I have tried restarting my Macbook Pro, doing a hard reboot of my iPhone and removing my iphone entry in the organizer. None of these actions helped. My iPhone keeps getting listed in the organizer with an orange circle and if I hover over my iPhone entry I get a tooltip message that says "This device is busy or otherwise unusable by Xcode."
I did notice that in my developer information in System Profiler it only shows sdk 4.2 (8C134) installed, not 4.3.3 (8J2), even though Xcode lists it as being present and supported in the message I quoted above. Here is my developer information:
Version: 3.2 (10M2423)
Location: /Developer
Applications:
Xcode: 3.2.5 (1760)
Interface Builder: 3.2.5 (823)
Instruments: 2.7 (3017)
Dashcode: 3.0.2 (333)
SDKs:
Mac OS X:
10.4: (8S2167)
10.5: (9L31a)
10.6: (10M2423)
iPhone OS:
4.2: (8C134)
iPhone Simulator:
3.2: (7W367a)
4.0: (8A400)
4.1: (8B117)
4.2: (8C134)
I think what happened here is that I installed Xcode and then later did an update of my iPhone to iOS 4.3.3. This problem then occurred because my Macbook Pro actually didn't have the SDK for 4.3 installed, even though Xcode seemed to think that it was installed.
So, I got this working by downloading an installing Xcode 4.0.2 and iOS SDK 4.3. I downloaded Xcode from here: http://developer.apple.com/xcode/
Once Xcode 4.0.2 was installed and running, I connected my iPhone, it showed the orange dot again briefly (for about 10 seconds or so) and then this turned to a green dot and I was able to deploy my application to my device again... FINALLY!! :) In my developer settings in System Profiler, I also see iPhone OS: 4.3:(8H7) listed there now. I think that this issue would also have been resolved by installing Xcode 3.2.6 with iOS SDK 4.3, as this would, I think, also have resolved the missing or corrupt SDK 4.3 on my Macbook, but I chose to download and install the latest version.
So, bottom line: Xcode working again! I am happy! :)
I had a similar problem with my 3GS and i solve it by resetting iPhone's developer configuration. Try to hard reset your device (here' the link - don't worry, your dta will survive). Then remove your device from Xcode organizer and add it again.
Also try 'Cleaning' your Xcode project and just turning off your phone and back on again. Restart your computer while you're at it. After it's back up, open Xcode, then plug in the device. It should do its thing then start working again. I had the same issue a few times when I updated and hadn't disconnected/reconnected everything.