Xcode Organizer - Devices showing yellow light - iphone

Got the developer certificate to test app on iphone entered device identifier, connected iphone as a device in the organizer it shows yellow light. In software version it shows 5.1 as installed on iphone device. It displays that it 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
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3 (8F190)
4.3
4.2
4.1
4.0.2
4.0.1
4.0
Eventhough got latest version but still i restored iphone but still got yellow light not changing to green any idea how to fix this issue.
Thanks for help.

If you are using xcode 4.2 and base SDK 5.0 than you can't test the app on your phone which has an OS version 5.1.
The general rule is that if you want your XCODE to detect the device for testing, the OS version on your phone should always be less than or equal to the base SDK (latest) supported by your XCODE.(And so should be the targeted OS version for the app)
Base SDK 5.1 is supported by XCODE 4.3 which only works on LION-X.
Hoping this helps.

It sounds like you don't have Mac OS X Lion.
Apple no longer supports Snow Leopard as a development OS. iOS 5.0 was the final version released on Snow Leopard.
It sounds like your iPhone has been updated to v5.1. If you update your OS to Lion, you'll be allowed to install v5.1 of the iOS software from apple's developer website, and continue developing and testing your apps like normal. Sorry to say though, this is impossible with Snow Leopard, which is why your organizer says "Please revert your iPhone iOS to v5.0, because that's the only thing I can support"

Related

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 not recognizing my iphone

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.

No provision ios device connected

I trying to test my iPhone app on real iPhone device having ios 5.0 restored recently.
Now when i connect iPhone to mac in xcode's organizer it is showing orange dot in front of device. Let me tell you that i m using xcode 3.2.6 with ios sdk 4.3 installed on Mac .
this is message i m getting in organizer.
The version of iOS on “Apple’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 Apple’s iPhone
5.0 (9A334)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3.5 (8L1)
4.3.3 (8J2)
4.3 (8F190)
4.2
4.1
4.0
4.0.2
4.0.1
3.2
3.2.2
3.2.1
here u can check that both os installed on iPhone and Xcode Supported ios versions are same.
so i searched a lot for this and i got only one answer that reboot device as well as machine i tried both but both didn't work for me.
what can be the exact solution for this?
I think it is glitch from Apple. I had 3.2.6 and xCode 4 but then 3.2.6 I installed manually 5.0 (9A334) on the SDK Platform SDK. It will show yellow mark that does not recognizes the device.
Here is What I did
Launch 3.2.6 then go to the organizer. If you see the yellow mark on your iOS 5 device then open Xcode 4 and go to the organizer. From the Xcode 4 you will see the green mark. Now close Xcode 4 and Xcode 3 completely using Command + q button. Re-Launch the Xcode 3.2.6. It now changes to Green mark instead. Hope it fixes your problem.

"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.

Build and test on 2.2.1 iPod Touch with Xcode 3.2.2?

I've just installed Xcode 3.2.2 with iPhone SDK 3.2 Beta 5 (Snow Leopard)
This version of Xcode didn't come with any iPhone SDKs older than 3.0. But I want to create an app that runs on all devices from iPhone OS 2.2.1 -> 3.1.3.
I managed to add older SDKs into Xcode by downloading iPhone 3.1.3 with Xcode 3.1.4 and installing each 2.x SDK from the 'Packages' folder in the .dmg. So now I can select 2.2.1 as 'iPhone OS Deployment Target' and the 'Base SDK' as 3.1.3, and the app will build (thus letting me use 3.1.3 APIs with conditional coding whilst still running on 2.2.1 devices).
But the problem is the app will not install and run on my 2.2.1 iPod Touch. Instead, Xcode tells me 'No provisioned iPhone OS device is connected'. If I bring up the Organizer, in the left column, the iPod Touch has an orange sphere next to it, instead of green, and clicking on this reveals:
'The version of iPhone OS on “iPod touch” is too old for use with this version of the iPhone SDK. Please restore the device to a version of the OS listed below'
I'm not sure how to get this version of the SDK to support 2.2.1.
(It needs to be this download of Xcode/iPhone SDK because I also want it to be a universal binary so it runs on the iPad with a minimum of fuss).
While under NDA, I can't be more explicit than to tell you to read this thread in the Apple Developer Forums, which includes an explanation of this problem.
As far as I know, Apple recently made the 3.x updates available free of charge. I don't think there are any users out there still on 2.x!