How to test a Mac universal binary on Intel
26/10/07 14:33 Filed in: Cocoa Development
If you're developing a Mac application as a universal binary on an Intel platform, then a quick way to test whether it runs on PowerPC/PPC is by forcing it to launch with Rosetta.
Here's how:
This is a quick and dirty way to test a universal binary, especially useful if you're on a tight budget. However, ultimately the only way to be 100% certain your universal binary runs on a specific platform is to run it on that platform.
Tip: you can also launch Rosetta from the command-line with the
Here's how:
- Select your application icon
- Click "File" -> "Get Info"
- Tick the "Open using Rosetta" tickbox
- Close the info dialog
- Launch your application
This is a quick and dirty way to test a universal binary, especially useful if you're on a tight budget. However, ultimately the only way to be 100% certain your universal binary runs on a specific platform is to run it on that platform.
Tip: you can also launch Rosetta from the command-line with the
translate command. For example this is how we test iArchiver on our Intels:$ /usr/libexec/oah/translate \
/Applications/iArchiver.app/Contents/MacOS/iArchiver
|