• 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
Re: Build cocoa framework issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build cocoa framework issue


  • Subject: Re: Build cocoa framework issue
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 30 Sep 2007 19:19:21 +0200

Am 30.09.2007 um 23:37 schrieb Cloud.Student:
At first, I created a cocoa framework and included all external library with headers. The framework was finished.
Then I created an application for testing. I imported the framework created previously. Without a line of code, the console prompted like these: " /usr/bin/ld: warning can't open dynamic library: / Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgsl.0.dylib referenced from: /Users/Tiger/Project/GSLTesting/../../Desktop/GSL/ gsl.framework/gsl (checking for undefined symbols may be affected) (No such file or directory, errno = 2)"
It is very odd, for I have included the requested lib files into the gsl.framework.

When you build a library or framework, the path of the folder in which it was built gets encoded in the framework. You have to set the "Installation Path" build setting if you want the framework to be in any other place than where you built it. Also, if your framework doesn't go into the standard Frameworks folder, but rather gets embedded in the Frameworks folder of your application's package bundle, you may want to start your path with the @executable_path placeholder to designate a path relative to the application's executable (e.g. @executable_path/../Frameworks/).


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Build cocoa framework issue
      • From: Stig Brautaset <email@hidden>
References: 
 >Build cocoa framework issue (From: "Cloud.Student" <email@hidden>)

  • Prev by Date: Re: HTML CSS displaying in Cocoa
  • Next by Date: Re: What cause EXC_BAD_ACCESS?
  • Previous by thread: Build cocoa framework issue
  • Next by thread: Re: Build cocoa framework issue
  • Index(es):
    • Date
    • Thread