コマンドpod installの実行中に、以下のエラーが表示されます。'pod install'コマンドでライブラリをインストールできない
gsirn-021308:ApplePaySwag-Starter chandeln$ ls -l
total 16
[email protected] 16 chandeln staff 544 Oct 3 16:56 ApplePaySwag
[email protected] 5 chandeln staff 170 Oct 3 16:56 ApplePaySwag.xcodeproj
drwxr-xr-x 4 chandeln staff 136 Sep 15 15:38 ApplePaySwag.xcworkspace
[email protected] 4 chandeln staff 136 Sep 15 14:21 ApplePaySwagTests
[email protected] 1 chandeln staff 455 Oct 3 17:44 Podfile
-rw-r--r-- 1 chandeln staff 209 Sep 19 11:12 Podfile.lock
drwxr-xr-x 8 chandeln staff 272 Oct 3 17:44 Pods
gsirn-021308:ApplePaySwag-Starter chandeln$ pod --version
1.0.1
Podfile
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'ApplePaySwag' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ApplePaySwag
pod 'SwiftyJSON'
pod 'SwiftyXMLParser', :git => 'https://github.com/yahoojapan/SwiftyXMLParser.git'
target 'ApplePaySwagTests' do
inherit! :search_paths
# Pods for testing
end
end
私がここで行方不明ですかわからない:
gsirn-021308:ApplePaySwag-Starter chandeln$ pod install
Analyzing dependencies
[!] Unable to find a target named `ApplePaySwag`, did find ` ` and `ApplePaySwagTests`.
は、ここに私のディレクトリ構造です。ご案内ください。
「xcodebuild -list」の出力は何ですか? –
ここのターゲットはファイルではありません。あなたのxcodeprojに記述されたビルドターゲットです。 xcworkspaceを開き、ApplePaySwag.xcodeprojを選択し、 "General"、 "Build settings"などのバーの中で、左にある青色のxcodeprojアイコンをクリックし、名前が " " –
Podfileのコードを投稿できますか? – Aaron