当前 iOS 端微信 SDK 注册失败,日志为:
wechat register result=0
wechat register retry result=0
wechat universal link check step=0 success=0 error=appId or universalLink is nil
我们这边已经完成的排查如下:
1. iOS 工程配置已确认正确
- Bundle ID:com.beijing.PartyBuildIntranetApp
- 微信 URL Scheme:wxfc01505b0fb07434
- Team ID:P4P473NZS6
2. App 运行时读取到的真实信息也正确
- app runtime bundleId = com.beijing.PartyBuildIntranetApp
- urlSchemes = (wxfc01505b0fb07434, jinpeiwang)
3. 打包产物内的签名能力已确认正确
codesign 查看 entitlements 结果包含:
- application-identifier = P4P473NZS6.com.beijing.PartyBuildIntranetApp
- com.apple.developer.associated-domains = applinks:oapp.zeshiedu.cn
embedded.mobileprovision 里也已确认:
- application-identifier = P4P473NZS6.com.beijing.PartyBuildIntranetApp
- 包含 associated domains 能力
4. Universal Links 线上文件已确认可访问且响应头正确
以下两个地址当前均为:
- HTTP 200
- Content-Type: application/json
https://oapp.zeshiedu.cn/apple-app-site-association
https://oapp.zeshiedu.cn/.well-known/apple-app-site-association
5. AASA 文件内容也正确
内容为:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "P4P473NZS6.com.beijing.PartyBuildIntranetApp",
"paths": ["*"]
}
]
}
}
6. Safari 侧 Universal Link 拉起 App 能力此前已验证可用
目前现象是:
- iOS 本地工程、签名、entitlements、AASA 文件、线上响应头均已核对正确
- 但 WXApi registerApp:universalLink: 仍返回 0
- checkUniversalLinkReady 仍提示 appId or universalLink is nil
请帮忙确认:
1. 微信开放平台该 AppID(wxfc01505b0fb07434)的 iOS 应用配置是否已完全生效
2. Universal Link 配置是否在微信侧已同步完成
3. 当前 AppID 对应的移动应用与实际 Bundle ID 是否完全匹配
4. 是否存在微信客户端缓存 / 微信开放平台侧延迟生效的问题

你好,截图说明问题哪里有提示微信注册失败
智能回答的,我们检查了都符合