为什么release模式会报not found for architecture arm64的错误
Rrtu***@gmail.com
发布于 4 年前
314社会化分享 U-Share
SDK集成与升级
"_OBJC_CLASS_$_SendAuthReq", referenced from:
objc-class-ref in WechatAuth.o
"_OBJC_CLASS_$_SendAuthResp", referenced from:
objc-class-ref in WechatManager.o
"_OBJC_CLASS_$_SendMessageToWXReq", referenced from:
objc-class-ref in WechatShare.o
"_OBJC_CLASS_$_ShowMessageFromWXReq", referenced from:
objc-class-ref in WechatManager.o
"_OBJC_CLASS_$_UMCommonLogManager", referenced from:
objc-class-ref in UMHelper.o
"_OBJC_CLASS_$_UMConfigure", referenced from:
objc-class-ref in UMHelper.o
"_OBJC_CLASS_$_UMShareImageObject", referenced from:
objc-class-ref in UMShareSwiftInterface.o
"_OBJC_CLASS_$_UMSocialGlobal", referenced from:
objc-class-ref in UMHelper.o
"_OBJC_CLASS_$_UMSocialManager", referenced from:
objc-class-ref in UMHelper.o
objc-class-ref in UMShareSwiftInterface.o
"_OBJC_CLASS_$_UMSocialMessageObject", referenced from:
objc-class-ref in UMShareSwiftInterface.o
"_OBJC_CLASS_$_WXApi", referenced from:
...
"_OBJC_CLASS_$_WXImageObject", referenced from:
objc-class-ref in WechatShare.o
"_OBJC_CLASS_$_WXLaunchMiniProgramReq", referenced from:
objc-class-ref in WechatShare.o
"_OBJC_CLASS_$_WXMediaMessage", referenced from:
objc-class-ref in WechatShare.o
ld: symbol(s) not found for architecture arm64pod文件:
use_frameworks!
install_all_flutter_pods(flutter_application_path)
pod 'Kingfisher', '~> 7.0'
pod 'Files', '~> 4.0'
pod 'UTDID'
pod 'UMCommon'
pod 'UMDevice'
pod 'UMCCommonLog'
pod 'UMAPM'
pod 'UMShare/UI'
pod 'UMShare/Social/WeChat'
pod 'UMShare/Social/QQ'
pod 'UMShare/Social/Email'
pod 'UMShare/Social/SMS'
pod 'AliyunOSSiOS'在debug模式下真机运行,都没问题,功能也正常。
但是release模式下编译就报了这个错误,网上的方法都试了遍,都没解决。