В онлайн-курсе мы создали простое приложение Flutter в Android Studio. Мы загрузили пакет (аудиоплееры) и создали простой AudioPlayer, который делает уведомление, когда кто-то нажимает кнопку. Но когда я пытаюсь запустить приложение на iOS Simulator, Android Studio показывает мне эти ошибки. Я абсолютно не знаю, как их решить.
Это сообщение об ошибке:
Launching lib/main.dart on iPhone 11 in debug mode...
Removing obsolete reference to flutter_assets from Runner.app
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
Running Xcode build...
Xcode build done. 3,1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/luisrotzoll/AndroidStudioProjects/xylophone-flutter/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 11.
Я надеюсь, что кто-то из этого большого сообщества может помочь мне исправить эту ошибку! Спасибо!