参考:http://*.com/questions/22164753/linker-error-with-sharekit-iOS
编译报错:
"_OBJC_CLASS_$_CMMotionManager", referenced from:xxx
解决方法:
Looks like you are missing quite a few frameworks. According to the symbols mentioned, add following list of frameworks to resolve the linker errors,
target->build phases->link binary with libraries-> 点击加号
AddressBook.framework
AVFoundation.framework
CoreMedia.framework
MediaPlayer.framework
Accounts.framework
AssetsLibrary.framework
CoreLocation.framework
CoreMotion.framework
StoreKit.framework
Social.framework