简体   繁体   中英

problem with dmg file

I have created a dmg file named try.dmg which contains an executable application myapplication.app together with a compiled library mylibrary.lib; I used Disk Utility in order to create the try.dmg file. I mounted the try.dmg file on my computer and I opened the application myapplication.app with no problems.

Still, I tried to do the same thing on another Macintosh, with the same operating system Mac OS X, but I got some problems: I mounted the try.dmg file and then when I tried to open the application myapplication.app I got an error message, that the application has quit unexpectedly.

Can someone explain me what is it happening? How come this try.dmg file can be mounted and the application can be opened with no problems on my computer with Mac OS X, but on another computer with Mac OS X, after I mount the try.dmg file I get errors when I try opening the application?

Thank you very much for your help. Best wishes, Madalina

Try copying the app to another Mac without going via a .dmg file - it may be an unrelated problem - eg you built a debug version with ZeroLink enabled, or you have a dependency on some non-standard framework, or you built against the 10.6 SDK and tried to run on a 10.5 machine.

Also try looking at the CrashReporter logs (in Console.app) on the target machine for more info as to why the app failed to launch.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM