簡體   English   中英

pod 安裝錯誤>>> [!] 無法確定“AdewoleFarmApp”目標的平台

[英]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

下面是我在運行 pod install 時遇到的錯誤: 我的 Pod 錯誤

嘗試取消注釋(刪除 #)podfile 的第二行。 我猜平台聲明不起作用,因為它被注釋掉了

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM