Can't run the app on IOS emulator anymore!

Troubleshooting

After the lastest update, I cant just run my App on IOS emulator!

I get the following error:

Failed to build iOS app

Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'

/Users/luke/Library/Application%20Support/io.flutterflow.prod.mac/sauvvitech_app/ios/Runner/AppDelegate.swift:0:18

Swift Compiler Error (Xcode): Expressions are not allowed at the top level

/Users/luke/Library/Application%20Support/io.flutterflow.prod.mac/sauvvitech_app/ios/Runner/AppDelegate.swift:0:19

Swift Compiler Error (Xcode): No such module 'UIKitimport'

/Users/luke/Library/Application%20Support/io.flutterflow.prod.mac/sauvvitech_app/ios/Runner/AppDelegate.swift:0:7

Could not build the application for the simulator.

Error launching application on iPhone 16 Plus.


It's something about some typo on the AppDelegate.swift

That's how the AppDelegate is after the update, i can see that there's an typo in the imports:
it should be:
import Ukit
import Flutter

in two separate lines
i tried unlocking the file and edit it, but the error keeps happing, like the file wasnt saved, and still using the original one

What have you tried so far?

Tried editing the AppDeleagate file, to fix the error

Did you check FlutterFlow's Documentation for this topic?
Yes
5
8 replies