본문 바로가기
Etc/경험담

[Pod] Xcode 오픈 소스 사용시 Pod

by 생각하는달팽이 2016. 5. 12.

안녕하세요?

Pod 을 이용하여 오픈소스를 설치 한 후 프로젝트를 실행하려는데 에러 문구가 나왔기에 경험을 끄적여 봅니다.


저의 첫 Podfile 은 아래와 같습니다.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Alamofire', '~> 3.0’


아래와 같은 에러를 보게 됩니다.


[!] The dependency `Alamofire (~> 3.0)` is not used in any concrete target.



그래서 아래와 같이 수정하였습니다.


source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target "[targetName]" do
	pod 'Alamofire', '~> 3.0’
end


[targetName] 에는 해당 프로젝트의 이름을 적어주시면됩니다.

반응형

'Etc > 경험담' 카테고리의 다른 글

[Unity] 특이한 경험  (0) 2016.05.24
[Unity] AssetBundle 시스템 구축  (3) 2016.05.23
[AWS] Code Deploy  (0) 2016.05.10
[AWS] 인프라 구축  (0) 2016.04.06
[AWS] LB,Auto-scale group  (0) 2016.04.01