flutter pod install getting stuck grpc-core 1.50.1

3df52oht  于 2023-06-24  发布在  Flutter
关注(0)|答案(1)|浏览(210)

我无法完成“Pod安装”,尽管有良好的互联网连接。和Flutter一起困了两个小时。
iOS版本是:11.0平台:ios,'11.0'
我的控制台:

Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
Downloading dependencies
Installing BoringSSL-GRPC (0.0.24)
Installing DKImagePickerController (4.3.4)
Installing DKPhotoGallery (0.0.17)
Installing FMDB (2.7.5)
Installing Firebase (10.10.0)
Installing FirebaseAppCheckInterop (10.11.0)
Installing FirebaseAuth (10.10.0)
Installing FirebaseAuthInterop (10.11.0)
Installing FirebaseCore (10.10.0)
Installing FirebaseCoreExtension (10.11.0)
Installing FirebaseCoreInternal (10.11.0)
Installing FirebaseFirestore (10.10.0)
Installing FirebaseInstallations (10.11.0)
Installing FirebaseMessaging (10.10.0)
Installing FirebaseStorage (10.10.0)
Installing Flutter (1.0.0)
Installing GTMSessionFetcher (3.1.1)
Installing GoogleDataTransport (9.2.3)
Installing GoogleMaps (5.2.0)
Installing GoogleUtilities (7.11.1)
Installing MTBBarcodeScanner (5.0.11)
Installing OrderedSet (5.0.0)
Installing PromisesObjC (2.2.0)
Installing SDWebImage (5.16.0)
Installing SwiftProtobuf (1.22.0)
Installing SwiftyGif (5.4.4)
Installing abseil (1.20220623.0)
Installing barcode_scan2 (0.0.1)
Installing cloud_firestore (4.8.1)
Installing file_picker (0.0.1)
Installing firebase_auth (4.6.3)
Installing firebase_core (2.14.0)
Installing firebase_messaging (14.6.3)
Installing firebase_storage (11.2.3)
Installing flutter_inappwebview (0.0.1)
Installing flutter_local_notifications (0.0.1)
Installing flutter_native_splash (0.0.1)
Installing gRPC-C++ (1.50.1)
Installing gRPC-Core (1.50.1)

我也尝试过这个解决方案pod update problem with gRPC-Core 1.14.0 and 1.14.1,但没有工作。我的安装卡在gRPC核心(1.50.1)
谢谢你帮我,真的很感激👍

cx6n0qe3

cx6n0qe31#

我自己解决了这个问题,希望这个答案对其他开发者有帮助👍
我所做的:

pod cache clean --all
rm -rf ~/Library/Caches/CocoaPods                                                        
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
sudo gem install cocoapods

我还更新了Xcode到最新版本,之后我在项目中运行命令

pod deintegrate 
pod install --repo-update

相关问题