Create a "Universal Binary System" from two applications?

Short question: How do you take two applications, one for Intel and the other ppc, and pack them into one universal binary?

My current thoughts on this issue:

I read though Apple's developer documentation on universal binaries and could not find the answer, so this may not be possible.

Due to the reasons why I will not go into here, I have two applications of my program (when using xtools to compile the binary universally once), one for Intel Mac, and the other for Mac> = 10.3.9, running on PPC Sharing resources is not a problem.

I could put both MyProg_intel.app and MyProg_ppc.app in one zip code and distribute it this way; but this can lead to confusion for many people to whom I will distribute my program.

+5
source share
4 answers

See lipo tool . This will allow you to stitch your PPC and i386 bits.

In addition, sometimes separate goals for different architectures can be avoided by using

+5
source

See the man page for lipo. I believe you can use -create to accept multiple input files and create one output file with multiple architectures.

+3
source

, Xcode Intel PPC. , .app ex post facto.

+1

- Apple , , Xcode "" . , , . lipo, , , Xcode, , .

+1

All Articles