Re: Application Bundles
Re: Application Bundles
- Subject: Re: Application Bundles
- From: Christopher Nebel <email@hidden>
- Date: Fri, 5 Mar 2010 18:51:33 -0800
On Mar 3, 2010, at 7:18 AM, Luther Fuller wrote:
> I moved the HiThere.app to my iBook, Tiger/ppcG3, and ran the test again.
> This time Terminal responded with ...
>
> LBFiBook:~ lutherfuller$ /Users/lutherfuller/Desktop/HiThere.app/Contents/MacOS/HiThere; exit
> dyld: incompatible cpu-subtype
> Trace/BPT trap
> logout
> [Process completed]
>
> The process did not run correctly.
>
> Who knows how to interpret these results?
Yeah, it's basically a bug. The applet stub got built such that it requires a G4 in order to run. (Or any Intel chip, of course. This may very well be an old restriction and no one ever noticed before.) Mea culpa; we'll see what we can do. If you really need to deploy to a G3 system, you could of course save the applet using Leopard Script Editor, though it might be possible to get something working by copying the executable from an older applet. (To get something that will also run 64-bit, you'll have to get fancy with lipo(1), which I leave as an exercise for the reader.)
As for the other bits:
- Smile probably works because it's using its own applet-saving code that doesn't work the same way AppleScript Editor's does. (I'm guessing, but it's a good guess.)
- LSMinimumSystemVersionByArchitecture is on the same topic, but has nothing to do with your problem. That entry makes the system only run the 64-bit version on Snow Leopard, and not anything earlier. Technically, it could run (or at least dyld could load and execute it) on Leopard, but that would be a bad idea since AppleScript (along with most of the UI-related frameworks) was never fully qualified there, hence the block.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden