Implicit declaration of function 'FBSDK_NOT_DESIGNATED_INITIALIZER' is invalid in C99 Expected ')'

后端 未结 3 1429

I\'m using Facebook SDK for iOS 4.6.0 and just today above error encountered after updating cocoapods to 0.38.2. I\'m not sure this error has anything to do with cocoapods.

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-13 11:53

    Delete FBSDKMacros.h from Facebook-iOS-SDK directory because whatever declared here is also declared in FBSDKMacros.h in FBSDKCoreKit directory and your code will be working fine.

提交回复
热议问题