Reputation: 303
In Xcode 8 I'm having trouble importing any Swift 2.3 or 3 framework that was added with Cocoapods into my project.
There is a public umbrella.h file, but for some reason Xcode can't find the framework when I try to @import it.
As an example, create any Objective-C project, use the following Podfile, pod install, and then try the @import
. It asks me to update the code to swift 2.3 or 3 even if that code is already Swift 2.3 or Swift 3 code. I've cleaned and tried to rebuild as well.
platform :ios, '8.0'
use_frameworks!
target 'testingFrameworks' do
pod 'SwiftyJSON'
end
Did I miss a step?
Upvotes: 2
Views: 521
Reputation: 1941
I used socketIO and was having the same problem. My solution to this is:
You might need to fix something for the new swift.
Upvotes: 1