"_OBJC_CLASS_$_WKWebView", referenced from:"...and "linker command failed with exit code 1 (use -v "
2017-06-07 10:25
645 查看
一,说明:
在做JS与OC交互时;Xcode报错:如下图:二,解决方法:(添加Webkit.framework status:optional)
Go to your Project, click on General, scroll down to Linked Frameworks and Libraries, and add WebKit.framework as Optional. See here: Xcode 6 + iOS 8 SDK but deploy on iOS 7 (UIWebKit & WKWebKit)
转到你的项目,点击通用,向下滚动到链接的框架和库,添加WebKit。框架是可选的。看这里:Xcode 6+ios8 SDK,但部署在iOS 7上(UIWebKit和WKWebKit)
stackoverflow上相同的问题描述:https://stackoverflow.com/questions/27615041/uiwebview-and-wkwebview
相关文章推荐
- "_OBJC_CLASS_$_OpenUDID", referenced from:&linker command failed with exit code 1 (use -v to see inv
- "_OBJC_CLASS_$_ALAssetsLibrary", referenced from:和clang: error: linker command failed with exit code 1 (use -v to see invocation)错误
- "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
- 从"error: linker command failed with exit code 1 (use -v to see invocation)"说起
- 解决 linker command failed with exit code 1 (use -v to see invocation) 的方法
- symbol dyld_stub_binding_helper not found linker command failed with exit code 1 (use -v to see invo
- 错误:linker command failed with exit code 1 (use -v to see invocation)
- error: linker command failed with exit code 1 (use -v to see invocation)
- 添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试
- 【linker command failed with exit code 1 (use -v to see invocation)】错误的解决办法
- linker command failed with exit code 1 (use -v to see invocation)
- iOS Dev (6) 错误解决:linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)的错误调试
- [ios]添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试 【转】
- 解决 linker command failed with exit code 1 (use -v to see invocation) 方法
- error: linker command failed with exit code 1 (use -v to see invocation)