Can I develop apps for Lion on a Snow Leopard machine? - xcode

Currently I am developing a Mac OS X app with XCode 3.2.5 on Mac OS X 10.6.8, the target is Release i-386. Will my app run normally on Lion?
Do I need to use XCode 4.0+?
Thanks

Every app built under the 10.6 SDK should, theoretically, work just as well under 10.7.
And you can use Xcode 3.X too, if you want. But yes, I'd recommend using the latest and greatest versions of Xcode (version 4) for development.

Related

Is it possible to develop for 10.7 and 10.8 using xcode 6?

I am developing OS X app which has GUI as well so designer will be used as well. The app in addition to latest OS X versions must support older platforms such as 10.8 and 10.7 Does xcode 6 support this out of the box if not, what are the steps involved to achieve it ?
Thanks,
Ahmed
I use Xcode 6 to develop an app that targets 10.7 with no problem.
The Deployment Target dropdown lets you select all the way down to 10.4.
In the build settings, set the deployment version (not the SDK version) to 10.7.

which Xcode is compatible with mono3.0 and lion 10.8

I need to develop a GUI for my MonoMac application. Which Xcode shall I use for cocoa development?
I am using Mono 3.0 and MAC OX Lion 10.8 in VMware on Windows 7 PC.
I'm guessing that you mean MonoDevelop 3.0.x and not Mono 3.0 (they are different things).
If that is the case, any Xcode from 4.2 or newer should work (older versions might work, but have not been tested).
I would suggest that you go with 4.4 or 4.5 as you'll need those if you plan to submit to the AppStore for Mountain Lion.

Can you build 10.7 applications with xcode 3?

Can you build Mac SDK 10.7 applications without having Mac SDK 10.7? Such as with an old Xcode?
Or do you need a new one? And what's the earliest 10.7 SDK was included in Xcode?
You can build applications that run on 10.7, but in order to use 10.7 specific API calls you need to build with Xcode on 10.7 or later.
The earliest Xcode that included the 10.7 SDK was Xcode 4.2 for Lion. Note that the Snow Leopard version of Xcode 4.2 does not include the 10.7 SDK.
You can Drag and Drop older SDKs into newer versions of Xcode and usually get them to work, you can't go the other way.
No you can't. In order to build apps for 10.7 you need the 10.7 library, which is only available in Xcode 4

Build app so it can run on different versions of OS X

I have an app that needs to be run on MAC OS X 10.5,10.6,10.7
I'm using XCode 4.02 and iOS SDK 4.3. My build settings are 10.6 MAC OS X, and Deployment target is 10.5.
Is this the right way to do it, or I should use the Mac OS X 10.5 SDK? I can't find it, I have only 10.6.
Right now my application runs on 10.5, but not properly.
If you are a serious apple developer, you should upgrade to Lion. You should also be using the latest SDK, OSX 10.7 that comes bundled with the latest version of XCode 4.2.X (It's free from the MAC APP Store). If you need to have your app run on previous versions of OSX, the correct way to do this is to set the "Deployment Target" (found in the build settings) to 10.5.
XCode/SDK updates are just like any other software update, they contain bug fixes and more importantly security patches, so you should ALWAYS be using the latest versions.

Is moving to Lion a prerequisite for moving to XCode 4.1 (from the app store)?

should you only download XCode 4.1 from the app store if you move to Lion?
i.e I am staying on Leopard for a few more weeks, so do I have to stay with XCode 4.0.2 until I move to Lion?
Yes. Xcode 4.1 Requires Lion. This has been well documented, but 4.2 is apparently available for Snow Leopard as well.
Xcode 4.2 is available for both Lion and Snow Leopard, if you download it from the iOS Developer Centre while logged in as a registered developer. The Mac App Store will only upgrade you to Xcode 4.2 if you upgrade to Lion, but you can manually install it on Snow Leopard by manually downloading it as described here, and it runs just fine on Snow Leopard.
Yes moving to Lion is a requirement. 4.1 brings all of the Lion features into the Xcode environment. I would say if you aren't ready to move to Lion yet, then just stick with 4.0.2 unless you need to develop for Lion.
UPDATE: As of Xcode 4.2, it is now for both Lion and Snow Leopard.
Yes, it seems:
This is a pre-release version of Xcode 4.1 for both Mac and iOS development. This release requires Mac OS X Lion and includes iOS SDK 4.2. Continue to use Xcode 3.2.5 on a Snow Leopard partition if you plan to submit Mac or iOS apps to the App Store
Details: http://thetechjournal.com/electronics/computer/software/xcode-4-1-developer-preview-for-mac-os-x-lion-is-available-for-download.xhtml#ixzz1TGiXaC1w
UPDATE: This question was asked in Jul 2011. As of now, Nov 2011, Xcode 4.2 is already released and made available on the Mac App store.

Resources