当我建立我的项目我得到一个链接错误:
Undefined symbols for architecture x86_64:
“_FBTokenInformationExpirationDateKey”,referenced from:
-[PFFacebookTokenCachingStrategy cacheTokenInformation:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy expirationDate] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setExpirationDate:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
“_FBTokenInformationTokenKey”,referenced from:
-[PFFacebookTokenCachingStrategy accessToken] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setAccessToken:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
“_FBTokenInformationUserFBIDKey”,referenced from:
-[PFFacebookTokenCachingStrategy facebookId] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setFacebookId:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
“_OBJC_CLASS_$_FBAppCall”,referenced from:
objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o)
“_OBJC_CLASS_$_FBRequest”,referenced from:
objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o)
“_OBJC_CLASS_$_FBSession”,referenced from:
objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o)
“_OBJC_CLASS_$_FBSessionTokenCachingStrategy”,referenced from:
_OBJC_CLASS_$_PFFacebookTokenCachingStrategy in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
“_OBJC_MetaCLASS_$_FBSessionTokenCachingStrategy”,referenced from:
_OBJC_MetaCLASS_$_PFFacebookTokenCachingStrategy in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
ld: symbol(s) not found for architecture x86_64 clang: error: linker command Failed with exit code 1 (use -v to see invocation)
我已经尝试在我的链接标志下的-ObjC在项目设置下,它没有任何区别.有人知道我能如何解决这个问题吗?
我看过这个帖子
Parse for iOS: Errors when trying to run the app
但没有任何建议对我有用(我需要在我的应用程序的Facebook功能,所以我不能绕过它,我已经修改了-ObjC标志的东西,还有帐户和社会框架的事情 – 没有什么摆脱我的错误!)