I developed my utility with Flutter on my important machine (Linux) and with Android the whole lot works high quality.
I attempted to construct my code on a Mac machine for iOS however I obtain an error:
Launching lib/important.dart on iPhone 13 in debug mode...
Xcode construct accomplished. 15,6s
Didn't construct iOS app
Swift Compiler Error (Xcode): Variable binding in a situation requires an initializer
/Customers/andreacocci/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.0/darwin/Courses/SharedPreferencesPlugin.swift:57:21
SharedPreferencesPlugin.swift:57
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
Couldn't construct the applying for the simulator.
Error launching utility on iPhone 13.
Exited (1).
What can I do?
I’ve already tried deleting Podfile.lock and Pod folder and run once more pod set up however not works.
Some information:
- shared_preferences model 2.2.0
- Flutter sdk model 3.10.5
- Xcode model 14.3.1
- MacOS model 13.4.1
- Flutter physician output:
Physician abstract (to see all particulars, run flutter physician -v):
[✓] Flutter (Channel steady, 3.10.5, on macOS 13.4.1 22F82 darwin-x64, locale it-IT)
[✓] Android toolchain - develop for Android gadgets (Android SDK model 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the net
[✓] Android Studio (model 4.1)
[✓] VS Code (model 1.79.2)
[✓] Related system (3 out there)
[✓] Community assets
• No points discovered!