Any issue continuing iOS5 development with the iOS6 SDK installed? - ios

I'd like to download and install the iOS6 SDK, but I'm concerned that I'll step through a door that I can't step back through. I need to continue production-ready iOS5 development while playing with iOS6. Is there any issue about having both SDKs installed? (I do understand about the OS installed on particular devices; I'll have both iOS5 and iOS6 devices.)

I downloaded and installed the new beta. Since Xcode 4.3, Xcode is mostly self contained and 4.5 exists happily alongside 4.3

You cannot send apps that were generated by beta software to the app store, it will get rejected even if you build the app just for iOS 5. I would suggest that you install Lion/Mountain Lion on an external drive to play around with iOS 6.

Don't do it. I downloaded 4.5 with iOS 6 SDK and now the "Base SDK" is set to iOS 6 and I cannot change to anything less than 6 and half the libraries we use complain about armv7s slice.

Related

Configuring an iOS 7 application that is compatible with iOS 6

I have an iOS 6 application that I had created, but not published, at the time when iOS 7 came out and so I went ahead and updated it to work with iOS 7. And now that I've published the appstore has the following text in the compatibility section for the application:
Requires iOS 6.1 or later. Compatible with iPhone, iPad, and iPad touch.
Now my problem is that when trying to install it from the store, onto a device running iOS 6.1, I get prompted to get iOS 7 if I want to continue. Downloading and installing onto a device running iOS 7 works.
Running on a simulator with iOS 6.1 works perfectly as well.
Has Apple started forcing a os upgrade or have I missed some configuration in Xcode?
Here is what I have (and believe is relevant) in Xcode:
Valid architectures: arm64 armv7 armv7s
Base SDK: Lates iOS(iOS 7.0) // I get no other choice
iOS Deployment Target iOS 6.1
All help would be appreciated in finding out what is going on here.
UPDATE 1 (25. October):
I've sent a message through the iTunesConnect portal and gotten a response. I've been asked to point all users having this problem to contact customer support, or contact developer technical support through the appdev portal on Apple's webpage. I've done the latter, and will update when I get a response.
Are you linking to a library that is only compiled to iOS 7 that may be the issue ? Although Xcode usually gives you errors for things like that.

upgrading to latest ios sdk with ipad1 and ipad2

I have xcode 4.5.2 and iOS 6.0 sdk. I have been using my ipad 1 device for testing my app (building for ios5.0). I also have access to my daughters ipad 2 and want to test my app with this. The problem is when I use xcode organizer "use device for development" it says the device has software version 6.1.x and to use it I would need to upgrade to the latest version of IOS/xcode.
So my question is, what does this mean for testing on my ipad 1? Will I lose support for ios5.0? I'm afraid to download and install, for fear that I will lose this and won't be able to go back.
FYI, currently in xcode I can deploy to targets using 4.3, 5.0, 5.1 and 6.0. Can anyone with the latest xcode/ios tell me what's available in the deployment target drop down?
Sorry for the lame question...please don't flame me : )
Check in left-up side of screen select xcode>preference>download and see their SDK version iOS 6.0.1 available if not than you have to upgrade your xcode to xcode 4.6 and than you can redownload previous SDK from xcode>preference>download.
See here i have xcode 4.6 and supporting SDK from 4.3,5.0,5.1,6.0, and 6.1

Will Xcode 4.3.2 suffice to build apps for iOS 6?

After today's announcement that iOS 6 Beta is available to developers today, I am wondering if I jump on the iOS 6 ASAP will I still be able to build my apps in progress on my device(iPhone) from Xcode 4.3.2? or will there be a required update for Xcode as well?
Update: Currently I have iOS 6 on my iPhone and Xcode 4.5 installed. After that the organizer in Xcode (4.3.2 and 4.5) said 'could not support development' in the Provisioning. Then fixed that, and now I have 4.3.2 saying that it is running my app on my iPhone, but its not showing up on my phone. And 4.5 gets to the 'TakingInstallLock' point in the process, and just keeps trying, but getting nowhere. Anyone else having this issue? Anyone know of a solution?
You can push apps to your phone from Xcode 4.3.x if your phone is running the iOS 6 Beta.
You cannot, however, utilize any of the iOS 6+ frameworks such as the new Social framework from within Xcode 4.3.x
I can't comment yet so this is to confirm that installing Xcode 4.5 DP acutally installs the iOS 6 SDK for Xcode 4.3.2 as well. This is rather obvious as SDK files are installed in a general place (namely the Library folder) of OSX.
The steps to use your updated iOS 6 device for development with Xcode 4.3.2 thus are:
Download Xcode 4.5 DP from the dev area of apple.com.
Install Xcode 4.5
Start up Xcode 4.3.2
Open up the devices section, choose your device for development, wait for the process of fetching information to finish and you are good to go.
Regards!
Any apps that you write using beta software will be rejected. To translate, if you use iOS 6 SDK beta or the new Xcode beta that gets released today, your app will be rejected even if you make a build for just iOS 5.
I installed iOS6 and Xcode 4.3.2 didn't recognize my device. After installing Xcode 4.5 beta and letting it install a few things, 4.3.2 now recognizes my device and I can carry on building and testing on my iOS6 device.
I would say no!
I updated last night and now I can't run my app on my phone.

Prerequisites for developing for iPad iOS 5.1.1?

Seems like every time i go thru a required update of either the mac OS or the device iOS, i always end up getting very frustrated to the point of giving up on the iphone/ipad development altogether.
I just recently bought an ipad2 (iOS 5.1.1). And i noticed that my old Xcode 4 didnt support this iOS version. So now I just upgraded to XCode 4.2. But now I am still required to downgrade the iPad2 iOS to 5.0 (unfortunately). Now if I wanted to develop for iOS 5.1, then I must upgrade to XCode 4.3.2, which means I also need to upgrade my OS to Lion (i currently have Snow Leopard).
I believe these are the prerequisites that i was able to straighten out. Please correct me if Im wrong.
Finally, if my assessment here is correct, then I do need to download the iOS 5.0 firmware. I am unable to find a link to this anywhere on apple's site (everything is for 5.1). Anybody know where i can get the download link for older iOS's ?
Thanks!
When you go to your Xcode organizer, could you connect your iPad and select "Use For development" button that appears with your device in the organizer?
If the answer is "yes", then you can develop for iOS 4 and just do your testing on your iPad running OS 5.1.1.
If the answer is "no", then you should update your Macintosh to Lion and your Xcode to 4.3.X (which will include the iOS 5.0 & 5.1 SDK).
If you want to "downgrade" your iPad to iOS 5.0 (and good luck with that), you can find a download link in this article.
But don't stress too much. Once you get accustomed to development, you can hopefully keep up with the times (and the frequent OS & Xcode updates) pretty easily.

Test iOS app with device of iOS 5.0.1 beta version

Now, I use Xcode 4.2 supporting iOS 5.0. Apple has just released iOS 5.0.1 beta 2. I can install it on my iPhone.
I want to test with this beta version, i.e build code from Xcode.
How do I build code from Xcode 4.2 for device of iOS 5.0.1 beta?
Please help
In exactly the same way that you would do so for iOS 5.0. We can't talk about beta versions of the software, but we can talk about what happens when newer versions of iOS are released. When you connect a device with a newer version of iOS installed, the Xcode Organizer will give you a message like:
Xcode does not have debugging information for the version of iOS on the device named “Dev iPhone”. Xcode can collect debugging data from the device to enable development with this version of iOS. This process only needs to be done once per iOS version, and will take several minutes.
You simply click OK or similar, and Xcode downloads the necessary debugging data. You can then build to the device from Xcode and use all the debugging tools as usual. This process works for point releases. It is highly unlikely this would work for major updates (e.g. if iOS 6 was released) and it may or may not work for iOS 5.1, depending on the changes included. But when Apple have not released a new version of Xcode to developers, you can be sure it is because one is not required.
It is important to understand the distinction between an updated version of iOS (for the device) and the iOS SDK (for Xcode). A point release of iOS does not necessarily require any change to the iOS SDK, and therefore with Xcode's ability now to download the debugging information on demand (a feature that has been around for a while), you don't necessarily need an updated version of Xcode. Likewise, with Xcode 4.2 you still set the iOS 5.0 as your base SDK even if you are setting an earlier version (e.g. iOS 4.2) as your deployment target. You don't need the iOS SDK v4.2 to target iOS 4.2 for deployment. (Just make sure you add back "armv6" to targeted architectures in your build settings, if you still want to support the iPhone 3G and equivalent iPods, as in Xcode 4.2 this is not included by default.)

Resources