명령 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