Re: Distribution via DMG fails
Re: Distribution via DMG fails
- Subject: Re: Distribution via DMG fails
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 29 Mar 2011 10:31:48 -0700
On Mar 29, 2011, at 10:15, Andy Lee wrote:
> On Mar 29, 2011, at 05:49 AM, Uli Kusterer <email@hidden> wrote:
>
> On 29.03.2011, at 09:22, Gabriel Zachmann wrote:
>> But when I put it in a DMG, some testers (not all) can't install it!
>> They get the error message "You cannot use the screen saver on this computer. Contact the developer ..."
>
> If you didn't say it works when you distribute as a ZIP, I'd expect this to be a case where you have built only a 32-bit screen saver, and these testers have 64-bit Macs (Screensavers are plug-ins, and the system runs a 64-bit screen saver engine, so screen savers must be 64-bit or can't be loaded into the engine).
>
> I found more info on this here <http://developer.apple.com/library/mac/#qa/qa1666/_index.html> and here <http://support.apple.com/kb/TS2913>. But yeah, it's odd that the same bundle, bitwise identical, does work.
>
> Are you sure you're building the application the same way for both cases? If one's a debug build and the other is a release build, then that could explain that you're not getting all architectures in one case.
>
> Also, is there any commonality in how the users with problems are doing the install? For example, are they double-clicking the bundle? What if they try dragging it to ~/Library/Screen Savers?
>
> When you send the bundle directly, do you tar it or zip it? I wonder if there's something about the default permissions when you unzip something that matters.
>
> Admittedly I'm flailing, just wondering what the common element is.
You can also do a 'lipo <path to the binary> -info' to check which architectures are in the binary.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden