[Error] 라이브러리 추가 시 Pods written in Swift can only be integrated as frameworks...
언어/Objective - C 2017. 4. 13. 16:54
Error 내용:
Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: ToastSwift
Error 수정:
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
pod 'ToastSwift'
target 'iPhone_Test' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for iPhone_Test
target 'iPhone_TestTests' do
inherit! :search_paths
# Pods for testing
end
target 'iPhone_TestUITests' do
inherit! :search_paths
# Pods for testing
end
use_frameworks!
end
Podfile의 맨 끝에 use_frameworks!를 추가해준다.
'언어 > Objective - C' 카테고리의 다른 글
[Info] NSUserDefaults (데이터 다루기) (0) | 2017.06.07 |
---|---|
[Error] CSR algorithm/size incorrect. Expected: RSA(2048) - 인증서 오류 (0) | 2017.05.30 |
[Info] Cocoapods 설치&시작 (0) | 2017.04.12 |
[Error] Could not insert new outlet connection: Could not find any information for the class named (0) | 2017.03.24 |
[Error] ARC forbids explicit message sent... (0) | 2017.03.18 |