TJBlack31
TJBlack31

Reputation: 785

Swift 4.2 - Getting compiler errors for bridging header files missing in FacebookCore. Any ideas?

So I recently converted an old swift 3.2 project to a 4.2(quite the jump, i know).

I am getting these errors:enter image description here

Here is my Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'

use_frameworks!

target 'app' do
pod 'Alamofire', '~> 4.0'
pod 'EVReflection/XML'
pod 'FontAwesomeKit', :git => 'https://github.com/PrideChung/FontAwesomeKit.git'
pod 'SVProgressHUD'

pod 'PageMenu', :git=> 'https://github.com/orazz/PageMenu.git'
pod 'Kingfisher', '~> 3.0.0'
pod 'RichEditorView'
pod 'SwiftKeychainWrapper'
pod 'FacebookCore'
pod 'CHTCollectionViewWaterfallLayout/Swift'
pod 'FacebookLogin'
pod 'FacebookShare'
pod 'Fuzi', '~> 1.0.0'
end

does this look correct?

Thank you for any insights

Upvotes: 0

Views: 313

Answers (1)

Romulo BM
Romulo BM

Reputation: 751

First, run pod install

And then, check if the version of your pods, probably they are not compatible with Swift 4.2, so you have to update then, or change the "Swift language version" on Pod inspector to swift 3.2 like that way:

Select the "Pod" project in project navigator:

enter image description here

Select your pod on Targets selector:

enter image description here

And on "Build settings" tab, find and change the "Swift language version" property:

enter image description here

Note: You can get away of this problem this way, but i highly recommend that you update your pods.

Upvotes: 1

Related Questions