which Xcode is compatible with mono3.0 and lion 10.8 - xcode

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.

Related

How to choose Xcode version, SDK and toolchain to develop for Mac OS X?

Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:
There is a any difference which Xcode use to build?
Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.
There is a any difference which toolchain use? Or I always should use one provided with Xcode?
Should I use the same SDK as SDK used in base library? Or it is free to use latest?
It is ok to use foreign SDK not provided with installed Xcode version?
Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?
P.S. Applications for PC only, no need any iOS support.
You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.
To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.

Moving Carbon project to later Xcode

I'm trying to dig up and work on an old carbon application. Using Xcode 4.3.3, I find that Carbon.r is missing in the project. Even when I target Mac OS 10.6 rather than 10.7, as suggested by Xcode 4.3 can't find Carbon libs on 10.7
I suspect support is there, I just can't see how to "engage" it. or is 4.3.3 too late a version?
What is the latest version of Xcode that has support for Carbon? I'll boot back to an old MacOS if necessary to make this work.
Ken
There are degrees of support for Carbon. I'm using Xcode 4.6.3 under Lion for a partly-Carbon app, but I had to make a couple of adjustments:
I can't edit Carbon nibs with the version of Interface Builder built into Xcode, and the old separate version won't run under Lion. I have Snow Leopard Server running under VMWare Fusion to edit my nibs.
I'm using the OS 10.6 SDK, which does not come with this version of Xcode. So, I opened up the Xcode app package, and in the Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs subfolder, I added a symbolic link to the 10.6 SDK living in a copy of Xcode 3.2.6.

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

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

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.

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