Re: lipo ((os/kern) invalid argument) error after building universal binary
Re: lipo ((os/kern) invalid argument) error after building universal binary
- Subject: Re: lipo ((os/kern) invalid argument) error after building universal binary
- From: Shawn Erickson <email@hidden>
- Date: Tue, 3 Feb 2009 15:32:10 -0800
On Tue, Feb 3, 2009 at 2:12 PM, Ken G. Brown <email@hidden> wrote:
> Further:
> It appears that lipo cannot handle app bundles, so if I run it on the executable itself, it says it is ok, has both i386 and ppc. So I guess I'm missing something that tells Finder it is a universal binary, but what?
lipo works on binaries not on bundles (aka a folders)
[0:507] > lipo -info /Applications/Safari.app/Contents/MacOS/Safari
Architectures in the fat file:
/Applications/Safari.app/Contents/MacOS/Safari are: ppc7400 i386
[0:509] > file /Applications/Safari.app/Contents/MacOS/Safari
/Applications/Safari.app/Contents/MacOS/Safari: Mach-O universal
binary with 2 architectures
/Applications/Safari.app/Contents/MacOS/Safari (for architecture
ppc7400): Mach-O executable ppc
/Applications/Safari.app/Contents/MacOS/Safari (for architecture
i386): Mach-O executable i386
Anyway what is your question/problem? It sounds like everything is as
should be expected if you built a universal binary.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden