Flutter: ошибка «Исключение: ошибка при запуске установки модуля» после обновления версии Flutter.
Я не могу запустить свой код на собственном iPhone, после того как я обновил свой проект flutter с 2.23 до 2.8 и обновил все пакеты, это проект, над которым я работал несколько месяцев назад, и теперь есть новая версия flutter, поэтому Я подумал, что было бы лучше поддерживать мой SDK и пакеты в актуальном состоянии, но я получил сообщение об ошибке
Exception: Error running pod install
когда пытаюсь протестировать на своем телефоне :(
Вот полный журнал отладки:
Launching lib/main.dart on iPhone 13 in debug mode...
lib/main.dart:1
Automatically signing iOS for device deployment using specified development team in Xcode project: 39VQHTC6U8
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `agora_rtc_engine` from `.symlinks/plugins/agora_rtc_engine/ios`
-> Fetching podspec for `audio_session` from `.symlinks/plugins/audio_session/ios`
-> Fetching podspec for `camera` from `.symlinks/plugins/camera/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
cloud_firestore: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
-> Fetching podspec for `cloud_functions` from `.symlinks/plugins/cloud_functions/ios`
cloud_functions: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
-> Fetching podspec for `ffmpeg_kit_flutter` from `.symlinks/plugins/ffmpeg_kit_flutter/ios`
-> Fetching podspec for `firebase_auth` from `.symlinks/plugins/firebase_auth/ios`
firebase_auth: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
firebase_core: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_storage` from `.symlinks/plugins/firebase_storage/ios`
firebase_storage: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
-> Fetching podspec for `flutter_downloader` from `.symlinks/plugins/flutter_downloader/ios`
-> Fetching podspec for `flutter_ffmpeg` from `.symlinks/plugins/flutter_ffmpeg/ios`
-> Fetching podspec for `flutter_image_compress` from `.symlinks/plugins/flutter_image_compress/ios`
-> Fetching podspec for `flutter_sound` from `.symlinks/plugins/flutter_sound/ios`
-> Fetching podspec for `flutter_statusbarcolor_ns` from `.symlinks/plugins/flutter_statusbarcolor_ns/ios`
-> Fetching podspec for `just_audio` from `.symlinks/plugins/just_audio/ios`
-> Fetching podspec for `path_provider_ios` from `.symlinks/plugins/path_provider_ios/ios`
-> Fetching podspec for `permission_handler` from `.symlinks/plugins/permission_handler/ios`
-> Fetching podspec for `photo_manager` from `.symlinks/plugins/photo_manager/ios`
-> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `video_compress` from `.symlinks/plugins/video_compress/ios`
-> Fetching podspec for `video_player` from `.symlinks/plugins/video_player/ios`
-> Fetching podspec for `video_thumbnail` from `.symlinks/plugins/video_thumbnail/ios`
-> Fetching podspec for `wakelock` from `.symlinks/plugins/wakelock/ios`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_1_d_9.txt exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: Specs/1/d/9/AgoraRtcEngine_iOS/3.6.0.1/AgoraRtcEngine_iOS.podspec.json exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/8.10.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update
4
CDN: trunk Relative path: Specs/0/3/5/Firebase/8.9.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path: all_pods_versions_f_a_2.txt exists! Returning local because checking is only perfomed in repo update
......
......
......
Comparing resolved specification to the sandbox manifest
A AgoraRtcEngine_iOS
A BoringSSL-GRPC
A FMDB
A Firebase
A FirebaseAuth
A FirebaseCore
A FirebaseCoreDiagnostics
A FirebaseFirestore
A FirebaseFunctions
A FirebaseStorage
A Flutter
A GTMSessionFetcher
A GoogleDataTransport
A GoogleUtilities
A Mantle
A PromisesObjC
A SDWebImage
A SDWebImageWebPCoder
A abseil
A agora_rtc_engine
A audio_session
A camera
A cloud_firestore
A cloud_functions
A ffmpeg-kit-ios-https
A ffmpeg_kit_flutter
A firebase_auth
A firebase_core
A firebase_storage
A flutter_downloader
A flutter_ffmpeg
A flutter_image_compress
A flutter_sound
A flutter_sound_core
A flutter_statusbarcolor_ns
A gRPC-C++
A gRPC-Core
A just_audio
A leveldb-library
A libwebp
A mobile-ffmpeg-audio
A mobile-ffmpeg-full
A nanopb
A path_provider_ios
A permission_handler
A photo_manager
A share
A sqflite
A video_compress
A video_player
A video_thumbnail
A wakelock
Downloading dependencies
-> Installing AgoraRtcEngine_iOS (3.5.0.3)
> Copying AgoraRtcEngine_iOS from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/AgoraRtcEngine_iOS/3.5.0.3-ff8e0` to `Pods/AgoraRtcEngine_iOS`
-> Installing BoringSSL-GRPC (0.0.7)
> Copying BoringSSL-GRPC from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/BoringSSL-GRPC/0.0.7-8edf6` to `Pods/BoringSSL-GRPC`
-> Installing FMDB (2.7.5)
> Copying FMDB from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FMDB/2.7.5-2ce00` to `Pods/FMDB`
-> Installing Firebase (8.9.0)
> Copying Firebase from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/Firebase/8.9.0-13d8d` to `Pods/Firebase`
-> Installing FirebaseAuth (8.9.0)
> Copying FirebaseAuth from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseAuth/8.9.0-2b78b` to `Pods/FirebaseAuth`
-> Installing FirebaseCore (8.9.0)
> Copying FirebaseCore from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseCore/8.9.0-599ee` to `Pods/FirebaseCore`
-> Installing FirebaseCoreDiagnostics (8.10.0)
> Copying FirebaseCoreDiagnostics from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseCoreDiagnostics/8.10.0-56fb7` to `Pods/FirebaseCoreDiagnostics`
-> Installing FirebaseFirestore (8.9.1)
> Copying FirebaseFirestore from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseFirestore/8.9.1-15ae9` to `Pods/FirebaseFirestore`
-> Installing FirebaseFunctions (8.9.0)
> Copying FirebaseFunctions from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseFunctions/8.9.0-c78ec` to `Pods/FirebaseFunctions`
-> Installing FirebaseStorage (8.9.0)
> Copying FirebaseStorage from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/FirebaseStorage/8.9.0-452c9` to `Pods/FirebaseStorage`
-> Installing Flutter (1.0.0)
-> Installing GTMSessionFetcher (1.7.0)
> Copying GTMSessionFetcher from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/GTMSessionFetcher/1.7.0-43748` to `Pods/GTMSessionFetcher`
-> Installing GoogleDataTransport (9.1.2)
> Copying GoogleDataTransport from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/GoogleDataTransport/9.1.2-629c2` to `Pods/GoogleDataTransport`
-> Installing GoogleUtilities (7.6.0)
> Copying GoogleUtilities from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/GoogleUtilities/7.6.0-684ee` to `Pods/GoogleUtilities`
-> Installing Mantle (2.2.0)
> Copying Mantle from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/Mantle/2.2.0-c5aa8` to `Pods/Mantle`
-> Installing PromisesObjC (2.0.0)
> Copying PromisesObjC from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/PromisesObjC/2.0.0-68159` to `Pods/PromisesObjC`
-> Installing SDWebImage (5.12.1)
> Copying SDWebImage from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/SDWebImage/5.12.1-4dc3e` to `Pods/SDWebImage`
-> Installing SDWebImageWebPCoder (0.8.4)
> Copying SDWebImageWebPCoder from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/SDWebImageWebPCoder/0.8.4-f9301` to `Pods/SDWebImageWebPCoder`
-> Installing abseil (0.20200225.0)
> Copying abseil from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/abseil/0.20200225.0-6c8eb` to `Pods/abseil`
-> Installing agora_rtc_engine (4.0.7)
-> Installing audio_session (0.0.1)
-> Installing camera (0.0.1)
-> Installing cloud_firestore (3.1.4)
-> Installing cloud_functions (3.2.3)
-> Installing ffmpeg-kit-ios-https (4.5.LTS)
> Copying ffmpeg-kit-ios-https from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/ffmpeg-kit-ios-https/4.5.LTS-420b7` to `Pods/ffmpeg-kit-ios-https`
-> Installing ffmpeg_kit_flutter (4.5.0)
-> Installing firebase_auth (3.3.3)
-> Installing firebase_core (1.10.5)
-> Installing firebase_storage (10.2.3)
-> Installing flutter_downloader (0.0.1)
-> Installing flutter_ffmpeg (0.4.2)
-> Installing flutter_image_compress (0.0.1)
-> Installing flutter_sound (8.4.2)
-> Installing flutter_sound_core (8.4.2)
> Copying flutter_sound_core from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/flutter_sound_core/8.4.2-55a16` to `Pods/flutter_sound_core`
-> Installing flutter_statusbarcolor_ns (0.0.1)
-> Installing gRPC-C++ (1.28.2)
> Copying gRPC-C++ from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/gRPC-C++/1.28.2-13d8c` to `Pods/gRPC-C++`
-> Installing gRPC-Core (1.28.2)
> Copying gRPC-Core from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/gRPC-Core/1.28.2-4afa1` to `Pods/gRPC-Core`
-> Installing just_audio (0.0.1)
-> Installing leveldb-library (1.22.1)
> Copying leveldb-library from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/leveldb-library/1.22.1-50c7b` to `Pods/leveldb-library`
-> Installing libwebp (1.2.1)
> Copying libwebp from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/libwebp/1.2.1-98a37` to `Pods/libwebp`
-> Installing mobile-ffmpeg-audio (4.4.LTS)
> Copying mobile-ffmpeg-audio from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/mobile-ffmpeg-audio/4.4.LTS-1e0a0` to `Pods/mobile-ffmpeg-audio`
-> Installing mobile-ffmpeg-full (4.4)
> Copying mobile-ffmpeg-full from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/mobile-ffmpeg-full/4.4-505c5` to `Pods/mobile-ffmpeg-full`
-> Installing nanopb (2.30908.0)
> Copying nanopb from `/Users/raheyo/Library/Caches/CocoaPods/Pods/Release/nanopb/2.30908.0-a0ba3` to `Pods/nanopb`
-> Installing path_provider_ios (0.0.1)
-> Installing permission_handler (5.1.0+2)
-> Installing photo_manager (1.0.0)
-> Installing share (0.0.1)
-> Installing sqflite (0.0.2)
-> Installing video_compress (0.3.0)
-> Installing video_player (0.0.1)
-> Installing video_thumbnail (0.0.1)
-> Installing wakelock (0.0.1)
- Running pre install hooks
[!] The 'Pods-Runner' target has frameworks with conflicting names: libavcodec.framework, libavdevice.framework, libavfilter.framework, libavformat.framework, libavutil.framework, libswresample.framework, and libswscale.framework.
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:67:in `verify_no_duplicate_names'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:54:in `block (2 levels) in verify_no_duplicate_framework_and_library_names'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:48:in `each_key'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:48:in `block in verify_no_duplicate_framework_and_library_names'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:47:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:47:in `verify_no_duplicate_framework_and_library_names'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:37:in `validate!'
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.3.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.3.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.2.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.1.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.1.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/5.0.0-beta/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.8/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.7/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.4.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.3.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.3.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.3.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.3.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.2.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.2.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.2.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.2.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.1.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.1.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.1.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.0.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.0.0-beta2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/4.0.0-beta/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.8.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.8.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.8.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.8.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.7.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.5.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.5.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.5.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.5/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.3/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.2/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.1/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/3.0/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/2.7.4/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/2.7/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/1/1/7/SDWebImage/2.6/SDWebImage.podspec.json exists! Returning local because checking is only performed in repo update
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:597:in `validate_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:163:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
Exception: Error running pod install
Exited (sigterm)
Я также пробовал некоторые популярные решения в Интернете, такие как запуск команды:
pod install --repo-update
Но я получил эту ошибку:
[!] The 'Pods-Runner' target has frameworks with conflicting names: libavcodec.framework, libavdevice.framework, libavfilter.framework, libavformat.framework, libavutil.framework, libswresample.framework, and libswscale.framework.
6 ответов
Кажется, что ваш
pod
файл содержит
old data
а также поэтому для этого я предлагаю вам сначала деинтегрировать стручок, а затем
reinstall
Это
pod deintegrate // run this command to deintegrate
тогда не все стручок снова
также выполнить до и после этого процесса
Если приведенные выше решения не работают, вы также можете попробовать эти шаги.
прежде всего просто перетащите папку IOS в
terminal
затем очистите кеш файла pod, используя команду ниже
pod cache clean -all
после вышеуказанных шагов просто запустите
flutter clean
а также
flutter pub get
команда
и, наконец, вы просто запускаете ниже
command
pod install
Дайте мне знать, работает ли это для вас или нет.
Когда я сталкиваюсь с подобными проблемами сборки, я делаю 3 вещи. Сначала убедитесь, что вы остановили любой запущенный экземпляр программы, а затем выполните эти 3 вещи.
- Полностью удалите папку (ios | android | web | macos | etc). Что бы ни доставляло вам неприятности, удалите эту папку
- Из корня папки проекта запустите "flutter clean"
- Из корня папки проекта запустите «flutter create».
Проблема связана с XCode. Пожалуйста, обновите свой xcode и перезагрузите компьютер. сбросьте свою команду, затем попробуйте запустить
flutter build ios
Понижение версии моих какаоподов до 1.11.3 работает... Просто временное исправление
Это произойдет, как только вы скопируете проект из другого проекта, поскольку структура, совместимая с проектом, не создается. поэтому вам необходимо воссоздать папки/каталоги платформы, совместимые с проектом Flutter.
- "трепетать чисто"
- «трепетание создай».
- "трепещущий бег"
Во втором пункте не пропустите ТОЧКУ с командой CREATE.
Ваш
Podfile
может иметь старый формат.
вы можете попробовать отформатировать, как в этом примере https://github.com/tanersener/flutter-ffmpeg/blob/master/example/ios/Podfile
Или же
Попробуйте запустить
pod install
команду в папке ios.
Или же
Пытаться
flutter clean