Frameworks (dylib) Within The App Bundle
Frameworks (dylib) Within The App Bundle
- Subject: Frameworks (dylib) Within The App Bundle
- From: Pei Xiang <email@hidden>
- Date: Tue, 2 Sep 2003 22:08:19 -0700 (PDT)
sorry to raise maybe an already discussed problem
here.
i'm building an application with a dylib, for instance
'myLib.dylib', by adding link flag -lmyLib. it builds
and runs well with 'myLib.dylib' located in
/usr/local/lib/.
as i wish to ship it with my application bundle, i
added the dylib as framework and added a new build
phase enabling project builder to put the
'myLib.dylib'
into Frameworks folder in the bundle, also changed the
installation path to @executable_path/../Frameworks .
BUT, the application just wouldn't search the above
path for the 'myLib.dylib' but keep telling me cannot
find it in /usr/local/lib/ (if it's not there)
i also tried things like adding the link flag
-seg1addr 0x10000000 and different ways mentioned
online, but still didnt get it to search there. could
anybody give a pointer? thanks!
Pei
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
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.