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

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

Related

App dev on Mac Mini 1.1?

Could the very first generation of the Mac Mini handle app development for the iPhone? My friend said he'd give me his for free to use XCode, but I want to make sure that it could run it before I take it.
Short answer: For current iOS versions? No. For any iPhone? Yes.
The latest OS X supported on that hardware (officially, don't know about hacks) is 10.6 and the latest Xcode you can get for that is 4.2 (if you have a paid account, it seems). Xcode 4.2 would support iOS 5.0, so if that's enough, then it can be used for development for iPhone. But I assume that's not what you're after, since a lot has changed since iOS 5.0.
No. If you are trying to develop against IOS8. You need OSX 10.9.4(Mavericks) to run XCode 6.1.
Minimum OS X and xcode requirements for ios 8.1 development

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.

missing iphone 3.2 simulator support

I have just allegedly downloaded iOS 3.2 simulator support.:
However, I do not see 3.X in my Simulator Hardware->Version menu:
Looking in /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs, sure enough I only see the 4.3 and 5.0 sdk files.
Any ideas as to why I am not seeing 3.2 simulator support whilst Xcode thinks that I should have this support?
(and/or of course, ideas about how to correct this situation)
thanks,
The list you're seeing is the Device Debugging Support list which means the ability to debug a physical device (iPhone, iPod Touch, iPad) of a certain iOS generation. These are not the iOS versions available to the simulator. There is no official way to add a simulator for 3.x to Xcode 4. You would have to install on old Xcode version to get the accompanying simulator.

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.

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

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.

Resources