Re: Private (embedded) Framework Interdependency
Re: Private (embedded) Framework Interdependency
- Subject: Re: Private (embedded) Framework Interdependency
- From: "E. Wing" <email@hidden>
- Date: Wed, 7 Nov 2007 01:49:26 -0800
On 11/5/07, Josh <email@hidden> wrote:
> I wish to embed the ogg and vobis frameworks in my app.
This is doable. I've done it before with Ogg and Vorbis frameworks.
>
> I've compiled the ogg and vorbis frameworks from source (the
> ogg.xcodeproj and vorbis.xcodeproj files were provided with the
> source). I have set the "Installation Directory" property of the
> target in both of these projects to "@executable_path/../Frameworks".
> (I've noticed that now the inspector shows "<multiple values>" after
> I made this change, and if I try to edit the field, it is empty. Is
> this normal?)
"<multiple values>" isn't normal if you set all your configurations
the same. Make sure you set this value for "All Configurations".
Otherwise it could be that you set it for Debug, while Release has a
different value which could explain why it's not working for you.
Also, if you run, 'otool -L' on the actual dynamic library components
inside the framework, you can see what the install_name is set to
(e.g. otool -L Ogg.framework/Ogg)
>
> In MyApp.xcodeproj, I have a build phase that copies these two
> frameworks into MyApp.app/Frameworks.
This is the wrong directory. It should be
MyApp.app/Contents/Frameworks. Xcode has a built-in preset to copy
frameworks to the correct place. In the new Copy Build Phase, for
Destination:, pick Frameworks in the pop-up button.
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden