0
我試圖導入XLPagerTabStrip podfile到我的項目,但我不斷收到的錯誤:問題在安裝莢寫在斯威夫特用的CocoaPods
Analyzing dependencies
Downloading dependencies
Using Stripe (6.0.1)
Using XLPagerTabStrip (4.0.1)
[!] 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: XLPagerTabStrip`
能不能幫我解決這個問題?這裏是我的podfile:
# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'
pod 'Stripe'
pod 'XLPagerTabStrip'
target 'Flokk' do
end
target 'FlokkTests' do
end
錯誤消息'''加'use_frameworks你Podfile'' ......應該給你一個提示。 –
[使用swift運行pod安裝時出錯](https://stackoverflow.com/questions/29091522/error-running-pod-install-with-swift) –