missing iphone 3.2 simulator support - xcode

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.

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

XCode 5.0.1 and iOS 5.1 simulator issue

After upgrading XCode to 5.0.1 on Mavericks I can't install iOS 5 simulator, it's removed from Download section... Is it only happening to me or does anyone else has similar issue?
Is it possible to install 5.1 simulator from outside of Xcode Downloads page?
Unfortunately, iOS Simulator 5.0 and 5.1 don't work on Mavericks. The reason for this is best explained by gparker on the developer forums (https://devforums.apple.com/message/911139#911139):
The iOS simulator does not duplicate some of the low-level parts of iOS. For example, it uses the host OS X's kernel instead of trying to virtualize the iOS kernel. The iOS simulator requires that these subsystems look sufficiently similar between the simulated iOS and the host OS X. When a new host OS X changes too much it can break old simulators. At that point somebody makes an engineering and cost decision to either update the old simulator or drop support for it.
Not the answer you and I were hoping to find. You could of course run Mountain Lion in Parallels for testing iOS 5.x.
I face the same thing when I installed the XCode4.5. Then I copied the SDK from my old xcode to the new xcode.
The SDK is located in the following path.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
/Applications/Xcode4.5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
iOS Simulator 5.0/5.1 is available only on Mountain Lion. If you're running on Mavericks, you'll only see iOS 6.0/6.1/7.0.
iOS5 Simulator on XCode5-GM
Additional Simulators can be installed from Xcode -> Preference -> Downloads -> Components
However, in case of Xcode 5.x iOS 5 simulator cannot be installed since Mavericks doesn’t allows it.
Apple document for Xcode 5

How can I test app on older iPhone 3G with iOS v 4.2.1

I have been testing my app on my iPhone 4S and my wife's iPhone 3GS. I would also like to test it on the older iPhone 3G running iOS 4.2.1 (the highest version it will support).
When I connect the 3G to my Mac and attempt to provision it, I get two error messages:
Could Not Support Development
and
Xcode cannot find the software image to install this version
I am using the latest version of xCode (v. 4.4.1).
Is there some place to find the missing 'software image' in order to test my app on the 3G and older iOS devices?
If not, how does one know what devices the app will work with?
I do note that the newer iPhones that run iOS5 and above also support Automatic Reference Counting (ARC). I have checked the ARC button whenever I created a new project. Does one have to abandon ARC if one wants their app to work on an older pre iOS5-capable device?
...Dale
Is there some place to find the missing 'software image'?
I believe you can download it through iTunes by clicking restore in the device's summary page and then searching for the *.ipsw file. iTunes might even share the image once it is downloaded automatically.
Does one have to abandon ARC if one wants their app to work on an
older pre iOS5-capable device?
Not in entirety. iOS 4.2 supports the vast majority of ARC, But it does not support weak references.
Also, there are a few hoops you must jump through to target. I have an answer here that outlines them (with screenshots).
I know for a fact that Xcode 4.4.1 can use an iOS 4.2.1 device as a target, since I can test on a second generation iPod touch running 4.2.1.
Finally, If you are not able to obtain a software image, you could try adding your device by UDID directly on the provisioning portal through developer.apple.com.(The old fashioned way)

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.

Resources