I just updated my iphone 4S to ios 6.1.1 from 6.1 over the weekend b/c it said it was a critical update. However, now when I try to test my app on the phone using Xcode 4.6, it says "Xcode cannot run using the selected device." I checked the apple site for updated but didn't see any xcode updates. Any ideas?
EDIT: I opened the Xcode preferences and checked for updates and it said there weren't any but then my phone suddenly started working again though. Thanks for the comments and input.
Issue fixed itself after checking for updates in xcode preferences.
Related
Has anyone turned off their iphone, then turned it on again only to find that xCode won't recognize it anymore? I'm using xCode 4.6 to run my app with the 6.1 SDK on my iPhone5 which runs iOS7.0.1, and it was working fine up until I turned off my phone. Now, in the organizer I'm getting an orange dot next to my device and it's saying:
The version of iOS on 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.
I've tried deleting the app, restarting the phone, cleaning, deleting derived data, deleting the actual derived data folders, unplugging / replugging the phone, and nothing seems to fix this. Has anyone ran into this before and been able to fix it?
I'm not meaning to be rude, but did you read the actual error message you posted? This line:
The version of iOS on is not supported by this installation of the iOS SDK
Please restore the device to a version of the OS listed below
means that your phone is not the same as the ios sdk you are using, which is ios 6.1. Your phone is 7.0.1, which aren't the same in any way. So you need to change back to 6.1 on your phone, or use xcode 5 for ios 7 purposes.
Hope this helps :)
I have xCode5 installed on my computer as well, so I closed xCode4.6, opened xCode5, and it was able to detect my phone and install the app on it. Then I closed xCode5, reopened xCode4.6, and all of a sudden it was also able to detect my phone. Don't know why that works, but it does.
I am using Xcode 4.5. When I plug my device in, it is not showing up on run button, and I have a message that it can't run using the selected device.. The Problem is this two days to go its working very well and i am installed many application before with this xcode 4.5 and iphone 5 (6.1.3) Dont know whats going on today Any idea Thanks in Advance
Open your Xcode organizer (Shift+Cmd+2), go to Devices tab, select your device in the list and press "Use for development" button
Check that your deployment target is set low enough for your device OS.
Xcode 4.5 supports till iOS 6.0 for iOS 6.1.3 you need to upgrade your Xcode to 4.6.0 version.
I would venture that your device isn't included in the provisioning profile you're trying to compile the code with. Check organizer and see if your device has your target provisioning profile listed. If it does, unplug the iPhone, restart XCode and the phone and try again.
EDIT
#Armaan Stranger also brings up a good point about XCode 4.5 and iOS 6.1.3 however I'm a bit confused as to how you had it working previously.
Did I miss something? I updated my iPhone to 5.1 and now Xcode won't install developer apps on it. Here's from the Organizer:
OS Installed on User's iPhone
5.1 (9B179)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
You have to download Xcode 4.3.1, but they try to force it through the app store and a lot of people are having problems with it. If you want to get the download directly, go to Xcode section of the iOS dev center: https://developer.apple.com/xcode/index.php
Don't click the "View in Mac App Store" button - instead click the link at the bottom that reads: Looking for additional developer tools? View Downloads
Log in. Unfortunately, paid members only.
The 3rd or 4th item on the list will be Xcode 4.3.1 for Lion. You can download the DMG there.
Hope this helps!
The current Xcode doesn't have the latest iOS 5.1 SDK (not to mention it looks like Apple took down the beta builds). You'll have to wait until Apple updates Xcode.
I ran it fine, did all the certification hassle and my sister updates the iPhone and next day I can't test anything, Xcode doesn't simply recognize the damn iPhone. Please help. There is literally nothing I have found that solves this problem..
I should say that it worked fine a day ago. I'm so damn angry and frustrated I can't type..
Apple does a really really poor job of being clear what to do.
EDIT: I also see this "You don’t have permission to save the file “iOS DeviceSupport” in the folder “Xcode”."
What version of Xcode do you have and what iOS-version does the test-device have?
To test applications with Xcode 4.2.1, the device has to be of iOS 5.0.1 or down. If you updated to the iOS 5.1 beta, you will need to download Xcode 4.3 beta as well, as Xcode 4.2.1 does not have the required DeviceSupport-files for the beta.
EDIT:
Since you have Xcode 4.2, you will need to update to 4.2.1 to be able to test your applications on an iOS 5.0.1-device.
You'll need Xcode 4.2.1 if your iPhone is version 5.0.1.
I had the same problem,
Here is my solution!
First Update both Xcode and phone with the latest software.
Then go to the organizer and enable iPhone for development.
Done ..
I ran into a strange issue - iAd Tester app is no longer present in iPhone Simulator so I can't test iAds on it. I am using Xcode 3.2.4 with iOS 4.1 and iAd Framework 1.1.1. I tried re-installing the whole thing (Xcode and iAd package) and resetting the content of the simulator using command from the menu and manually deleting everything from ~/Library/Application Support/iPhone Simulator.
I think this happened after updating to latest Xcode a few weeks ago when everything worked fine. Any suggestions guys on where I am going wrong or missing something?
Developer Information:
Version: 3.2 (10M2309)
Location: /Developer
Applications:
Xcode: 3.2.4 (1708)
Interface Builder: 3.2.4 (804)
Instruments: 2.7 (3014)
Dashcode: 3.0.2 (333)
SDKs:
Mac OS X:
10.5: (9L31a)
10.6: (10M2309)
iPhone OS:
3.2: (7B500)
4.1: (8B117)
iPhone Simulator:
3.2: (7W367a)
4.0: (8A306)
4.1: (8B117)
Your help is much appreciated.
Try switching the hardware version on the iPhone Simulator:
Hardware -> Version -> 4.0.1
You may lose all of your organizational folders but once I did this I found the iAd Tester app.
I think sometimes the Apple server is just variable in serving test ads. I have an app that serves test ads sometimes in the simulator but at other times never loads them. Perhaps this is Apple's way of testing the code so that it responds appropriately to errors.
same thing is happening to me. my colleague at work can see the iAd Test app, but he has a lower version of the iPhone simulator. Not sure how to downgrade though.
...edit...
found the app, it's on "page 2". obviously I am new to iphones, let alone iphone dev.
switching the OS as described in the other answer was necessary for me too
I got the same problem. Sometime my app doesn't display Ad correctly. But I post to AppStore, it passed the review process and I can see some requests from America.
You can see it with the link: http://itunes.apple.com/ie/artist/tubiv/id383457772