Upgrade to iOS 5 - iphone

I'm iPhone developer. I want to upgrade my iphone to iOS 5. But I'don't know if I can run applications for iOS 4? Do I need to install new Xcode with new SDK?

You can install iOS 5 using the beta SDK, or you can go through iTunes Beta 10.5.
I am sure iOS 4 apps will run on the Beta iOS 5. You may run into some crashes depending on what frameworks your app uses versus what frameworks have changed. This is a great opportunity to test your apps against iOS 5 and correct any issues.
But keep in mind it is still a beta, and an early one at that.

You have to install the new beta sdk and then just install iTunes 10.5 beta and open iOS 5 beta file, it will open in iTunes and install on your device.

Yes..You need to get the latest SDK from the Apple developer portal with your username and password.
You will also get the iTunes beta but that shouldn't be of much use as long you use the simulator to try stuff out; but if you have the developer access, use the device instead.

Related

App not installing on iPhone 5s

I have a MVC web app, which is distributed through ad hoc for iPhone using Xcode 4.5. The Xcode iPhone simulator is 6.1. The app installs fine on previous versions of iPhones, but not installing on iPhone 5s.
Can someone tell me, how I can make adhoc distribution for latest iPhone. Should I update Xcode or any other workaround?
No there is not need to use the iOS 7 SDK, all iOS 7 devices are capable of running iOS 6 apps.
Just make sure that you have the correct UDID, if the UDID start with FFFFF the UDID is not corrcet. Since iOS 7 the developers can not access the UDID any more. Thus all the UDID app are not longer working.
You should use iTunes to retrieve the UDID of the device.
Well Yes, Updation is required. This is because iPhone 5S has iOS 7.0. You will need to update your xcode 4.5 to xcode 5 which is required for running ios 7.0 . Xcode 4.5 will not create builds for ios 7.0 . Therefore you need to install a version of xcode that supports iOS 7.0 and later.
I was having a similar issue, and I found my answer here: Xcode 4.5 - can't install developer .ipa files via iTunes
Using the accepted answer there, my issues for installing on the new 5S went away. I just had to rebuild the distribution profile, make a new .ipa file with it and try again. Strange error, but the answer worked for me.

iOS beta releases, separate from current stable development?

I remember reading something once, but could not find it now while searching, if there are things I need to worry about when installing an iOS beta.
If I install the iOS 6 beta, do I need to worry about it overwriting my current Xcode 4.2 (iOS 5.1) development? Or does it install it in a separate location automatically? Or is that all I need to do, in that I need to put it in a separate location when installing instead of the default location?
If I put a device on iOS 6 beta, it cannot be downgraded back to 5.1 right?
Are those the only things I need to worry about? Thanks!
As Apple states in the Xcode 4.5 Developer Preview Release Notes[1]: Xcode 4.5 comes as a single app bundle that can simply be dragged to the Applications folder. You can start it from there and it will not install or overwrite any existing developer tools like previous Xcode versions.
Apple states that
Devices updated to iOS 6 beta can not be restored to earlier versions of iOS. Registered development devices will be able to upgrade to future beta releases and the final iOS 6 software.
But you may be able to downgrade your iOS device as long as version 5.1 is the official version served by apple by putting your device in the DFU mode. When Apple pushes iOS 6 for everyone you may be able to downgrade your device with TinyUmbrella[2]. This worked with previous versions but there is no guarantee it will work this time.
[1] http://adcdownload.apple.com//Developer_Tools/xcode_4.5_developer_preview/xcode_45dp_rn.pdf (an iOS Developer account may be needed to view this file)
[2] http://thefirmwareumbrella.blogspot.com/
I know that an iOS device running beta cannot be downgraded per the iOS Dev Center:
Devices updated to iOS 6 beta can not be restored to earlier versions of iOS. Registered development devices will be able to upgrade to future beta releases and the final iOS 6 software.
And yes, I believe you can install multiple versions of Xcode at a time, including betas. The installer should ask you where to put it.
There's nothing else you need to worry about, but if you put the beta iOS software on your device, make sure you use a device dedicated to development or back up everything.
This is creeping on NDA territory, but in general:
Beta versions of Xcode cannot be used to submit apps to the App Store.
Sometimes you can install two copies of dev tools on the same machine. In the past it hasn't always worked properly; now that all of Xcode is contained in the app bundle, maybe it will work more smoothly.
The safest thing to do is get an external hard disk, install Mac OS X on it, and then boot from it and install the beta tools on it. Then you can safely play around without messing up the release version.

Provisioning iPhone on Snow Leopard, XCode 4 and iOS5.1

I'm new to the whole iOS development thing but I have completed my first app and now wish to deploy to my iPhone for final testing round.
However, I have a yellow dot next to my device and the message tells me that iOS 5.1 is not supported and that I need to get the latest SDK's.
I have done that but still the error persists insisting that the highest iOS i can test is 5.0.
I'm not going to go back to 5.0 on my iPhone as that would just be stupid.
I have the latest updates for Snow Leopard, latest updates for xCode 4.
Anyone know what I need to do for me to be able to use my iPhone?
Xcode 4 max supported iOS is 5.0, as your phone is iOS 5.1 it is not possible to install your app directly with Xcode. You have two solutions:
1/ Either you install Xcode 4.3.2 (iOS 5.1), but you need to install Mac OS X Lion (10.7)
2/ Or create an adhoc version of your app (it is explained on Apple web site), and use this software to install your app on your phone : http://support.apple.com/kb/DL1465?viewlocale=fr_FR&locale=fr_FR

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.

Can I deploy app to iphone 3gs iOS 4 from XCode_3.1.4_iPhone_SDK_3.1.2 directly

Currently I installed XCode_3.1.4_iPhone_SDK_3.1.2 on Mac OSX 10.5.8, and I plan to buy an iphone 3gs 8G iOS 4 in the following days. I heard from friends that iOS 4 can't be downgraded to 3.x!
My question is, can XCode_3.1.4_iPhone_SDK_3.1.2 deploy app to iOS 4 device via iDP? Should I upgrade system to 10.6.4 and install Xcode_3.2.3_iOS_SDK_4.0.2?
For jailbreak iOS 4, does ldid still work well? Or some other tools for code signing?
I didn't try with iOS 4 yet, so could you give me some help, thanks in advance.
Email/MSN: linkou.bian#gmail.com
Im not sure if this has been changed, but you used to be able (when xcode was around 3.1ish) still be able to install onto 2.2.1 even though xcode didnt recognize it. Just had to build the app with deploy targetted to 2.2.1 and then get the .app and move it to itunes, then sync your itunes with the phone and it worked.