 |
 |
XCode: How do you make apps that run on 10.2
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2000
Location: atx, usa
Status:
Offline
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2000
Location: atx, usa
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|