美文网首页flutter
flutter iOS运行weibo组件报错Error (Xco

flutter iOS运行weibo组件报错Error (Xco

作者: 香烟不灭 | 来源:发表于2024-03-06 09:44 被阅读0次
    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.
    
    image.png

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

    image.png

    相关文章

      网友评论

        本文标题:flutter iOS运行weibo组件报错Error (Xco

        本文链接:https://www.haomeiwen.com/subject/cdljzdtx.html