When using some Parse related services, You need to download the Parse SDK, in addition to adding the corresponding system framework and library support
AudioToolbox. framework
CFNetwork. framework
CoreGraphics. framework
CoreLocation. framework
Libz.1.1.3.dylib
MobileCoreServices. framework
QuartzCore. framework
Security. framework
StoreKit. framework
SystemConfiguration. framework
If you have changed the settings when importing Other static libraries, the Other Linker Flags under Linking, for example, I am using the mango ad platform to configure the static library of the mango platform: Click the Target file of the program, select the Build Settings tab, find the Other Linker Flags under Linking, and add the parameter-all_load-ObjC .) However, this conflicts with the Parse static library settings to remove-ObjC. Otherwise, the following error occurs:
Undefined symbols for architecture i386: "_FBTokenInformationExpirationDateKey", referenced from: -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o) "_FBTokenInformationTokenKey", referenced from: -[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o) "_FBTokenInformationUserFBIDKey", referenced from: -[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o) "_OBJC_CLASS_$_FBRequest", referenced from: objc-class-ref in Parse(PFFacebookAuthenticationProvider.o) "_OBJC_CLASS_$_FBSession", referenced from: objc-class-ref in Parse(PFFacebookAuthenticationProvider.o) "_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from: _OBJC_CLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o) "_OBJC_METACLASS_$_FBSessionTokenCachingStrategy", referenced from: _OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)ld: symbol(s) not found for architecture i386clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solution 1: Download FaceBookSDK. framework online and add it to solve these errors (large files)
Solution 2: Set a separate static library and use-force_load/path/libname. a instead of configuring-all_load _ ObjC (for example :)
650) this. width = 650; "src =" http://img.blog.csdn.net/20130818202440531 "_ xhe_src =" http://img.blog.csdn.net/20130818202440531 "style =" max-width: 98%; "/>
This article from the "fresh wind wave" blog, please be sure to keep this source http://duxinfeng.blog.51cto.com/3911492/1285974