App not installing on iPhone 5s - iphone

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.

Related

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

Xcode 4 will no longer run apps on 4.2.10 device (CDMA iPhone)

Up until today, I have been able to test my app on my CDMA iPhone, running 4.2.10. I am building against the 4.3 SDK, with a deployment target of 4.0.
After restarting my phone today, Xcode will no longer allow me to test the app on my phone, with this message in the Organizer window: "The version of iOS on "iPhone" 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, or update to the latest version of the iOS SDK"
Unfortunately there are some bugs with location services in the simulator, so I can't use that for testing either.
Can I even install the 4.2 SDK in Xcode 4? Is anyone else having this problem, or (hopefully) does anyone know how to fix it? Thanks for any help!
If you install xcode 4 it will actually gather the build chain from your phone and use it for compiling. You can see this in the organizer window (Window->Organizer?).
You know I had that same issue i found that I had to download the latest xcode and reinstall because for some reason the ios that came with xcode knew how to build on my phone. Sorry man.

Upgrade to iOS 5

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.

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.