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.

error screenshot: enter image description here

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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -