Mac OS X

From FM Plugin Wikipedia
Revision as of 00:16, 21 August 2011 by Kent (talk | contribs) (Step Two : Install Xcode 3)

Jump to: navigation, search


Mac OS X Lion

Mac OS X Lion no longer supports legacy PowerPC applications via Rosetta. In addition, Xcode 4 no longer uses the GCC compiler. At this time, the FileMaker Plugin API requires us to use the GCC 4.0 compiler.

Installing XCode 4 with support for GCC4.0

The following link explains how to install Xcode 4 with the GCC 4.0 compiler, which is necessary to compile FileMaker Plugins.


Step One : Uninstall existing

If you already have Xcode installed, then uninstall it.

sudo <Xcode>/Library/uninstall-devtools --mode=all
UnistallXcode.jpg
PromptToRestart.jpg

Note : It may be necessary to restart your computer after installing Xcode 3 if you have just uninstalled Xcode 4



Step Two : Install Xcode 3

Create a folder 'Xcode3' at the top level of your boot drive. This is where we will install Xcode 3 to (and not the default /Developer location)

To install Xcode 3, mount the Xcode 3.2.x DMG and then enter the following into 'Terminal' :

 export COMMAND_LINE_INSTALL=1
 open “/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg”
InstallXcode3Lion.jpg


On the 'Installation Type' screen :

  • Change the Location to be the 'Xcode3' folder you created above
  • Do not install "System Tools" or "Unix Development"
  • Select to install "Mac OS X 10.4 SDK"
InstallXcode3Settings.jpg

Note : Installing the Documentation and/or iOS SDK is optional - install if wanted.



Step Three : Install Xcode 4

Mount the Xcode 4 DMG and Install as normal.

InstallXcode4Lion.jpg

On the 'Installation Type' screen, you should be able to use the default settings.

InstallXcode4Settings.jpg

You 10.4 sdk support to XCode