[英]pod install error>>> [!] Unable to determine the platform for the `AdewoleFarmApp` target
我下載了 github amplify.swift,按照安裝說明創建了 Podfile,但是 Cocoapods“pod install”出現了錯誤。
Podfile 是:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'AdewoleFarmApp' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for AdewoleFarmApp
pod 'Amplify'
pod 'AmplifyPlugins/AWSCognitoAuthPlugin'
pod 'AWSPredictionsPlugin'
pod 'CoreMLPredictionsPlugin'
end
嘗試取消注釋(刪除 #)podfile 的第二行。 我猜平台聲明不起作用,因為它被注釋掉了
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.