|
|
App only runs on machine on which it's built
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
I'm preparing to release the first version of one of my applications since switching over to XCode from Project Builder. However, I've found that the application will not launch on my other Mac (ie, the one on which it was not built).
After building, I bundled it up into a disk image (.dmg) file and then stuffed that into a .sit file (due to my crazy ISP thinking that DMB files are a security hazard, and therefore not using the correct MIME type, but I digress).
I then uploaded it to my website, and from another Mac downloaded it to make sure it would all work okay. I unstuffed it, and mounted the image. To my suprise, it just bounces in the Dock once, and then disappears without a crash or any error.
I tried copying the application fro the image to my desktop, then running "chmod -R 777" on it, to make sure it wasn't an obvious permissions problem. No luck.
I then copied the entire project to the other Mac and built it there, and sure enought it runs fine when built on that machine.
Any idea what's going on here, and how I can fix the problem?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2001
Status:
Offline
|
|
Turn off zerolink (it should do it automatically when you go to the deployment build style, if not, get info on your target and look around).
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally posted by Catfish_Man:
Turn off zerolink (it should do it automatically when you go to the deployment build style, if not, get info on your target and look around).
Doh! I'd forgotten about zero link... all this new fandangled XCode stuff!
But I'm not sure I'm understanding the XCode interface for this correctly. Where's the Project Builder equivalent of "Depoyment" and "Development" build modes?
Or otherwise, how do I turn off ZeroLink? I've found in the target properties that Zero link is actually crossed out and the checkbox is not selected, if that means anything.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Never mind... found it... in the Project Inspector.
|
|
|
|
|
|
|
|
|
Banned
Join Date: Apr 2002
Location: -
Status:
Offline
|
|
I had the same exact problem. this is bad. they should warn you.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally posted by ambush:
I had the same exact problem. this is bad. they should warn you.
Yeah... I'm just glad I tested it on another Mac before publishing the fact that a new version was available straight away (as I sometimes foolishly do).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|