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 > my cocoa app not running on others computer

my cocoa app not running on others computer
Thread Tools
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status: Offline
Reply With Quote
May 9, 2005, 03:20 PM
 
i really don' t understand what problem to explain here because for me its not a problem. my (nearly completed app) runs fine on both my macs. but when i send it to a friend running same os the app tries to open and then quits. app compiles w/ no errors or warnings. i'm not new to cocoa but new to distributing a cocoa app and its nearly completed and would like to get it out there. any ideas?
http://www.mafia-designs.com
     
Posting Junkie
Join Date: May 2001
Location: Portland, OR
Status: Offline
Reply With Quote
May 9, 2005, 03:24 PM
 
Originally Posted by Mafia
i really don' t understand what problem to explain here because for me its not a problem. my (nearly completed app) runs fine on both my macs. but when i send it to a friend running same os the app tries to open and then quits. app compiles w/ no errors or warnings. i'm not new to cocoa but new to distributing a cocoa app and its nearly completed and would like to get it out there. any ideas?
1) Right click on your project within XCode (at the top of your files list)
2) Get Info
3) Click on the styles tab in the new window
4) Change from "Development" to "Deployment"

When your project is set to development XCode will include a lot of debug stuff that only works if the person has the development tools installed also. In some cases I've had development versions of programs not even work at all if the other person has development tools installed.

If you want to debug your program you're going to have to set it back to development mode and then recompile.
8 Core 2.8 ghz Mac Pro/GF8800/2 23" Cinema Displays, 3.06 ghz Macbook Pro
Once you wanted revolution, now you're the institution, how's it feel to be the man?
     
Mafia  (op)
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status: Offline
Reply With Quote
May 9, 2005, 03:37 PM
 
Originally Posted by goMac
1) Right click on your project within XCode (at the top of your files list)
2) Get Info
3) Click on the styles tab in the new window
4) Change from "Development" to "Deployment"

When your project is set to development XCode will include a lot of debug stuff that only works if the person has the development tools installed also. In some cases I've had development versions of programs not even work at all if the other person has development tools installed.

If you want to debug your program you're going to have to set it back to development mode and then recompile.
wow thank you!
http://www.mafia-designs.com
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
May 9, 2005, 05:49 PM
 
Originally Posted by goMac
1) Right click on your project within XCode (at the top of your files list)
2) Get Info
3) Click on the styles tab in the new window
4) Change from "Development" to "Deployment"

When your project is set to development XCode will include a lot of debug stuff that only works if the person has the development tools installed also. In some cases I've had development versions of programs not even work at all if the other person has development tools installed.

If you want to debug your program you're going to have to set it back to development mode and then recompile.

That is the correct fix, but I thought it was the ZeroLink (used in Development style) that caused the problem. Ie, it makes no difference if the other machine has the XCode tools installed or not.

??
     
   
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2