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
<http://tsquaredsoftware.com>http://tsquaredsoftware.com