之前版本报错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.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,操作更方便哦