Я внес много изменений в свое приложение Flutter, включая обновление пакетов до их последних/разрешимых версий.
ПРИМЕЧАНИЕ. Мое приложение отлично компилируется в VScode, когда я запускаю его в
Код: Выделить всё
debugКод: Выделить всё
flutter runSo, now it's time to archive and send my build to the Apple. I would normally do this by opening up Xcode, archiving my latest build and then using
Код: Выделить всё
Xcode OrganiserКод: Выделить всё
Distribute AppProblem is, the build fails in Xcode before it can archive. I get these errors in Xcode:
Код: Выделить всё
/Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.h /Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.h: No such file or directory
Код: Выделить всё
/Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/messages.g.h /Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/messages.g.h: No such file or directory
Код: Выделить всё
/Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/ios/Classes/FLTURLLauncherPlugin.h /Users/joshua/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.17/ios/Classes/FLTURLLauncherPlugin.h: No such file or directory
Код: Выделить всё
flutter cleanКод: Выделить всё
flutter pub getКод: Выделить всё
/ios/PodsКод: Выделить всё
/ios/podfile.lockКод: Выделить всё
pod deintegrateКод: Выделить всё
pod install --repo-updateКод: Выделить всё
/iosКод: Выделить всё
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/Источник: https://stackoverflow.com/questions/781 ... 1-ios-clas
Мобильная версия