Difference between revisions of "Mac OS X"
From FM Plugin Wikipedia
| Line 3: | Line 3: | ||
|} | |} | ||
| − | |||
| − | + | ==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. | ||
| + | |||
| + | ===XCode 4=== | ||
| + | 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 | ||
| + | |||
| + | |||
| + | ====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) | ||
| + | |||
| + | Now, install Xcode 3 using the following steps : | ||
| + | |||
| + | Mount the Xcode 3.2.x DMG | ||
| + | Open Terminal | ||
| + | Enter the command: export COMMAND_LINE_INSTALL=1 | ||
| + | Enter the command: open “/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg” | ||
| + | |||
| + | [http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-on-lion-redux Install Xcode 4 on OS X Lion] | ||
| + | |||
| + | Important: | ||
| + | *Do not install "System Tools" or "Unix Development" package of Xcode3. | ||
| + | *We need to install "Mac OS X 10.4 SDK" | ||
| + | *If that is a Xcode3 with iOS SDKs, whether you install those or not is also up to you. | ||
| + | |||
| + | Make sure you select to install into the "Xcode3" folder you created above. | ||
| + | |||
| + | |||
| + | ====Step Three : Install Xcode 4==== | ||
| + | |||
| + | Install 'Xcode 4' as normal. You | ||
| + | [http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4 10.4 sdk support to XCode] | ||
Revision as of 23:28, 20 August 2011
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.
XCode 4
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
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)
Now, install Xcode 3 using the following steps :
Mount the Xcode 3.2.x DMG Open Terminal Enter the command: export COMMAND_LINE_INSTALL=1 Enter the command: open “/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg”
Important:
- Do not install "System Tools" or "Unix Development" package of Xcode3.
- We need to install "Mac OS X 10.4 SDK"
- If that is a Xcode3 with iOS SDKs, whether you install those or not is also up to you.
Make sure you select to install into the "Xcode3" folder you created above.
Step Three : Install Xcode 4
Install 'Xcode 4' as normal. You 10.4 sdk support to XCode