• 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
custom frameworks: dynamic link errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom frameworks: dynamic link errors


  • Subject: custom frameworks: dynamic link errors
  • From: Niko Matsakis <email@hidden>
  • Date: Mon, 10 Oct 2005 08:12:10 +0200

I am attempting to use a custom framework I have built. At this point it is more of a demo than anything else.

The framework I built by starting from the "Cocoa Framework" project in Xcode and adding some routines.

The application is a Foundation based command line tool, with the result from the Release build of my framework in the resources section.

Both build fine, and the tool has no problem seeing the header file from the framework.

But when I try to run it, I get

dyld: Library not loaded: /Users/niko/Library/Frameworks/ ArenasForObjC.framework/Versions/A/ArenasForObjC
Referenced from: /Users/niko/proj/ArenasForObjC/tests/ArenaTest/ build/Release/ArenaTest
Reason: image not found

Any idea why this might be happening? I thought perhaps it had to do w/ linking the framework against Cocoa.framework and the tool against Foundation.framework, but changing the tool to link against Cocoa.framework doesn't seem to have made the problem go away.


On that note, I don't understand why there isn't a "Foundation Framework" entry in Xcode --- perhaps just not common enough to warrant an entry?


Anyway, all thanks are appreciated.

Niko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • FIXED - Re: custom frameworks: dynamic link errors
      • From: Niko Matsakis <email@hidden>
  • Prev by Date: Am I using NSConditionLock correctly?
  • Next by Date: Cocoa equivalent of strspn(3)
  • Previous by thread: Re: Am I using NSConditionLock correctly?
  • Next by thread: FIXED - Re: custom frameworks: dynamic link errors
  • Index(es):
    • Date
    • Thread