Launching lib/main.dart on Gedo iPhone in debug mode…
Updating project for Xcode compatibility.
Upgrading Runner.xcscheme
Automatically signing iOS for device deployment using specified development team in Xcode project: xxxxx
Running pod install…
Running Xcode build…
Xcode build done. 91.5s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): lib/helper/notification_helper.dart:22:29: Error: Couldn’t find constructor ‘IOSInitializationSettings’.
Error launching application on Gedo iPhone.
flutter pub upgrade –major-versions
flutter clean
flutter pub get
cd ios && rm -f Podfile.lock
pod install –repo-update
2
Answers
You can enter to XCode and run application for the iPhone. You will get the same error. Then you need to tap error icon and it leads to signing page. Input correct variation and run from XCode again. When it runs then you can exit from XCode and run from Android Studio again.