i tried update swift project facebook sdk v 4.1.0 today (fbsdkcorekit , fbsdkloginkit), doesn't seem working. cannot import modules not found.
i removed line
pod 'facebook-ios-sdk'
and added lines
pod 'fbsdkcorekit'
pod 'fbsdkloginkit'
and did pod install. facebook doc says new sdk supports direct imports, tried
import fbsdkcorekit
in 1 of project files, says no such module 'fbsdkcorekit'
i looked around , found following links talk bug building module, , facebook bug report , changelog:
issue using fbsdk in swift ios application
https://developers.facebook.com/bugs/362995353893156/
https://developers.facebook.com/docs/ios/change-log-4.x
however, seems claim issue has been fixed in v 4.1.0 (seems main reason update), isn't problem in case? have information / have solution?
try adding use_frameworks!
top of podfile, suggested this answer. here's blogpost explains issue.
Comments
Post a Comment