iOS6 development on Snow Leopard - xcode

I'm on Mountain Lion at the moment but the battery life is terrible and I'm thinking of downgrading back to Snow Leopard. The only thing is, now that we have to submit our apps for the 4-inch screen of the iPhone 5, will the last Xcode build supported on SL (4.2 I believe?) be able to build these apps? Or am I completely stuck on ML?

The latest Xcode with which you can use the 4-inch iPhone simulator runs only on Mountain Lion.
However, if you don't mind not using Xcode, you can extract the essential parts of the toolchain (the compiler and the headers + libraries) and use the clang compiler from the command line - it should run just fine even on SnowLeopard and compile your apps.

You are stucked to Mountain Lion! :)
Xcode 4.2 doesn't have support for ios6, neither iphone 5 nor ipad mini

Related

Mac App Backwards Compatible to Yosemite

I'm on El Capitan in XCode 7.3.1 and Swift 2 trying to make my mac application work on Yosemite (it just doesn't open at all with no crash logs).
I have 10.10 set as the deployment target, but that didn't change anything.
I downloaded Xcode 6.4 on another machine and loaded the project and it's complaining a ton about all of my swift code not being a thing.
I'm assuming (hoping) I don't have to figure out how to write this in an old version of Swift in order to make it work on Yosemite.
How do I know which features of the new SDK need to be made backwards compatible?

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

Compile for 10.5/10.6 & PPC

I'm needing to compile a C++/C/Objective-C project for 10.5 (ppc, intel)+ however Xcode 4+ (using 4.6) drops support for 10.6 and i believe Xcode 4 completely dropped support for 10.4/ppc. I have read existing StackOverflow and other posts about installing Xcode 3.2.6 on Mountain Lion but i don't want to do this if it's unconfirmed/will break my system..
I've tried virtualising Snow Leopard in a VMware Fusion 5 Pro VM but it doesn't allow me to as it is not a server version.
Besides buying a Snow Leopard Server DVD, how else can i compile my project for 10.4+ (ppc,intel)? I am currently running OS X Mountain Lion 10.8.3. Setting the deployment target does not work in my Xcode version, doesn't compile. I've also considered virtualising Lion, however i do not have a backup copy of (my purchased via app store) install dmg/app and i can't seem to find the download in the App Store.
Can anyone suggest what i should do or am i basically left with one option.. Dual boot Snow Leopard?.
Thanks!

Xcode 4.3.1 on Mac 10.6.8

I work on Mac 10.6 because I don't want to lose spaces to Lion. It's an extremely efficient part of my workflow. And I program for the iPad and need to write for iOS 5.1 and the new retina display, but for some reason apple has made the new Xcode only available for Mac 10.7 or later.
How can I either install the new Xcode, find a workable Xcode, or somehow install iOS 5.1 support into my current Xcode? (4.0.1)
You can not do that without cheat with Apple, you need to stay up to date !
It is not possible, you have to upgrade. Xcode 4.3 is coded with innovations that will only work on OS X Lion.
The cap was Xcode 4.2 that ran on SL. You will have to upgrade or continue only developing for older, legacy iOS versions (not a good option).

Resources