ios - Implicit declaration of function 'FBSDK_NOT_DESIGNATED_INITIALIZER' is invalid in C99 Expected ')' -
i'm using facebook sdk ios 4.6.0 , today above error encountered after updating cocoapods 0.38.2. i'm not sure error has cocoapods.
i had same issue. problem appeared because, connecting both "parsefacebookutils" (which loading "facebook-ios-sdk" (which deprecated version) , "fbsdkcorekit" separately.
"facebook-ios-sdk" , "fbsdkcorekit" both have "fbsdkmacros.h" has different declarations of "fbsdk_not_designated_initializer" , why message in xcode appear.
what suggest, if "parsefacebookutils" not in podfile list, check cocoapod loading "facebook-ios-sdk" , try update newer version of framework.
if "parsefacebookutils" case change 'parsefacebookutilsv4'
and surely don't forget run 'pod update' make changes active
hope helps.

Comments
Post a Comment