美文网首页
pod mob_sharesdk 报错error build:

pod mob_sharesdk 报错error build:

作者: woaiyouxi | 来源:发表于2023-02-01 17:06 被阅读0次

之前版本报错TencentAuthorizeState,TencentAuthMode,TencentOAuth点击

mob_sharesdk '4.4.9升级4.4.10报错

error build: Undefined symbol: _OBJC_CLASS_$_PayReq
error build: Undefined symbol: _OBJC_CLASS_$_PayResp
error build: Undefined symbol: _OBJC_CLASS_$_WXApi
error build: Undefined symbol: _OBJC_CLASS_$_WXLaunchMiniProgramReq
error build: Undefined symbol: _OBJC_CLASS_$_WXLaunchMiniProgramResp

先看看pod,WeChatFull为完整版

  pod 'mob_sharesdk' 
  pod 'mob_sharesdk/ShareSDKPlatforms/WeChatFull'#(Full为完整版)

Pods/mob_sharesdk/ShareSDK/Support/PlatformSDK/WeChatSDKFull ,
缺少PayReq,寻找到目标如图

4.4.10报错分析.png
分析:看大小猜测,大概是搞错了缩减版本和完整版本
解决方案:
复制4.4.9中的Pods/mob_sharesdk/ShareSDK/Support/PlatformSDK/WeChatSDKFull /libWeChatSDK.a,改名字为libWeChatSDKFull.a,pod更新后再复制替换libWeChatSDKFull.a

附链接4.4.9中复制的libWeChatSDKFull,链接失效不补档:
链接: https://pan.baidu.com/s/12k-8hAAoUfamz0u_bWdWzQ?pwd=be3i 提取码: be3i 复制这段内容后打开百度网盘手机App,操作更方便哦

相关文章

网友评论

      本文标题:pod mob_sharesdk 报错error build:

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