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 > XCode: How do you make apps that run on 10.2

XCode: How do you make apps that run on 10.2
Thread Tools
Mac Enthusiast
Join Date: Mar 2000
Location: atx, usa
Status: Offline
Reply With Quote
Nov 9, 2003, 05:32 PM
 
i have been using Cocoa for about a year, but i never have needed to learn about targets and builds. however, since upgrading to 10.3 (and Xcode) my apps don't work on older OS versions. as far as i know, i am not using any new 10.3 elements that weren't in 10.2.

am i the only one who finds Xcode less intuitive than PB?

TIA, adam
"do unto others as you would have them do unto you" begins with yrself.

"He that fights for Allah's cause fights for himself. Allah does not need His creatures' help." -koran, the spider, 29:7
     
Dedicated MacNNer
Join Date: Feb 2001
Status: Offline
Reply With Quote
Nov 9, 2003, 06:23 PM
 
Originally posted by adamk:
i have been using Cocoa for about a year, but i never have needed to learn about targets and builds. however, since upgrading to 10.3 (and Xcode) my apps don't work on older OS versions. as far as i know, i am not using any new 10.3 elements that weren't in 10.2.
If you're using the Development build style, you may have ZeroLink enabled. If you do, the app will only run from within Xcode.


am i the only one who finds Xcode less intuitive than PB?
Nope. A bunch of common settings have been moved to hard-to-find inspectors, and it insists on opening lots of windows where PBX made it easy to keep everything in one. Also, builds seem slower, which is strange because gcc 3.3 is supposed to be faster.
     
adamk  (op)
Mac Enthusiast
Join Date: Mar 2000
Location: atx, usa
Status: Offline
Reply With Quote
Nov 10, 2003, 09:46 AM
 
Originally posted by 3.1416:
If you're using the Development build style, you may have ZeroLink enabled. If you do, the app will only run from within Xcode.
really? i hadn't played with build styles, but i was able to run apps outside Xcode on my machine. but, when i did try to run it on a 10.2, i remember the log saying something about zerolink.

Originally posted by 3.1416:
Nope. A bunch of common settings have been moved to hard-to-find inspectors, and it insists on opening lots of windows where PBX made it easy to keep everything in one. Also, builds seem slower, which is strange because gcc 3.3 is supposed to be faster.
i liked the one window style best (there were at least multiple view options back then). my builds are super-fast now compared to PB. after small changes, building and running is near instantaneous. i am on a 400mhz G3, so that is saying something.

adam
"do unto others as you would have them do unto you" begins with yrself.

"He that fights for Allah's cause fights for himself. Allah does not need His creatures' help." -koran, the spider, 29:7
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 10, 2003, 11:04 AM
 
You should also set it to use the 10.2 SDK. You'll need to install the cross-development tools if you didn't already do so.
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 10, 2003, 05:39 PM
 
You shouldn't have to set it to use the 10.2 SDK, unless you're writing kernel extensions or some such. With that said, it is possible to accidentally link with functionality in 10.3 that's not included in 10.2 if you're not careful.

Wade
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 11, 2003, 11:19 AM
 
Originally posted by wadesworld:
You shouldn't have to set it to use the 10.2 SDK, unless you're writing kernel extensions or some such. With that said, it is possible to accidentally link with functionality in 10.3 that's not included in 10.2 if you're not careful.
So, what you're saying is that if you don't use the 10.2 SDK you might end up with a binary which doesn't run on 10.2... I think my point still stands

You should use the 10.2 SDK. You don't have to, but you should.
     
   
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 02:24 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