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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -