Re: How to import a Framework
Re: How to import a Framework
- Subject: Re: How to import a Framework
- From: Roland King <email@hidden>
- Date: Wed, 02 Dec 2015 10:51:10 +0800
> On 2 Dec 2015, at 10:39, Gerriet M. Denkmann <email@hidden> wrote:
>
> I just made a Framework (Xcode 7.1), called ProcArgFramework.
> I copied it into /Library/Frameworks.
>
> In some other Project I added:
>
> @import ProcArgFramework
>
> But Xcode says: “Module ProcArgFramework not found”.
>
> I tried all sorts of variations of this import-line. But all to no avail.
>
> How can I import my framework?
>
> Gerriet.
>
What makes you think Xcode looks in /Library/Frameworks for framework imports? I’d assume there’s a build setting somewhere with a framework search path, perhaps finding and setting that might help.
Or just drag the thing onto your project from the finder and see if Xcode does the right thing, it occasionally does.
If it’s your own framework you can just add the project as a sub project in your build and have it build it locally, unless you particularly want to link with the system-installed one.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden