Kiran Jadhav
Kiran Jadhav

Reputation: 3327

Flutter - New Project - able to run flutter app on iPhone but not able to run ios app on simulator iPhone 15 Pro Max

Error (Xcode): Target debug_unpack_ios failed: Exception: Binary /Users/fathom/Documents/Documents/Flutter/projects_bitbucket/flashwave/build/ios/Debug-iphonesimulator/Flutter.framework/Flutter does not exist, cannot thin

Could not build the application for the simulator. Error launching application on iPhone 15 Pro Max.

Xcode - Version 15.0.1 (15A507)

Upvotes: 0

Views: 295

Answers (2)

Anna
Anna

Reputation: 11

In AppDelegate.swift file, you need to change @UIApplicationMain to @main.

AppDelegate.swift file screen capture

Or, you can up upgrade your Flutter by running the following command in Terminal:

flutter upgrade

Upvotes: 1

Roma Gritsuk
Roma Gritsuk

Reputation: 1

You have to reinstall flutter. I had the same issue after the macOS update.

Upvotes: 0

Related Questions