简体   繁体   English

iOS 崩溃请注册自定义 URL 方案但已添加

[英]iOS crashes with Please register custom URL scheme but already added

My iOS app crashes and sentry shows the error was Please register custom URL scheme 'app-1-xxx-ios-xxx' in the app's Info.plist file.我的 iOS 应用程序崩溃并且哨兵显示错误是Please register custom URL scheme 'app-1-xxx-ios-xxx' in the app's Info.plist file. . . However, I DID add it.但是,我确实添加了它。 When I open the .ipa bundle I uploaded to the app store.当我打开我上传到应用商店的.ipa包时。 Renamed to zip, opened the content of the app in Payload and opened Info.plist in xcode.重命名为 zip,在 Payload 中打开 app 的内容,在 xcode 中打开 Info.plist。 Under URL Types I clearly see under one of the items a URL Scheme with the one they ask for.在 URL 类型下,我清楚地在其中一个项目下看到了他们要求的 URL 方案。 Furthermore.此外。 When I build the same app for internal distribution (testing), install on the phone and test - it works and doesn't fail.当我为内部分发(测试)构建相同的应用程序时,在手机上安装并测试 - 它可以正常工作并且不会失败。 Anyone knows what is going on and how I can solve this?任何人都知道发生了什么以及我该如何解决这个问题?

Did you add the correct custom URL scheme?您是否添加了正确的自定义 URL 方案? The correct URL is located in GoogleService-info.plist with the REVERSED_CLIENT_ID key.正确的 URL 位于带有 REVERSED_CLIENT_ID 键的 GoogleService-info.plist 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM