Page 1 of 1

Mac OS X Lion

Posted: Wed Jul 20, 2011 10:37 pm
by JensAyton
Quick testing shows no obvious compatibility problems.

There is one change in Lion that’s relevant to Oolite: the Library folder, where the recommended AddOns folder lives, is now hidden by default. You can still get at it by selecting “Expansion Packs” from the “Oolite” menu, or from the “Show” submenu of Oolite’s Dock menu.

Image

Re: Mac OS X Lion

Posted: Thu Jul 21, 2011 12:34 pm
by JensAyton
Building under OS X Lion: Oolite still requires Xcode 3.2 (with the 10.4 SDK) to build, in order to support PowerPC targets. It is possible to use Xcode 3.2.6 under Lion, although this is unsupported, and as of r4584 Oolite will build.

In my experience, Xcode 3.2.6 works under Lion if it is installed before the OS is update. If you try to install 3.2.6 on a Lion system, it will apparently not allow you to install the “Core Tools” package, which includes the Xcode application itself. My correspondent worked around this by running the installer and then copying the applications from a machine running Snow Leopard.

It may be possible to skip the “Core Tools” package and build Oolite using the xcodebuild command line tool. In order to do this, one must specify which version of Xcode to use with the xcode-select tool. For instance, if Xcode 3.2.6 is installed at /Xcode3 and Xcode 4.1 is in /Developer, you’d do something like:

Code: Select all

sudo xcode-select -switch /Xcode3
svn update
xcodebuild build -target "Build All" -configuration TestRelease
sudo xcode-select -switch /Developer
Note on side-by-side installs: Both Xcode 3 and Xcode 4 can be installed at arbitrary locations. However, for Xcode 4 from the App Store, you must directly run the actual installer package, which is bundled inside the “Install Xcode” application, in Contents/Resources. People seem to have trouble finding it, but on the screen where you select which packages to install, there’s a destination column which, for the Core Tools package, has a pop-up menu where you can select “Other…”.

Re: Mac OS X Lion

Posted: Fri Jul 22, 2011 7:46 am
by JensAyton
Update: instructions for modifying the Xcode 3.2.6 installer to work under Lion can be found here.