Ios 使用Flatter firebase_core时应用程序崩溃-原因:';应用程序名称只能包含字母数字、连字符(-)和下划线(35;)字符';
将Firebase支持添加到我的Flatter应用程序时,在iOS上我遇到以下异常:Ios 使用Flatter firebase_core时应用程序崩溃-原因:';应用程序名称只能包含字母数字、连字符(-)和下划线(35;)字符';,ios,firebase,flutter,Ios,Firebase,Flutter,将Firebase支持添加到我的Flatter应用程序时,在iOS上我遇到以下异常: Terminating app due to uncaught exception 'com.firebase.core', reason: 'App name can only contain alphanumeric, hyphen (-), and underscore (_) characters' 看着FlatterFire,我想知道这是否与iOS捆绑包ID有关。因此我将其更改为符合上述要求(使用h
Terminating app due to uncaught exception 'com.firebase.core', reason: 'App name can only contain alphanumeric, hyphen (-), and underscore (_) characters'
看着FlatterFire,我想知道这是否与iOS捆绑包ID有关。因此我将其更改为符合上述要求(使用hypens而不是dots)。但这并没有解决问题
我还尝试调整iOS“捆绑显示名称”。但这也没用
所以-我的问题是;什么是“应用程序名”?我怎样才能改变它呢?有帮助吗
它提出了一个快速解决方案,即用“-”替换“uu1”
转到info.plist文件,您将看到:
<key>CFBundleName</key>
<string>App Name</string>
CFBundleName
应用程序名称
然后您可以进行更改。Thx-是的-但是在哪里?错误消息中提到的“应用程序名称”是什么?更新了我的答案。