Trey R
Trey R

Reputation: 21

Issue installing pod written in Swift with CocoaPods

I'm trying to import the XLPagerTabStrip podfile to my project but I keep getting the error of:

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`

Could you help me fix this issue? Here is my 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

Upvotes: 0

Views: 582

Answers (1)

rigdonmr
rigdonmr

Reputation: 2702

add use_frameworks! to the end of your Podfile like it tells you to

Upvotes: 2

Related Questions