pod install卡在grpc-core 1.50.1。

huangapple go评论92阅读模式
英文:

pod install getting stuck grpc-core 1.50.1

问题

我无法完成 'pod install',尽管网络连接良好。 使用Flutter卡了2小时。

目标iOS版本是:11.0
平台:iOS,'11.0'

我的控制台:

分析依赖关系
cloud_firestore: 使用在 'firebase_core' 中定义的 Firebase SDK 版本 '10.10.0'
firebase_auth: 使用在 'firebase_core' 中定义的 Firebase SDK 版本 '10.10.0'
firebase_core: 使用在 'firebase_core' 中定义的 Firebase SDK 版本 '10.10.0'
firebase_messaging: 使用在 'firebase_core' 中定义的 Firebase SDK 版本 '10.10.0'
firebase_storage: 使用在 'firebase_core' 中定义的 Firebase SDK 版本 '10.10.0'
下载依赖项
安装 BoringSSL-GRPC (0.0.24)
安装 DKImagePickerController (4.3.4)
安装 DKPhotoGallery (0.0.17)
安装 FMDB (2.7.5)
安装 Firebase (10.10.0)
安装 FirebaseAppCheckInterop (10.11.0)
安装 FirebaseAuth (10.10.0)
安装 FirebaseAuthInterop (10.11.0)
安装 FirebaseCore (10.10.0)
安装 FirebaseCoreExtension (10.11.0)
安装 FirebaseCoreInternal (10.11.0)
安装 FirebaseFirestore (10.10.0)
安装 FirebaseInstallations (10.11.0)
安装 FirebaseMessaging (10.10.0)
安装 FirebaseStorage (10.10.0)
安装 Flutter (1.0.0)
安装 GTMSessionFetcher (3.1.1)
安装 GoogleDataTransport (9.2.3)
安装 GoogleMaps (5.2.0)
安装 GoogleUtilities (7.11.1)
安装 MTBBarcodeScanner (5.0.11)
安装 OrderedSet (5.0.0)
安装 PromisesObjC (2.2.0)
安装 SDWebImage (5.16.0)
安装 SwiftProtobuf (1.22.0)
安装 SwiftyGif (5.4.4)
安装 abseil (1.20220623.0)
安装 barcode_scan2 (0.0.1)
安装 cloud_firestore (4.8.1)
安装 file_picker (0.0.1)
安装 firebase_auth (4.6.3)
安装 firebase_core (2.14.0)
安装 firebase_messaging (14.6.3)
安装 firebase_storage (11.2.3)
安装 flutter_inappwebview (0.0.1)
安装 flutter_local_notifications (0.0.1)
安装 flutter_native_splash (0.0.1)
安装 gRPC-C++ (1.50.1)
安装 gRPC-Core (1.50.1)

我也尝试了这个解决方案 pod update problem with gRPC-Core 1.14.0 and 1.14.1,但没有生效。我的安装卡在 gRPC-Core (1.50.1)。

感谢帮助,非常感谢 👍

英文:

I am unable to complete 'pod install' despite a good internet connection. Stuck for 2 hours with Flutter.

Targated ios version is: 11.0
platform :ios, '11.0'

My console:

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)

I also tried this solution pod update problem with gRPC-Core 1.14.0 and 1.14.1 but did not work. My installation getting stuck at gRPC-Core (1.50.1)

Thanks for helping me, Really appreciated 👍

答案1

得分: 3

我自己解决了这个问题,希望这个答案能帮助其他开发者 👍

我做了以下操作:

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
英文:

I solved the problem myself, I hope this answer will help other developers 👍

what I did:

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

I also Updated Xcode to latest version, after that I run the command in project

pod deintegrate 
pod install --repo-update

答案2

得分: 1

我遇到了相同的问题,后来我发现它自然需要时间,因为没有任何解决方法起作用。

使用的命令:

cd ios
pod install --repo-update

进程“安装 gRPC-Core(1.50.1)”在 macOS 上大约需要 11 分钟,预计在 Windows 上需要更多时间,在 Linux 上可能类似。

英文:

I had the same issue and I later figured that it is naturally taking time because none of the workarounds worked.

Commands used;

cd ios
pod install --repo-update

The process "Installing gRPC-Core (1.50.1)" took around 11 minutes on Macos and it is expected to take a little more on windows and somewhat similar on linux.

huangapple
  • 本文由 发表于 2023年6月22日 18:15:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76530849.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定