当前位置: 首页>后端>正文

flutter iOS运行weibo组件报错Error (Xcode)- Undefined symbol- _OBJC_CLASS_$_WeiboSDK

Running Xcode build...                                                  
 └─Compiling, linking and signing...                        899ms
Xcode build done.                                           44.2s
Failed to build iOS app
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBAuthorizeRequest


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBAuthorizeResponse


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBImageObject


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBMessageObject


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBSendMessageToWeiboRequest


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBSendMessageToWeiboResponse


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WBWebpageObject


Error (Xcode): Undefined symbol: _OBJC_CLASS_$_WeiboSDK

Encountered error while building for device.
flutter iOS运行weibo组件报错Error (Xcode)- Undefined symbol- _OBJC_CLASS_$_WeiboSDK,第1张

解决方法:podfile 文件里 use_frameworks! 改为 use_frameworks! :linkage => :static

flutter iOS运行weibo组件报错Error (Xcode)- Undefined symbol- _OBJC_CLASS_$_WeiboSDK,第2张

https://www.xamrdz.com/backend/3b21942639.html

相关文章: