Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Application not starting on other macs, why?

Application not starting on other macs, why?
Thread Tools
rudynorff
Junior Member
Join Date: Oct 2000
Location: Germany
Status: Offline
Reply With Quote
Feb 14, 2004, 08:47 AM
 
Hi everbody,

I just tried to run my application on another mac and it wouldn't start. all machines are running the same version (10.3). i then checked my logs and it said the following:

Mac OS X Version 10.3 (Build 7B85)
2004-02-14 12:57:18 +0100
dyld: /Users/rud/Desktop/Priorities.app/Contents/MacOS/Priorities can't open library: /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/ZeroLink (No such file or directory, errno = 2)


does anybody know what that means and how i can fix it?
here is another info how i got the app to the other machines: i created a disk image using apples disk utilitiy dragged my app on the mounted dmg and then unmounted it. is that the correct way of doing it?

thanks for any replies!
- rudy
     
Octo
Junior Member
Join Date: Aug 2000
Location: Montreal, QC, Canada
Status: Offline
Reply With Quote
Feb 14, 2004, 10:09 AM
 
I made this same error when I first tried moving an app that I wrote from my development machine to another mac.

Zerolink does not link your app against the normal library files that are needed to run it, it simply calls the developmental stuff included with Xcode. If you moved the file to another mac with the development tools installed it should work.

Try the following

Start up Xcode and load your project.
Go to the Project menu and select Show Inpector.
Click on the Styles tab.
Change Active Build Style to Deployment or turn off Zero Link under development.
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Feb 14, 2004, 03:42 PM
 
Mods, I think we could use a sticky.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Ghoser777
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Feb 14, 2004, 05:15 PM
 
I wish this was off by default...

Matt Fahrenbacher
     
Rickster
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Feb 14, 2004, 06:24 PM
 
Instead of turning off ZeroLink for development builds, use the deployment build style if you want to deploy your app on another machine. That'll get you other improvements, too, like having full compiler optimization turned on and not having a binary bloated with debug symbols.
Rick Roe
icons.cx | weblog
     
spiky_dog
Mac Elite
Join Date: Dec 1999
Location: Plainview, NY
Status: Offline
Reply With Quote
Feb 15, 2004, 03:05 PM
 
Originally posted by Rickster:
Instead of turning off ZeroLink for development builds, use the deployment build style if you want to deploy your app on another machine. That'll get you other improvements, too, like having full compiler optimization turned on and not having a binary bloated with debug symbols.
yes! listen to this man.
     
Wevah
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Feb 17, 2004, 09:27 AM
 
Agreed.
[Wevah setPostCount:[Wevah postCount] + 1];
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 09:03 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,