[英]CocoaPods could not find compatible versions for pod "FirebaseCore" : error on running pod install for flutter iOS build
[英]Nativescript IOS build Cacoapods could not find compatible versions for pod
我有 Nativescript 8 個應用程序:
{
"name": "TEST",
"main": "src/main.ts",
"version": "1.0.1",
"private": true,
"dependencies": {
"@angular/animations": "~14.2.0",
"@angular/common": "~14.2.0",
"@angular/compiler": "~14.2.0",
"@angular/core": "~14.2.0",
"@angular/forms": "~14.2.0",
"@angular/platform-browser": "~14.2.0",
"@angular/platform-browser-dynamic": "~14.2.0",
"@angular/router": "~14.2.0",
"@nativescript-community/ui-zoomimage": "^4.3.6",
"@nativescript/angular": "~14.2.0",
"@nativescript/camera": "^5.0.13",
"@nativescript/core": "~8.3.0",
"@nativescript/datetimepicker": "^2.1.11",
"@nativescript/firebase": "^11.1.3",
"@nativescript/firebase-auth": "^2.4.4",
"@nativescript/firebase-core": "^2.4.4",
"@nativescript/firebase-firestore": "^2.4.4",
"@nativescript/firebase-storage": "^2.4.4",
"@nativescript/imagepicker": "^1.0.7",
"@nativescript/local-notifications": "^6.0.0",
"@nativescript/theme": "~3.0.2",
"@triniwiz/nativescript-image-zoom": "^4.2.0",
"moment": "^2.29.4",
"nativescript-phone": "^3.0.3",
"nativescript-ui-listview": "^14.2.4",
"rxjs": "~7.5.0",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~14.2.0",
"@angular/compiler-cli": "~14.2.0",
"@nativescript/ios": "8.4.0",
"@nativescript/preview-cli": "1.0.2",
"@nativescript/types": "~8.3.0",
"@nativescript/webpack": "~5.0.9",
"@ngtools/webpack": "~14.2.0",
"typescript": "~4.7.0"
}
}
在我嘗試運行ns build ios
:錯誤:
安裝吊艙...分析依賴預下載:FirebaseFirestore 來自https://github.com/invertase/firestore-ios-sdk-frameworks.git ,標記 9.6.0 預下載:來自https://github.com的 QBImagePickerController /flypapertech/QBImagePicker.git , commit 47aa21d32f8e6db0df79b089ad64e43d498b5951 [:] CocoaPods could not find compatible versions for pod "FirebaseFirestore": In Podfile: FirebaseFirestore (from https://github.com/invertase/firestore-ios-sdk-frameworks.git ,標簽 9.6.0)
滿足 FirebaseFirestore(來自https://github.com/invertase/firestore-ios-sdk-frameworks.git` ,標簽 9.6.0)` 依賴項的規范被發現,但它們需要更高的最低部署目標。 “arch install”命令失敗。
我應該改變什么才能使這個構建工作? 我什至無法理解錯誤本身,有人可以解釋一下嗎?
一般來說,您可能會在 Nativescript Discord 服務器上更快地得到答案。
我相信它是在告訴您它無法從 CocoaPods 找到/安裝正確的 pod。
它正在尋找與最低 iOS 版本兼容的 pod。
您可以通過將
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
在你的 build.xcconfig 文件中。
然后運行
ns clean
然后再試一次。
如果這不起作用,您可能還需要運行
pod repo update
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.