Install Dev App on IPhone - Not in List - iphone

I have recently provisioned my IPhone to be a development device when I had version 3.1 of the firmware installed.
I was forced to upgrade firmware last night due to 3.2 being the base supported firmware by the framework I am using. I am now running 4.1 of the iOS firmware.
Before I did this the device showed up in XCode as a valid target to run my application aside from the simulator. Now when I open xcode I never see my device in the list. I also look at organizer and it is enabled for development as I am able to look at the console for the device.
Also the provisioning profiles are still there.
I am at a bit of a loss as to what is wrong. I appreciate any ideas people may have as to how I can fix this.

You're saying it shows up in the Organizer, but not in the "Overview" list in Xcode?
Are you perhaps still running the 4.0 SDK, and does it show up with a "yellow light" in the Organizer along with the error message like "this device's firmware is too new for me"? If so, updating to the 4.1 SDK should fix your problem.

Related

Launching Xcode 4.0.2 application on iPhone/iPad from VMWare

I would like to test an application on my iPhone and iPad.
The iPhone is running 5.1 and the iPad is running 5.1.1
I am getting this error:
Xcode cannot run using the selected device. 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.
I have a developer's license and have followed the provisioning wizard in the Apple website members section. I've installed everything like it said (certificate, provisioning profile in keychain, etc..) but am still getting this error.
I've tried compiling it on 4.3, 4.2, 4.1, and basically all of the options that are available in the build section.
In the Xcode Organizer, my devices show up with an Orange icon next to them. This is the 'error' message on this screen:
The version of iOS on “Personal 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.
This is all on VMWare on OS X 10.6.7.
I've read the other posts where people had a similar problem and tried the solutions proposed (which were mostly comprised of trying to run on older builds) and nothing worked so far.
Notice how you are compiling with an SDK version less than the version on your devices? That's a problem. For iOS 5 you need at least Xcode 4.2 (which comes with the 5.1 SDK).

iPhone Cannot debug any new projects on my iPhone

When I click my iPhone into the USB port, I hear the clicking sound and on my project it shows checking dd symbols and a little progress bar appears. But, when I click on the drop down list, upper right hand corner, my device does not show up, still says any iOS device. When I click debug, a box comes up saying xcode cannot run using using the selected device.
"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"
I checked to see what sdk version my project was using, it is 5.1.
On the organizer it says my iPhone is using software version 5.0.1.1,
Questions,
Do I have to upgrade my iPhone to 5.1?
I went to iTunes to upgrade it and they only had a option for 5.1.1, if I upgrade it to 5.1.1, will it still work with my xcode which has sdk 5.1 not 5.1.1
Any idea how to get my iPhone to work with the new projects created?
Also, the old projects are using sdk 5.1 and they run fine, could it be a different problem?
Just set the "Deployment Target" for targets and project to your device version.
To do this, click the project in the navigator -> info for project and summary for targets. There you find the deployment target.
Hope this helps
Try run a any XCode 3. And open him Organizer. Then will show a question about Collecting device. Press and reconnect a device. Must help. This helps in my case :)

Xcode 4 will no longer run apps on 4.2.10 device (CDMA iPhone)

Up until today, I have been able to test my app on my CDMA iPhone, running 4.2.10. I am building against the 4.3 SDK, with a deployment target of 4.0.
After restarting my phone today, Xcode will no longer allow me to test the app on my phone, with this message in the Organizer window: "The version of iOS on "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, or update to the latest version of the iOS SDK"
Unfortunately there are some bugs with location services in the simulator, so I can't use that for testing either.
Can I even install the 4.2 SDK in Xcode 4? Is anyone else having this problem, or (hopefully) does anyone know how to fix it? Thanks for any help!
If you install xcode 4 it will actually gather the build chain from your phone and use it for compiling. You can see this in the organizer window (Window->Organizer?).
You know I had that same issue i found that I had to download the latest xcode and reinstall because for some reason the ios that came with xcode knew how to build on my phone. Sorry man.

iOS 4.3.1 on the phone - does it work with XCode 3.x ? or only 4.0.1?

I upgraded my iPhone to the latest OS (4.3.1) yesterday, and noticed there is no corresponding XCode 3.x release, only a 4.x release (4.0.1).
Since upgrading I am getting warnings when I try to install apps on the device using my development certificates (Application failed codesign verification).
Not sure if the OS upgrade on the Phone and the error message are related, so I'm just asking the question if anyone else had this happening?
And are we supposed to use XCode 4.0.1 when we develop for the 4.3.1 iOS release or can we use a 3.x version as well?
The Xcode version number isn't important, but the SDK version number is. You can get the latest SDK with either Xcode 3.2.6 or Xcode 4.0.1 at the time that I'm writing this.
You can still download the XCode 3.2.6, it goes with the SDK 4.3, and it is free to download.
You can try with XCode 4 as well, but you have to either to have an iPhone or Mac Developer account (99$/year) or you need to buy it from the AppStore
It still works, however of you first attach your iPhone to Xcode it will ask you to download the debugging symbols off the phone. Answer Yes to this question and you are ready to go.
However there is one more thing: usually Apple makes restrictions about the SDK you should use when submitting apps to the store. So if you want to submit an app it could be that you have to use the most recent SDK.
Deploying an application directly from XCode 3.2.6 on a device where iOS 4.3.1 has just been installed won't work.
First, you need to open XCode's Organizer window and ask to collect information from the device. Then it will work fine.

Xcode 3.1.3 - Organizer The device is not activated. Please activate it using iTunes

I recently upgraded my XCode SDK to version 3.1.3 and my iPhone OS to 3.0. It is important to note that everything was working fine when I had OS version 2.2.1 in my iPhone. My iPhone Touch device is not jailbroken and I have a valid provisioning profile in the organizer which is linked to my iPhone Touch however it has a yellow circle next to it.
This is because in the organizer under devices it displays the ipod with version 3.0 (7A341) and then it Reads (in the section where the provisioning profiles should go):
This device is not activated. Please activate it using iTunes.
When I go in xcode and build the application it does so just fine, and the code signing is in fact assigned to the correct provisioning profile. But whenever I try to run it in the device I get "No provisioned iPhone OS device is connected.". This is because the organizer keeps telling me to activate the device using iTunes.
I have iTunes version 8.2 and the device is there and i can sync it just fine, however it keeps displaying that message in XCode. I have tried restoring my ipod about 10 times but I always get the same result, I have also tried powering off the iphone Touch and the computer but nothing seems to help.
Does anyone else have this problem?
I have the same issue, but I have an ipod touch version 2.2.1. It used to connect to Xcode 3.1.2, then I upgraded to 3.1.3 and it doesn't work. I reverted back to 3.1.2 and it does not work. It does work on a friends mac with 3.1.3 so there is something wrong with my iMac. Firewall is disabled. It connects to iTunes fine and it is activated. Just won't show up in the organizer. Rebooting does not work. I reset, and restored it and it still doesn't connect. The fact that it connects to a friends mac and not mine leads me to believe that upgrading the ipod to version 3.0 would not fix the issue.
Jimi
http://developer.apple.com/iphone/index.action#downloads
download and install it
Leopard Downloads
* iPhone SDK 3.1.3 with Xcode 3.1.4
* iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
open mac terminal
$ ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ (7D11)/ /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3
my space write in here
http://leefj.spaces.live.com/blog/cns!ADF54DD0A549AD9B!462.entry
Thanks to flycomputer i was able to resolve my problem with iphone os update to 3.1.3.
But i didn't need to make the symlink so check if it's done by itself or not before lunching the command :
$ ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ (7D11)/ /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3
This usually means your Phone is not activated with your provider. Can you actually make phone calls with your iPhone? Did you restore your phone via the XCode Organizer or iTunes?
Well it is not actually a phone it is an iPod Touch. I tried to restore it both via Xcode Organizer and iTunes with the same results.
This isn't the error I get, but try rebooting the iPod. Hold down the sleep/wake button on the top for a few seconds. When it asks if you want to turn off the device, move the slider to turn it off. I usually wait a minute and power it back on. This always works for me.
You are probably behind a firewall, with anti-spyware protection activated.
iTunes needs to connect properly to web (Apple, I guess) in order to activate correctly your device.
Disable the firewall, then launch iTunes, that worked for me.
JR