• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lipo ((os/kern) invalid argument) error after building universal binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lipo ((os/kern) invalid argument) error after building universal binary


  • Subject: Re: lipo ((os/kern) invalid argument) error after building universal binary
  • From: "Ken G. Brown" <email@hidden>
  • Date: Tue, 3 Feb 2009 17:01:50 -0700

At 3:32 PM -0800 2/3/09, Shawn Erickson wrote:
>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

At first I was unable to build such that I could tell my app to run under Rosetta from the Finder get info. Now for some reason that is all working now. Not sure what is different.

Now the program executes correctly from within Xcode, but not from Finder. Same whether under Rosetta or not, on Intel.

Please forgive the noise.

Ken G. Brown
 _______________________________________________
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

  • Follow-Ups:
    • Re: lipo ((os/kern) invalid argument) error after building universal binary
      • From: Chris Espinosa <email@hidden>
References: 
 >Re: lipo ((os/kern) invalid argument) error after building universal binary (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: lipo ((os/kern) invalid argument) error after building universal binary
  • Next by Date: Re: Thread ID in debugger window versus console
  • Previous by thread: Re: lipo ((os/kern) invalid argument) error after building universal binary
  • Next by thread: Re: lipo ((os/kern) invalid argument) error after building universal binary
  • Index(es):
    • Date
    • Thread