iOS 12 系统微信校验 Universal Link 会存在大小写的问题
ios使用微信登录sdk在iOS12的系统上会提示bundleID校验不通过是怎么回事?因为苹果弃用UIWebView,在提交appstore的时候总是会发邮件提醒,所以在排除第三方SDK的时候发现在更新微信SDK后iOS12和iOS13出现差异: 更新完微信SDK之后按照文档要求配置了universal link,并在网站配置后验证通过了,通过手机浏览器可以直接呼起APP,微信开放平台和项目里的bundleid也都配置完成,但是在iOS12呼起APP之后微信会弹框提示“由于应用bundleID信息校验不通过,无法使用微信登录”,之后回到APP,奇怪的是可以获取微信的用户信息,在APP内登录是正常的,只是微信的弹框是每次都会弹,更奇怪的是iOS13的手机就不会弹。(微信版本都是7.0.8) 一下是我在xcode中获取的打印信息: wxlog:send req[<SendAuthReq: 0x28138a880>], appID:wx6cb7ef43858742ee, universalLink:https://libraryplus.bjadks.com/, sdkVersion:1.8.6.1 wxlog:set property list change into print log by other block wxlog:launch app with ul only success wxlog:launch app with universal link, ret:1 wxlog:req:<SendAuthReq: 0x281396fd0>, cid:d21fe16b75c8627297ee3fdc904868c889d41771 2019-11-13 13:23:46.816740+0800 Base[8944:919228] PBItemCollectionServicer connection disconnected. 2019-11-13 13:23:47.259734+0800 Base[8944:919228] PBItemCollectionServicer connection disconnected. 2019-11-13 13:23:48.087564+0800 Base[8944:919034] Could not load IOSurface for time string. Rendering locally instead. wxlog:launch app with ul only success wxlog:launch app with universal link, ret:1 wxlog:req:<SendAuthReq: 0x28138a880>, cid:0ff7b5e391edcfbf3c3283dc5ec9005d669f45f8 wxlog:Error:set token fail, errCode:4, errLog:wx token[] or contextId[(null)] is nil! 这个问题折磨我半天了,根本没思路了,不知怎么整。。。求救!
2020-01-04