[webkit-dev] Building WebKit for an iOS device

Michael Saboff msaboff at apple.com
Wed Jul 12 10:32:24 PDT 2017


I’ll add a little to Alex’s comments.

I doubt you could build all of WebKit with the public iOS SDK.  You certainly can’t sign JavaScriptCore to use JIT memory.  Even if could build WebKit and statically linked your code with what you built, there will likely be some mismatch between the WebKit you built and the System frameworks that WebKit links against, such as UIKit, that will cause your app to crash on startup.

- Michael

> On Jul 12, 2017, at 10:19 AM, Alex Christensen <achristensen at apple.com> wrote:
> 
> WebKit can be built and run on the iOS simulator by anyone with the public iOS SDK.  I use https://webkit.org/blog/3457/building-webkit-for-ios-simulator/ <https://webkit.org/blog/3457/building-webkit-for-ios-simulator/> when I forget how to do this.
> 
> I guess WebKit can be built for device, but I’m pretty sure WebKit cannot be put as the system framework on an iOS device without Apple-internal tools.  With a lot of work you might be able to statically link everything into a custom app for local debugging, but I’m pretty sure such an app would be rejected by the App Store based on section 2.5.6 of https://developer.apple.com/app-store/review/guidelines/ <https://developer.apple.com/app-store/review/guidelines/>
> 
>> On Jul 12, 2017, at 8:31 AM, Frédéric WANG <fred.wang at free.fr <mailto:fred.wang at free.fr>> wrote:
>> 
>> Hello,
>> 
>> For development and testing purpose, I was wondering if there is a way
>> to produce a build of WebKit/Safari-mobile and to install it on a device
>> (instead of using the iOS simulator)? And is there any specific
>> requirement like having an Apple developer license and a registered device?
>> 
>> I know that we have a builder [1] and I just noticed the "--ios-device"
>> parameter for the build-webkit script but I can't find any information
>> on the official documentation [2] or on the WebKit wiki. I also tried
>> searching this mailing list about the topic but could not find any
>> relevant thread.
>> 
>> Thanks,
>> 
>> Frédéric
>> 
>> [1] https://build.webkit.org/builders/Apple%20iOS%2010%20Release%20(Build) <https://build.webkit.org/builders/Apple%20iOS%2010%20Release%20(Build)>
>> [2] https://webkit.org/building-webkit/ <https://webkit.org/building-webkit/>
>> 
>> 
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20170712/2d01eaa8/attachment.html>


More information about the webkit-dev mailing list