https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Share_and_Favorites/iOS.html
日志打印如下
微信日志:wxlog:send req[<SendMessageToWXReq: 0x280d309c0>], appID:wx4aa06880a2215006, universalLink:https://b589.t4m.cn/, sdkVersion:1.8.7.1
微信日志:wxlog:set property list
微信日志:wxlog:Error:fail to load Keychain status:-25300, keyData null:1
微信日志:wxlog:token[(null)] is null
微信日志:wxlog:launch app with ul only success
微信日志:wxlog:launch app with universal link, ret:1
微信日志:wxlog:req:<SendMessageToWXReq: 0x280d309c0>, cid:231dffbf58a28f373f86f371b486da9dcfe6bf7b
extension AppDelegate : WXApiDelegate{ func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return WXApi.handleOpenUniversalLink(userActivity, delegate: self) }
创建项目的xcode版本 是否包含SceneDelegate 文件。如果包含,continueUserActivity方法在appDelegate里边写是不会调用的。要在SceneDelegate文件里写,我的问题就是在这里,写在了SceneDelegate的回调就完事了,不清楚你们是不是这个问题!
swift,SceneDelegate里添加:已解决
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { // wechat sdk handle let appDelegate = UIApplication.shared.delegate as? AppDelegate WXApi.handleOpenUniversalLink(userActivity, delegate: appDelegate) }
有小伙伴解决了吗?app跳转微信小程序遇到同意问题
貌似还是出现这个问题,swiftui里面遇到的。官方能有人帮忙看一下吗?
appID:wxd8382a0aa5e074aa, universalLink:https://bulukachongwu.com/, sdkVersion:1.8.7.1
wxlog:set property list
wxlog:Error:fail to load Keychain status:-25300, keyData null:1
wxlog:token[(null)]为null
wxlog:launch app with ul only success
wxlog:launch app with universal link, ret:1
<SendMessageToWXReq: 0x283fb43c0>, cid:224734d41b6d71fb9a8b977f197a3b518069a009
sdk版本是1.8.7.1 分享图片给微信的时候不成功,提示如下,请微信官方回复。
微信号:Silence_WZ27 日志已经上传:2021.0.08.14:50分上传
所以。。现在怎么处理的?
1111111111111111
麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点