Re: Frameworks
Re: Frameworks
- Subject: Re: Frameworks
- From: Clark Cox <email@hidden>
- Date: Thu, 29 Jan 2004 09:48:13 -0500
On 2004/01/29, at 9:11, Bernard Meers wrote:
> I am new to Xcode ( was using Codewarrior before) and I have a problem
> with
> a private Framework. I want to use a private Framework called
> Ambase.framework in my app. (= MedusaTest).
> The app is a package and I have a layout as suggested by the Technical
> docs.
> MedusaTest.app/
> Contents/
> Info.plist
> MacOS/ MedusaTestApp
> Resources/
> Frameworks/Ambase.framework/
> PlugIns/
> SharedSupport/
> My application won't run however because it seems to be looking for the
> Ambase.framework in the Library/Frameworks/....
> The runtime error message I get is:
> dyld:
> /Data/QMS/cmsapp/MedusaTestApp/Dev/Mac/Xcode1_1/MedusaTestApp/build/
> MedusaTe
> stApp.app/Contents/MacOS/MedusaTestApp can't open library:
> /Library/Frameworks/Ambase.framework/Versions/A/Ambase (No such file
> or
> directory, errno = 2)
> Is there a setting in Xcode that forces it to look in the application
> package?
>
When building the framework, you must set it's install path to
"@executable_path/../Frameworks", so that the linker knows where the
framework will be relative to the application.
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.
References: | |
| >Frameworks (From: "Bernard Meers" <email@hidden>) |