No, I'm just double-clicking it in Finder. On Thu, Apr 8, 2010 at 8:57 AM, Kevin Wojniak <[email protected]> wrote: > Are you launching with NSTask or some other variant? If so it won't work. You > need to use Launch Services instead. I think there are some low-level APIs to > use to launch with a specific architecture, but if you can use LS it handles > all the dirty work for you. > > > On Apr 8, 2010, at 8:53 AM, Oleg Krupnov wrote: > >> This would be a perfect solution, but I've found that on Leopard, this >> key seems to be ignored, the system still launches my app in 64-bit >> mode (via Finder). >> >> What may I be doing wrong? >> >> Thanks! >> >> On Thu, Apr 8, 2010 at 7:28 AM, Kevin Wojniak <[email protected]> wrote: >>> In your Info.plist add: >>> >>> <key>LSMinimumSystemVersionByArchitecture</key> >>> <dict> >>> <key>x86_64</key> >>> <string>10.6.0</string> >>> </dict> >>> >>> >>> Kevin >>> >>> >>> On Apr 8, 2010, at 7:21 AM, Oleg Krupnov wrote: >>> >>>> Hi, >>>> >>>> While it's good for my app to run in 64-bit mode on Snow Leopard, it >>>> turns out not desirable on Leopard, because of the delay of loading >>>> all 64-bit frameworks (in case if my app is the first 64-bit app >>>> launched after system boot). It literally makes me wait for about ten >>>> seconds, and the performance gain of my app in 64-bit mode is >>>> definitely not worth it on Leopard. >>>> >>>> My app is assembled as a universal binary that supports 3 >>>> architectures: 32-bit intel, 32-bit ppc and 64-bit intel. Obviously, >>>> the system chooses the best architecture it can run, which is 64-bit >>>> intel in case of Leopard. >>>> >>>> Is there a way to change that and force my app to run in 32 bit mode on >>>> Leopard? >>>> >>>> I would hate to have to supply two versions, one for Leopard and >>>> another one for Snow Leopard. >>>> >>>> Thanks! >>>> _______________________________________________ >>>> >>>> Cocoa-dev mailing list ([email protected]) >>>> >>>> Please do not post admin requests or moderator comments to the list. >>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>>> >>>> Help/Unsubscribe/Update your Subscription: >>>> http://lists.apple.com/mailman/options/cocoa-dev/kainjow%40kainjow.com >>>> >>>> This email sent to [email protected] >>> >>> > > _______________________________________________
Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
