drewg23333
drewg23333

Reputation: 45

CocoaPods Swift and Objective-C Pods

Can you have both Swift and Objective-C Pods? I currently only have Objective-C pod installed, and trying to add "SwiftyJSON" but it is a swift pod. It is telling me to add use_frameworks!. but that messes up my Objective-C pod.

Upvotes: 0

Views: 101

Answers (1)

Keith Smiley
Keith Smiley

Reputation: 63903

Yes you should be able to use use_frameworks! with both Objective-C and Swift. Keep in mind these are specific to iOS 8 and newer. Also in theory the Objective-C library you're using could have strange compatibility issues with frameworks.

Upvotes: 1

Related Questions