Will_sd
Will_sd
  • 发布:2016-06-21 10:53
  • 更新:2017-04-18 00:41
  • 阅读:6129

iOS 离线打包x86_64的链接错误【问题已经解决】

分类:5+ SDK

你好。看了http://ask.dcloud.net.cn/question/4040的问答,我遇到了类似的问题
Undefined symbols for architecture x86_64:
"_OBJCCLASS$_WKUserContentController", referenced from:
objc-class-ref in liblibPDRCore.a(H5WEWKWebview.o)
"_OBJCCLASS$_WKUserScript", referenced from:
objc-class-ref in liblibPDRCore.a(H5WEWKWebview.o)
"_OBJCCLASS$_WKWebView", referenced from:
objc-class-ref in liblibPDRCore.a(H5WEWKWebview.o)
"_OBJCCLASS$_WKWebViewConfiguration", referenced from:
objc-class-ref in liblibPDRCore.a(H5WEWKWebview.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我查看 BuildPhases下的LinkBinaryWithLibraries中已经有添加CoreTelephony.framework

麻烦看下怎么解决,多谢

2016-06-21 10:53 负责人:无 分享
已邀请:
Will_sd

Will_sd (作者)

在QQ群已经得到答复。
需要添加Webkit.framework

  • iwindy

    求 qq 群号

    2017-04-18 10:14

s***@126.com

s***@126.com

我是添加以下Framework后解决的,供大家参考:

Feature名称:navigator  
API:plus.navigator.*  
LinkerFlags:-llibNavigator  
Library(.a):liblibNavigator.a  
Framework:"AVFoundation.framework,AssetsLibrary.framework,AddressBook.framework,CoreLocation.framework" 

该问题目前已经被锁定, 无法添加新回复