Re: problem with copying app bundle
Re: problem with copying app bundle
- Subject: Re: problem with copying app bundle
- From: bert <email@hidden>
- Date: Wed, 24 Oct 2007 07:47:42 -0700 (PDT)
Hi Peter
thanks for pointing me in the right direction. now the following is happening :
- when I copy the bundle with cp -fr on the command line, e.g. to my desktop, the bundle breaks and the app crashes
- when I use zip -r bundle.app.zip bundle.app and I then copy the zip file to the desktop and use unzip, the bundle still breaks and the app crashes
- when I use Create Archive in the Finder and I copy to the desktop and double click, all is well.
what am I missing here? I need a command line way to copy my bundle onto a disk image which I'm mounting in my build scripts using hdiutil.
I am also pretty clueless at the moment of how to verify I have all the frameworks and stuff inside my bundle such that other users have no problems with dependencies.
I tried using otool -L which lists the frameworks and dylibs, but I am not sure which ones I should be paying attention to and which ones will be there on the system
anyway.
Thanks for helping out and for your patience,
Bert
Peter Mulholland <email@hidden> wrote:
Hello bert,
Wednesday, October 24, 2007, 2:30:39 PM, you wrote:
> Hi all
> I have been writing some packaging and build scripts here for one
> of our software applications and I've noticed something weird.
> When I build an application bundle on my mac osx 10.4.10 ibook G4
> and I copy the app bundle to our linux server over SMB, and then
> copy the bundle back to the ibook, and try to run it, it crashes.
> I double checked that the bundle runs fine so something must go
> wrong when I copy it to the linux server and then copy it back. Any ideas ?
Over SMB, any symlinks that would be inside the app bundle (more
specifically,
inside any frameworks used) would break. It is best
to zip your app first.
I've had this when I've mistakenly backed up .framework and such files
to my Windows machine, forgetting that the symlinks etc won't be
preserved correctly.
--
Best regards,
Peter mailto:email@hidden
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden