peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
09/23/13 11:31 AM (12 years ago)

Use XCode 5 to compile for iOS 6?

I've been using XCode 4.6 for a few weeks to create an app, and I'm nearly finished. I had a very nice test version on my iPad running iOS 6. I updated my iPad to iOS 7 over the weekend. App still looks fine (the older darker look). I made some changes, and recompiled my test app, but when I tried to install on the iPad, XCode said "your iPad is too new, upgrade XCode". So I did. Upgrade went fine. I installed my app using XCode 5 on my iOS 7 iPad. Things look a little funny. It gave me the iOS 7 look (I wasn't expecting that), and some of the screen transitions look strange. Functionally everything is fine, but it looks a bit off. As close as I am to being done, I see I shouldn't have upgraded. My app looked and ran fine until I upgraded the iPad, which in turn caused me to upgrade XCode, and now I wonder what it will look like for customers, or if Apple will even approve it. I'm not really sure how to solve this. My goal is to submit the app I had last week (using XCode 4.6 and for iOS 6), which looked and ran fine. I'm feeling like the only way I'll get there is to uninstall XCode 5, find XCode 4.6 and put it back on my computer, and see if I can get back to my "pre-upgrade" state. Unless anyone is aware of how to use XCode 5 to compile an app so it looks like it's for iOS 6? I do plan to get into iOS 7, but I didn't want my customers to wait while I figured it all out.
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
09/23/13 01:02 PM (12 years ago)
UPDATE: I downloaded XCode 4.6, pulled out the iOS 6.1 SDK, and pasted it into XCode 5 and restarted. I then changed the Base SDK to iOS 6.1 in my app, and re-built. My app now looks like it was made for iOS 6, even on iOS 7, which is the way I'd like it, at least for this first release.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/23/13 01:03 PM (12 years ago)
yeah - apparently upgrading XCode came with some undesirable effects for all our iOS6 apps. Now I know why so many apps on my phone were getting the "updated for iOS7" update. Once you upgrade XCode you're stuck into redesigning any app you submit to the app store from there on out. It sucks, since those on iOS6 still will have to have a bad-looking mix of the two platforms until they upgrade. Another thing that I already don't like about iOS7: They broke my custom alertViews. Apparently the only explanation is "this is not meant to be customized" (or some crap like that). What a bunch of bull if you ask me.
 

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.