收藏
回答

iOS终端拉起小程序功能,由于应用安全校验不通过,无法使用此功能

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 拉起小程序 微信iOS客户端 8.0.10 2.0.0

1、无法拉起小程序

2、提示由于应用安全校验不通过,无法使用此功能

iOS终端 微信版本:8.0.10 SDK1.8.7.1

APPID:wx1ad87b9adca94707

小程序原始ID:gh_c98c39c31165

Universallink已正确设置

错误日志:

2021-09-15 15:12:36.207578+0800 HBuilder[505:39229] WeChatSDK step:0, 1, check passed,

2021-09-15 15:12:36.209104+0800 HBuilder[505:39229] WeChatSDK step:1, 1, check passed,

2021-09-15 15:12:36.215809+0800 HBuilder[505:39229] WeChatSDK step:2, 1, check passed,

2021-09-15 15:12:36.288585+0800 HBuilder[505:39229] WeChatSDK: wxlog:set property list

2021-09-15 15:12:36.315406+0800 HBuilder[505:39229] WeChatSDK step:3, 1, check passed,

2021-09-15 15:12:53.345144+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with ul only success

2021-09-15 15:12:53.345292+0800 HBuilder[505:39229] WeChatSDK step:4, 1, check passed,

2021-09-15 15:12:53.345370+0800 HBuilder[505:39229] WeChatSDK: wxlog:Successfully starting WeChat with the universal link.

2021-09-15 15:12:56.958955+0800 HBuilder[505:39229] WeChatSDK step:5, 1, Universal Link check passed. The application is launched by WeChat via Universal Link,

2021-09-15 15:12:56.959506+0800 HBuilder[505:39229] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: Universal Link check passed. The application is launched by WeChat via Universal Link, suggestion: ]

2021-09-15 15:12:56.959646+0800 HBuilder[505:39229] WeChatSDK step:6, 1, All Check Passed!,

2021-09-15 15:12:56.959768+0800 HBuilder[505:39229] WeChatSDK: wxlog:WXCheckULStepResult[success: 1, errorInfo: All Check Passed!, suggestion: ]

2021-09-15 15:13:31.722624+0800 HBuilder[505:39229] WeChatSDK: wxlog:send req[<WXLaunchMiniProgramReq: 0x283efe040>], appID:wx1ad87b9adca94707, universalLink:https://tgsq.hengqin.gov.cn/sdkapp/, sdkVersion:1.8.7.1

2021-09-15 15:13:31.722806+0800 HBuilder[505:39229] WeChatSDK: wxlog:LaunchMiniProgram todata extDic=(null)

2021-09-15 15:13:31.731758+0800 HBuilder[505:39229] WeChatSDK: wxlog:set property list

2021-09-15 15:13:31.755421+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2021-09-15 15:13:31.755572+0800 HBuilder[505:39229] WeChatSDK: wxlog:token[(null)] is null

2021-09-15 15:13:31.757862+0800 HBuilder[505:39229] WeChatSDK: wxlog:send req[<WXLaunchMiniProgramReq: 0x283e9fd80>], appID:wx1ad87b9adca94707, universalLink:https://tgsq.hengqin.gov.cn/sdkapp/, sdkVersion:1.8.7.1

2021-09-15 15:13:31.758025+0800 HBuilder[505:39229] WeChatSDK: wxlog:LaunchMiniProgram todata extDic=(null)

2021-09-15 15:13:31.762445+0800 HBuilder[505:39229] WeChatSDK: wxlog:set property list

2021-09-15 15:13:31.785758+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2021-09-15 15:13:31.785909+0800 HBuilder[505:39229] WeChatSDK: wxlog:token[(null)] is null

2021-09-15 15:13:31.846076+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with ul only success

2021-09-15 15:13:31.846435+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with universal link, ret:1

2021-09-15 15:13:31.846548+0800 HBuilder[505:39229] WeChatSDK: wxlog:req:<WXLaunchMiniProgramReq: 0x283efe040>, cid:87005c21ba53ddd01ede0b06366a0bbec5643602

2021-09-15 15:13:32.932160+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with ul only success

2021-09-15 15:13:32.932752+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with universal link, ret:1

2021-09-15 15:13:32.933403+0800 HBuilder[505:39229] WeChatSDK: wxlog:req:<WXLaunchMiniProgramReq: 0x283e9fd80>, cid:9bb9c4456a0284e138f6c19d1edf9420632ec0e2

2021-09-15 15:13:34.700290+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:set token fail, errCode:5, errLog:context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match

2021-09-15 15:13:34.700716+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:check or record token fail, error:Error Domain=WXOpenSDKRefreshTokenError Code=5 "context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match" UserInfo={NSLocalizedDescription=context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match}

2021-09-15 15:13:34.802692+0800 HBuilder[505:39229] WeChatSDK: wxlog:delay launch wx with refresh token fail

2021-09-15 15:13:34.805034+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2021-09-15 15:13:34.805221+0800 HBuilder[505:39229] WeChatSDK: wxlog:token[(null)] is null

2021-09-15 15:13:34.810759+0800 HBuilder[505:39229] WeChatSDK: wxlog:set property list

2021-09-15 15:13:35.395749+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with ul only success

2021-09-15 15:13:35.396036+0800 HBuilder[505:39229] WeChatSDK: wxlog:openURL success:1, url:https://help.wechat.com/app/wx1ad87b9adca94707/refreshTokenFail/?bundleID=com.hengqin.bureau.macao.app&isShare=0&errCode=5&errMsg=context%5B9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602%5D%20not%20match&wechat_app_bundleId=com.hengqin.bureau.macao.app

2021-09-15 15:14:55.968053+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:set token fail, errCode:5, errLog:context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match

39229] WeChatSDK: wxlog:Error:check or record token fail, error:Error Domain=WXOpenSDKRefreshTokenError Code=5 "context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match" UserInfo={NSLocalizedDescription=context[9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602] not match}

2021-09-15 15:14:56.070064+0800 HBuilder[505:39229] WeChatSDK: wxlog:delay launch wx with refresh token fail

2021-09-15 15:14:56.072304+0800 HBuilder[505:39229] WeChatSDK: wxlog:Error:fail to load Keychain status:-25300, keyData null:1

2021-09-15 15:14:56.072762+0800 HBuilder[505:39229] WeChatSDK: wxlog:token[(null)] is null

2021-09-15 15:14:56.084221+0800 HBuilder[505:39229] WeChatSDK: wxlog:set property list

2021-09-15 15:14:56.639090+0800 HBuilder[505:39229] WeChatSDK: wxlog:launch app with ul only success

2021-09-15 15:14:56.639312+0800 HBuilder[505:39229] WeChatSDK: wxlog:openURL success:1, url:https://help.wechat.com/app/wx1ad87b9adca94707/refreshTokenFail/?bundleID=com.hengqin.bureau.macao.app&isShare=0&errCode=5&errMsg=context%5B9bb9c4456a0284e138f6c19d1edf9420632ec0e2-87005c21ba53ddd01ede0b06366a0bbec5643602%5D%20not%20match&wechat_app_bundleId=com.hengqin.bureau.macao.app


报错截图如下:

回答关注问题邀请回答
收藏

2 个回答

  • 不相信馄饨
    不相信馄饨
    2023-08-30

    有没有能解决啊?

    2023-08-30
    有用
    回复
  • Jimwan
    Jimwan
    2021-09-23

    我也遇到相同问题,有没有能解决的?

    2021-09-23
    有用
    回复
登录 后发表内容