Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 21    Views: 421

shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
11/11/12 01:19 PM (13 years ago)

Mobile provision: devices don't match iOS?

My app runs fine in the simulator, but when I try to set up devices for testing, I get this: The version of iOS on “shenry” 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.1 (9B206) OS Installed on iphone:6.0.1 (10A523) Xcode Supported iOS Versions Latest 5.0 (9A334) 4.3 (8F190) 4.3 4.2 Here's what I'm using: iTunes 10 Mac OS X 10.6.8 Intel Core Duo 1.83 GHz L2 Cache: 2 MB Memory: 2 GB Xcode Version 4.2 --- Is there a way to restore the devise to an earlier OS? Also, I believe this is the highest version of xCode I can use without upgrading to mountain lion (I'm on Snow Leopard because this MacBook Pro is 32-bit and not compatible with upgrade). Any suggestions on if/how I can proceed? Thanks.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/11/12 01:47 PM (13 years ago)
Hi @shenry, You trying to test on an IPhone 5 or 4? LA
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/11/12 01:49 PM (13 years ago)
iphone 4S
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/11/12 01:53 PM (13 years ago)
You would have to upgrade your Mac then. You can test on earlier IPhones, but with the IOS change, this excludes Macs without the latest software. I don't think you can even test on an IPhone without your developers license, but not positive on this. LA
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
like
11/11/12 02:10 PM (13 years ago)
The latest Xcode is 4.5, I had this same problem in the beginning of October. Go to the dev center for iOS @ developer.apple.com and download the latest 4.5.2 and you'll be good to go
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/11/12 03:13 PM (13 years ago)
Thanks, but unfortunately I can't download Xcode 4.5.2 because if requires Mountain Lion (or Lion) My MacBook Pro can't be upgraded beyond Snow Leopard. My app uses BTv2, so I don't think it would work on a iphone3 either. Curses, foiled again.
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
like
11/11/12 03:18 PM (13 years ago)
Check this out...may be of help http://www.macworld.com/article/1167868/how_to_install_mountain_lion_over_leopard.html It is my understanding that you can still download and install Mountain Lion on your system. You just have to purchase it from the mac store.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/11/12 03:21 PM (13 years ago)
Not if you don't have the latest MAC. You can test it on iphone3. This is Apples way of "gotcha" again. LA
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/11/12 05:07 PM (13 years ago)
Hi @shenry, I'm totally in the same boat as you with regards to Xcode. My Mac mini is stuck at Snow Leopard, and none of the newer versions of Xcode will work, so that means I can't get iOS 6 SDK. You CAN run an app compiled on iOS5 on an iOS6 device, but I don't believe it'll work doing the way you are trying. I think you'll have to move your phone back to the same iOS level as the SDK you have, or use a service like TestFlight in order to send yourself the app for testing. It's a bummer situation to be in. Hopefully if there's a way around it, somebody will pipe up. But I'm thinking we're both stuck. Mark
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/11/12 08:31 PM (13 years ago)
I'll try test flight, but I'm having a heck of a time trying to generate a .ipa within upload a build in test flight. I keep getting: " Invalid IPA: could not find the info.plist. Are you sure this is a valid IPA?'
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/11/12 09:10 PM (13 years ago)
Unfortunately I've never used TestFlight, so I'm not quite sure the way around that. Are you building for Archive?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
11/12/12 05:33 AM (13 years ago)
If your Phone was JailBroken then I beleive you can install what you like. Not saying that you should but that is an option. You can always un-Jailbreak the phone after the test.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
11/12/12 06:34 AM (13 years ago)
Hi, Maybe this helps! I have Xcode 4.2.1 and an iPhone with 6.0 and get my apps on my device. Assuming that the rest of the information about your app is correct: Do a clean --> set the app to iOS Device (not simulator) --> Goto Product --> Archive --> Organizer will show up --> click share --> check .ipa and choose the right provisioning profile --> save the file Now goto www.diawi.com and add the just created .ipa file by using the 'add files' button or just drag them in. --> click on more options and add your emailadress (you can open on your iPhone).--> click send and open the mail on your iPhone --> follow the instructions. That's it. Hope it helps. Best Regards, Danny
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/12/12 06:57 AM (13 years ago)
Nice to know @Danny.. great find.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/12/12 07:02 AM (13 years ago)
Hello everyone, With the xcode not upgraded to the latest Lion, that means the clients of any app cannot use the app in the latest Ios on IPhones. I would not recommend any "jailbreak" or manipulated files for the ethics and code of developers, but that is my two cents, which not worth a lot. LA
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
11/12/12 07:07 AM (13 years ago)
Hi, In my previous post I told that I use Xcode 4.2.1 and an iPhone with 6.0 . The procedure for this does work for testing on your own phone (or other phones assigned to the provisioning file). This does not work for getting the app into the appstore (as far as I know/have read)!!! Best Regards, Danny
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/12/12 07:10 AM (13 years ago)
Hey @PSMDanny, Yeah sorry, I wasn't aimed at your post. LA
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/12/12 08:52 AM (13 years ago)
Thanks for the suggestions, I'll give it a try. But to clarify, are you saying that an app created in xCode 4.2 will not be accepted by Apple, it has to be created in latest Xcode to be submitted because it will not work on an iphone with 6. I think I'm going to have to bite the bullet and get a newer Mac, or maybe a mini, was hoping to get this first one out. Silly me, I thought I was almost done :p
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/12/12 08:58 AM (13 years ago)
Hi @shenry, It will be accepted by apple, unless for another reason, but it will not work on the new IPhones with the new ios/operating system. I have a IPhone 4g, and do you remember recently we had to install a few upgrades to our phones? Well, that's the new one that wont work with that version of Xcode. Now it will work on 3 and 3s, not sure about 4 though, but def. not 4g. We had a great conversation about this about a month ago so try searching the threads and it tells you the version of Xcode. Hopes this helps. LA
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
11/12/12 09:48 AM (13 years ago)
Great. Thanks again all for the input.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/12/12 10:25 AM (13 years ago)
@LA is correct...it will be accepted by Apple. But you won't be able to compile your app to take advantage of any new iOS 6 features, if there are any in your app (which would require extra coding). iOS is backwards compatible, meaning that it'll support apps targeted to later iOS versions. When I compile mine, I target iOS3, which allows my apps to run all the way back to that particular version. Avoid targeting your apps for only the most recent version of iOS, because then only those people running that version can use them! I agree this a pretty bogus process by Apple. Forces us to buy new hardware which we all know is not cheap at all. They should make the newest Xcode work on many more versions of Mac OS X. Mark
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
04/13/13 02:37 PM (12 years ago)
BTW, PSM Danny, I tried this when you posted, and yes - it worked going to http://www.diawi.com. Thanks.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.