• 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: building & distributing frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building & distributing frameworks


  • Subject: Re: building & distributing frameworks
  • From: Dan Wood <email@hidden>
  • Date: Wed, 25 Sep 2002 12:11:19 -0700

See this page:

http://makeashorterlink.com/?M34D218E1




On Wednesday, September 25, 2002, at 07:27 AM, Hannes Friederich wrote:

I have created some cocoa code which I'd like to reuse in various other
application projects, so I decided to put it into a framework. But to ease
the shipping of the finished application bundles, I want to include the
framework inside the application bundle instead of having it installed
somewhere in /Library/Frameworks etc.

After some hours trying to reach this in ProjectBuilder, I gave up. There
were the following problems:

Linking against the framework failed in ProjectBuilder unless I installed
the framework in /Library/Frameworks. After building, the application run
just fine, but I was not sure, from which location the framework was
running. So I included the following code in the application:

NSLog([[NSBundle bundleForClass:[theDesiredClass class]] bundlePath]);

and it showed me the path where I build the framework originally. Of course,
after removing the framework from this location, the application refused to
launch (dyld couldn't link in the symbols)

Question: How can I build a framework which i can put inside
"AppName.app/Contents/Frameworks" so that the Application building succeeds
and so that dyld does find the framework? I tried some framework search
path- settings, but either the header files weren't found, the linking
process failed or the Application lauch failed.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X: http://www.karelia.com/watson/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: building & distributing frameworks
      • From: ber <email@hidden>
References: 
 >building & distributing frameworks (From: Hannes Friederich <email@hidden>)

  • Prev by Date: Any examples of building a NSOutlineView from a NSDictionary or MSMutableDictionary ?
  • Next by Date: setAppleMenu? yeah, right!
  • Previous by thread: Re: building & distributing frameworks
  • Next by thread: Re: building & distributing frameworks
  • Index(es):
    • Date
    • Thread