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的主要内容,如果未能解决你的问题,请参考以下文章

Flutter小记8修复几个pub cache引起的错误 Could not find ... “pubspec.yaml“ 或 Flutter SDK is not available

Flutter小记8修复几个pub cache引起的错误 Could not find ... “pubspec.yaml“ 或 Flutter SDK is not available

flutter Could not find the built application bundle at build/ios/iphoneos/Runner.app.

m1版Mac运行Flutter项目报错:Kotlin could not find the required JDK tools in the Java ...

m1版Mac运行Flutter项目报错:Kotlin could not find the required JDK tools in the Java ...

关于iOS报Could not find ‘minitest‘ (>= 5.1) among 39 total gem(s)的错误