iPhone App made using Xcode 3.2.3 does not run on 3.1.3 OS - xcode

I can't figure this out and I thought that someone might run through the same thing.
I have Xcode 3.2.3 (Pre Release with OS 4 beta) and I started to create my application, after the final touches and everything worked ok, I changed the Simulator - 4.0 to Simulator - 3.1.3 (latest iPhone OS) and I could never start my app again :-(
Does anyone know what I should do?
I created a simple Screencast of the problem so everyone can see what I'm writing about.
Thank you for all the help.

Independent of the NDA, the key thing to understand is that the base SDK does not have anything to do with you "deployment target", which basically sets what platform you are deploying to.
Go to your project settings and search for "iPhone OS Deployment Target". You can set that to 3.1.3 at your leisure. Even if your base SDK is 4.0 beta, it will work.
In the same way, if you had Base SDK 3.1.2, and wanted to be able to check whether you're safe on 2.1, you could set the iPhone OS Deployment Target accordingly.
I wish I could find the URL that answered this question for me when I had the same concern - it makes a very clear distinction.

You should ask on the Developer Forums, since OS 4 is in beta and under NDA.

Related

What is the minimum version of Xcode I can use for submission to app store

I have an app on the appstore currently that is built using Xcode 6 with a deployment target of iOS 7. The recent release Xcode 6.3, however only works on OSX 10.10
Can I submit updates to the app store by building on an earlier version of Xcode (6.2 in my case) because I am unable to update OSX to 10.10? Does Apple release documentation about this when it releases a new Xcode version? The only thing I found was this
https://developer.apple.com/library/ios/qa/qa1806/_index.html
which says that I should aim to build with the latest version of Xcode but does not mention if the app would be rejected/approved if built with a lower version.
The minimum Version of Xcode is 5.1.1 as stated in iTunesConnect when you want to upload a new binary of your app. This information does obviously include, that you can of course use Xcode 6.2 for AppStore submission.
Hope that helps :)
You can build using the lower version of the SDK within reason I believe. Some older compilers may be missing features that Apple will eventually require, but in the short term shipping with 6.2 won't really hurt much.
That said, Xcode 6.3 should include the iOS SDK. Make sure you got it from the App Store, which includes the full suite of stuff.

What is the lowest OSX version for submitting to the App Store?

I have looked, but I cannot get a version of Application Loader old enough to install on OSX10.5.6 . I would hate to have to buy a mac just to upload my app to the app store. I think I can install xcode 3.1 (downloading now), but I do not see anything about application loader being a part of 3.1? Any suggestions would be helpful
Right now you should already publish app that supports iOS 7...and you need at least XCode 5 for that (which means at least Mac OS X 10.8).
You really need a Mac with recent OS X. I think this policy is not really fair but it is the way it works.

Location services are not functional in iOS 4.3 simulator running on Mac OS 10.7 with Xcode 4.2

I have built an iOS app that leverages Core Location Framework. I have Xcode 4.2 installed and Lion and now Location services are not functional.
Anyone know if there is a patch or workaround for this? I basically stuck and can't test my app on the simulator.
The updated location services in the iOS Simulator are not available to the general public as of yet. If you have access to the iOS Developer Program, you can download the latest beta of XCode, 4.2, and test that way.
As a warning, the beta is just that, a beta. You may end up with more testing issues that are completely unrelated to your location services.
Best case scenario is 2 machines, one for each. That isn't always feasible, so you'll have to decide which is more important. Good luck.
Testing on the device would definitely be a good work around. You will want to test on a real device to check Xcode 4.2 is still in Beta, so this might be a bug in this latest version. According to the documentation it is supposed give you the latitude and longitude of the Apple headquarters as a default.
iOS Simulator notes

Issue with Xcode 4.1 & iOS 5

So basically i have upgraded to iOS5 and xcode 4.2 but after a little playing around i found out you can't submit apps to the app store with it (even if the apps are set to 4.3 or lower)
So i reinstalled xcode 4.1 (xcode did some back up thing so i still have 4.2) and started work on application building and such like. Submitted application to app store / testing on device everything running fine.
But suddenly (well just now) xcode has said:
The version of iOS 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.
So i can no longer test apps on my device, nor can downgrade my iPod says apple...
but what im sooo confused about is that it was all working a few hours ago.
Why can't i do it now?
Anyone know a fix?
Thank you.
Eli
Apple has apparently told testers of iOS 5 that any devices updated to that beta cannot be downgraded back to iOS 4. They will only be able to further upgrade their device and eventually install the final iOS 5 release. From Apple:
Devices updated to iOS 5 beta can not be restored to earlier versions
of iOS. Devices will be able to upgrade to future beta releases and
the final iOS 5 software.
However, I've also seen this post: http://www.jailbreakmovies.com/2011/06/08/how-to-downgrade-ios-5-back-to-ios-4-3-3-tutorial-video/ which claims to be able to restore iOS 4.3 to a device. I haven't tried it, but if you're feeling adventurous and/or desperate, you might give it a go.

Xcode Crash while "build and archive"

i have snow leopard 10.6.3 installed via iAtkos..everything runs good even XCode as well.I can successfully build iPhone apps run them on the simulator and the device but when i use the "build and archive" option( for adhoc distribution or itunes connect ) XCode simply crashes..does anybody have a solution for this?
thanks in advance
btw XCode version 3.2.3(tried 3.2.3 as well same result,also in safe mode)
Mac OS X version 10.6.3
I had the exact same problem, and it turned out it was caused by a variable of wrong type in info.plist. My short bundle version was created as int instead of string.
I was getting the warnings about it, but it didn't seem relevant since the crash happened only when archiving, and normal building worked fine, the app ran fine. I suggest you check your benign looking warnings, one of them could fix the issue.
You might try 3.2.4 (available now).

Resources