Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter: Could not find the built application bundle at build/ios/iphonesimulator/Runner.app

I am trying to run my application in debug mode from VSCode. However, every time, regardless if I am running on a simulator or a real device, the debug console outputs

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

or

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

When I went to the specified directory, my app bundle is being built every time but instead of being named Runner.app it is named MyAppName.app. I suspect the difference in name is causing the VSCode compiler to not being able to locate Runner.app.

My question: How do I change my build settings so that the build bundle is named Runner.app again?

like image 544
Cuiboy Avatar asked Sep 17 '19 19:09

Cuiboy


2 Answers

You might have updated the Display Name from Runner to your app name

Just open your project in Xcode and Put "Runner" back in Display Name if you want to change the application name please go into info.plist and change bundle name from there.

Check this image

Note: Changing this will not effect your app’s display name.

like image 50
M.Bilal Murtaza Avatar answered Sep 20 '22 11:09

M.Bilal Murtaza


Did you change the "Display Name" of Runner in your Xcode project? After I tried to change the "Display Name" to a custom name I got your mentioned error. After I renamed it back to "Runner" everything works fine again.

like image 33
masewo Avatar answered Sep 17 '22 11:09

masewo