Re: Problem Adding WebKit Framework
Re: Problem Adding WebKit Framework
- Subject: Re: Problem Adding WebKit Framework
- From: Shazron Abdullah <email@hidden>
- Date: Tue, 26 May 2015 17:38:54 +0000
- Thread-topic: Problem Adding WebKit Framework
It being added in the Build Phases of your target is the important thing.
Frameworks/source files that are added in the Project Navigator but not in Build Phases won’t be compiled/linked.
If you add it in Build Phases, it will add it to the Project Navigator, but not vice versa.
On 5/23/15, 9:52 AM, "xcode-users-bounces+shaz=email@hidden on behalf of Dave" <xcode-users-bounces+shaz=email@hidden on behalf of email@hidden> wrote:
>Hi,
>
>I added the Web Kit Framework to my project in the same manner as I’ve added other frameworks in the past. I did it like this:
>
>Right Click on Cocoa.framework in the Project and Select Reveal in Finder.
>
>In the Finder Folder, find the WebKit.framework file and drag it into the same group as Cocoa.framework in the XCode Project.
>
>Then, in the Source file of the class I want to use WebKit on, I add:
>
>#import <WebKit/WebKit.h>
>
>But I get an error "WebKit/WebKit.h Not Found" when I try to compile the project.
>
>Any idea on what the problem could be? I’ve tried cleaning the project, but it still gives an error.
>
>This is a Mac project, running Yosmite/Xcode 6.3.1.
>
>Thanks in Advance
>Dave
>
>
>
>
> _______________________________________________
>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