Failed to open URL weixin://app/xxxxx/jumpWxa/?xxxxxxx: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.tencent.xin" failed." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x283d64990 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Application xxx is neither visible nor entitled, so may not perform un-trusted user actions." UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Application com.xxx.xxx is neither visible nor entitled, so may not perform un-trusted user actions.}}, NSLocalizedDescription=The request to open "com.tencent.xin" failed., FBSOpenApplicationRequestID=0x7374, NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Application com.xxx.xxx is neither visible nor entitled, so may not perform un-trusted user actions").}
手机型号:iPhone 11 Pro max
版本:16.6
现象:
每次跳转 都是正在连接后 回到App。
2个代理方法都实现了 ,还是有这个问题,打开微信后,显示正在连接,然后就又回到APP了
蹲一下,我也有这个问题
}
func application(_ _app:UIApplication, open url:URL, options: [UIApplication.OpenURLOptionsKey:Any] = [:]) ->Bool{
let urlKey: String = options[UIApplication.OpenURLOptionsKey.sourceApplication] as! String
if urlKey == "com.tencent.xin" {
// 微信 的回调
return WXApi.handleOpen(url, delegate: self)
}
return true
}
func application(_application:UIApplication, continue userActivity:NSUserActivity, restorationHandler:@escaping([UIUserActivityRestoring]?) ->Void) ->Bool{
return WXApi.handleOpenUniversalLink(userActivity, delegate:self)
}
}
是这样吗