https://developers.weixin.qq.com/doc/oplatform/Downloads/iOS_Resource.html
ios 升级xcode12编译失败
类-WXApiObject
1. 'SendAuthReq' has different definitions in different modules; first difference is defined here found property 'scope' with type 'NSString * _Nonnull'.
2.'BaseReq' has different definitions in different modules; first difference is defined here found property 'openID' with type 'NSString * _Nonnull'
3.'BaseResp' has different definitions in different modules; first difference is defined here found property 'errStr' with type 'NSString * _Nonnull'
4.'PayReq' has different definitions in different modules; first difference is defined here found property 'partnerId' with type 'NSString * _Nonnull'
类-wxapi
1.'WXApi' has different definitions in different modules; first difference is defined here found method 'registerApp:universalLink:' that has 2 parameters
Xcode的问题:https://developer.apple.com/forums/thread/658012
升级到最新的xcode版本看看问题是否已经解决,如果不行,可以按照链接中的方案修复:
https://stackoverflow.com/questions/63614048/xcode-12-sessiondelegate-has-different-definitions-in-different-modules