Bug 185026 - Build Webkit for iOS Device
Summary: Build Webkit for iOS Device
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 11
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2018-04-26 04:46 PDT by rhythm
Modified: 2018-04-26 18:10 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description rhythm 2018-04-26 04:46:32 PDT
##Quesiont: Cannot run WebKit's WKWebView on iOS device on iOS 11.3 ?

Using XCode 9.3,and build Webkit failed on iphone device.
I can successfully build Webkit for iOS simulator and run on simulator and debug the WKWebView i use in the app.
But when it turned to the iphone device, it failed.
I cannot run target iphone app within the workspace which use the WebKit.framework builded from the workspace.
After i use automatically signing the WebKit project and it said alowable-client and enable-bitcode and use together.
Then i disable bitcode and finally i could run my target app.
But the target app cant use the WKWebView i build ,it use the iphone system internal WKWebView, so i cannot debug webkit on iphone device.

XCode also print some wanning like this:
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/PrivateFrameworks/WebCore.framework/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/PrivateFrameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/PrivateFrameworks'