Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting WebKit XCode project to work, or embedding WebKit into an application.




Hi Chris,

On 15-Aug-07, at 10:06 PM, Chris Perkins wrote:

I need to embed the WebKit framework into my application.  I've found quite a bit of documentation and tutorials on how to embed frameworks generally, but they all assume you have a working XCode project for the framework.

I've downloaded the nightly, checked out the current, checked out older releases, _none_ of them have a WebKit XCode project that actually builds the project.  (Why?)  Sure, I can call the build script to build the framework, but to embed it in my app I need to adjust the framework install path, and adjust its segment address.

So, can anyone tell me how to get the XCode project to build? One of the shell scripts it uses is missing header files, some of which I cannot locate anywhere.

I just did this again this morning using the latest webkit code..

Build using the 'build-webkit' script. This will generate the header files you are missing.
Once everything builds then open the xcode projects up and do your modifications. 
Change and build them in order of dependence. After changing INSTALL_PATH I usually remove the already built framework from the build directory and then build the framework again. Use 'otool -L' to make sure the path to that framework and all other WebKit related frameworks is @executable_path/../Frameworks. If it worked then move to the next framework.

Let me know if you run into any issues and I'll try and help out.

todd


---
Todd Thomas
T-Squared Software



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >Getting WebKit XCode project to work, or embedding WebKit into an application. (From: Chris Perkins <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.