收藏
回答

WeChat scheme(weixinULAPI) is not be added ?

1.9.6版本的SDK,注册的时候出现 WeChatSDK: wxlog:Error:register fail,  WeChat scheme(weixinULAPI) is not be added to LSApplicationQueriesSchemes in plist!的问题,可通过打印,weixinULAPI是存在的,请问这是怎么问题,全网都搜不到一个解决方案?有人遇到过处理了吗?

源码:

    [WXApi startLogByLevel:WXLogLevelDetail logBlock:^(NSString *log) {
        NSLog(@"WeChatSDK: %@", log);
    }];
    NSArray *queriesSchemes = [[NSBundle mainBundle] objectForInfoDictionaryKey: @"LSApplicationQueriesSchemes"];
    NSLog(@"queriesSchemes:%@",queriesSchemes);
    [WXApi registerApp:AppID universalLink:universaURL];

打印信息:

2022-08-29 11:29:57.089002+0800 Independent[12678:1854151] queriesSchemes:(
    weixin,
    wechat,
    weixinULAPI
)
2022-08-29 11:29:57.089358+0800 Independent[12678:1854151] WeChatSDK: wxlog:Error:register fail,  WeChat scheme(weixinULAPI) is not be added to LSApplicationQueriesSchemes in plist!
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容