Re: Setting up Xcode workspace with multiple embedded frameworks that rely on each other.
Re: Setting up Xcode workspace with multiple embedded frameworks that rely on each other.
- Subject: Re: Setting up Xcode workspace with multiple embedded frameworks that rely on each other.
- From: Joar Wingfors <email@hidden>
- Date: Fri, 27 Jun 2014 23:51:18 -0700
There's not much to it. Drag the project for Framework A into the project of App. Open the target editor for App and link to Framework A. Repeat for Framework B. Repeat for the project of Framework A, to establish the linkage to Framework B. That's really all there should be to it, unless I'm forgetting something.
I'm not sure that this would even work with static libraries, as I'd imagine that you'd end up with duplicate symbols when running the app. At least if the frameworks use ObjC. <shrug>
Joar
On 25 jun 2014, at 07:21, Scott Andrew <email@hidden> wrote:
> I want to setup an app to use couple of embedded frameworks. But i have a question. The app and one of the frameworks both rely on a third. So you get the following
>
>
> ——— framework A ——— framework B
> App ——
> ——— framework B
>
> Basically the app wants to use embedded framework A and framework B. But framework A also needs to link against framework B which I want to embed inside the app. Right now i have this setup as static libraries. A links B. App links A and my include directories are just a deep recursive into A’s directories where B is in the External folder. B is not my library but a big third party library. I would like to just build A and B as frameworks and embed them both in the app yet have the dependencies work. Any tips? I would also like to setup this way for future module support. The module B is cocos2d-iphone. I can’t use sprite kit for this project since we may move it to android using Apportable and i would like to keep cocos2d and the engine (which is A) independent of the App. _______________________________________________
> 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
_______________________________________________
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