尽管互联网连接良好,但我无法完成“pod 安装”。用Flutter卡了2个小时。
目标 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)
Run Code Online (Sandbox Code Playgroud)
我还尝试了gRPC-Core 1.14.0 和 1.14.1 的解决方案 pod update Problem,但没有成功。我的安装卡在 gRPC-Core (1.50.1) 上
感谢您帮助我,非常感谢
Has*_*ahi 13
我自己解决了这个问题,希望这个答案能帮助其他开发者
我做了什么:
pod cache clean --all
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
sudo gem install cocoapods
Run Code Online (Sandbox Code Playgroud)
我还将 Xcode 更新到最新版本,之后我在项目中运行命令
pod deintegrate
pod install --repo-update
Run Code Online (Sandbox Code Playgroud)
小智 6
我遇到了同样的问题,后来我发现这自然需要时间,因为所有解决方法都不起作用。
使用的命令;
cd ios
pod install --repo-update
Run Code Online (Sandbox Code Playgroud)
“安装 gRPC-Core (1.50.1)”过程在 Macos 上花费了大约 11 分钟,预计在 Windows 上需要更多时间,在 Linux 上则有点类似。
归档时间: |
|
查看次数: |
5815 次 |
最近记录: |