Flutter IOS не запускаетсяIOS

Программируем под IOS
Ответить
Anonymous
 Flutter IOS не запускается

Сообщение Anonymous »

У меня возникли проблемы с созданием проекта Flutter. Вероятно, это связано с IOS Pod. Я пробовал очистить Flutter, переустановить какао-стручки и переустановить плагины/расширения Flutter. Вот ошибка.

Код: Выделить всё

Launching lib/main.dart on iPhone 15 Pro in debug mode...
Xcode build done.                                           12.0s
Failed to build iOS app
Error output from Xcode build:
↳
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:C4FB411D-55EA-4A02-87AA-27C3DDD6F1D7, OS:17.5, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C4FB411D-55EA-4A02-87AA-27C3DDD6F1D7, OS:17.5, name:iPhone 15 Pro }
** BUILD FAILED **

Xcode's output:
↳
Writing result bundle at path:
/var/folders/pc/1w980w2s1k1d_27mk95r0wh40000gn/T/flutter_tools.XkKeGu/flutter_ios_build_temp_dirnfIN33/temporary_xcresult_bundle

While building module 'firebase_storage':
In file included from :1:
In file included from /Users/edisoncai/Documents/GitHub/UHS-StudentTools/build/ios/Debug-iphonesimulator/firebase_storage/firebase_storage.framework/Headers/firebase_storage-umbrella.h:15:
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/build/ios/Debug-iphonesimulator/firebase_storage/firebase_storage.framework/Headers/FLTTaskStateChannelStreamHandler.h:13:9: error: include of non-modular header inside framework module 'firebase_storage.FLTTaskStateChannelStreamHandler': '/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Headers/Public/Firebase/Firebase.h' [-Werror,-Wnon-modular-include-in-framework-module]
13 | #import 
|         ^
1 error generated.
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseAppCheckInterop' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseAuthInterop' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'path_provider_foundation-path_provider_foundation_privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'PromisesObjC' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'GTMSessionFetcher' from project 'Pods')
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.1.99.  (in target 'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'GoogleUtilities' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCoreInternal-FirebaseCoreInternal_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCoreInternal' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCore-FirebaseCore_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCore' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCoreExtension-FirebaseCoreExtension_Privacy' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseCoreExtension' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'FirebaseStorage' from project 'Pods')
/Users/edisoncai/Documents/GitHub/UHS-StudentTools/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'Firebase' from project 'Pods')

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

Exited (1).
Будем благодарны за любую помощь. Я с радостью вышлю любую необходимую дополнительную информацию. Заранее спасибо.
Вот изображение моего Pod-файла.

Подробнее здесь: https://stackoverflow.com/questions/791 ... t-starting
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»