• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa app absolute/relative path ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa app absolute/relative path ?


  • Subject: Cocoa app absolute/relative path ?
  • From: Chris Parsons <email@hidden>
  • Date: Wed, 28 Jul 2004 01:27:02 -0400

Beginner question. I'll try to simplify the problem:

Xcode 1.1,  OS 10.3.4.

I make a Cocoa application project. I add the line
NSLog(@"Hello"); to main.m.

If I run the executable inside Xcode, a window pops open and "Hello" appears
in Xcode console.
If I move the executable to another location and delete the project files,
no window opens, and there are errors like these in cosole log:

ZeroLink: could not load .o file:
/Users/cparse/Tester/build/Tester.build/Tester.build/Objects-normal/ppc/main
.ob
ZeroLink: unknown symbol '_main'

It seems that somehow the app has a dependency on something it shouldn't.

I'm most grateful for any suggestions.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Cocoa app absolute/relative path ?
      • From: Adam Knight <email@hidden>
    • Re: Cocoa app absolute/relative path ?
      • From: Rustam Muginov <email@hidden>
    • Re: Cocoa app absolute/relative path ?
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: OK, I give up... help a dumb newbie
  • Next by Date: Re: Cocoa app absolute/relative path ?
  • Previous by thread: mini system text in nibs
  • Next by thread: Re: Cocoa app absolute/relative path ?
  • Index(es):
    • Date
    • Thread