flutter Could not find the built application bundle

Posted 跌倒不要紧,要紧的是赶快爬起来。

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flutter Could not find the built application bundle相关的知识,希望对你有一定的参考价值。

报错信息
Could not find the built application bundle at build/ios/iphoneos/Runner.app. Error launching application on xxx的 iPhone.

错误的原因是在xcode中修改了bundle Name字段的名字 默认是Runner,将bundle Name修改为Runner即可

修改plist文件

<key>CFBundleDisplayName</key>

<string>$(PRODUCT_NAME)</string>

<key>CFBundleExecutable</key>

<string>$(EXECUTABLE_NAME)</string>

<key>CFBundleIdentifier</key>

<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>

<key>CFBundleInfoDictionaryVersion</key>

<string>6.0</string>

<key>CFBundleName</key>

<string>VIPidea课堂</string>

  

以上是关于flutter Could not find the built application bundle的主要内容,如果未能解决你的问题,请参考以下文章