Undefined symbols for architecture i386: "_ABAddressBookcopyArrayOfAllPeople",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABAddressBookCreateWithOptions",referenced from: +[GPPAddressBook loadDeviceContactsWithHandler:] in GooglePlus(GPPAddressBook.o) "_ABAddressBookGetPersonCount",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABAddressBookRequestAccessWithCompletion",referenced from: +[GPPAddressBook loadDeviceContactsWithHandler:] in GooglePlus(GPPAddressBook.o) "_ABMultiValuecopyValueAtIndex",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABMultiValueGetCount",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABPersoncopyImageDataWithFormat",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABPersonHasImageData",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABRecordcopyValue",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ACAccountTypeIDentifIErFacebook",referenced from: -[SHKiOSFacebook accountTypeIDentifIEr] in libShareKit.a(SHKiOSFacebook.o) "_ACAccountTypeIDentifIErSinaWeibo",referenced from: -[SHKSinaWeibo accountTypeIDentifIEr] in libShareKit.a(SHKSinaWeibo.o) "_ACAccountTypeIDentifIErTwitter",referenced from: -[SHKiOSTwitter accountTypeIDentifIEr] in libShareKit.a(SHKiOSTwitter.o) "_ACFacebookAppIDKey",referenced from: -[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o) "_ACFacebookAudIEnceEveryone",referenced from: -[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o) "_ACFacebookAudIEnceKey",referenced from: -[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o) "_ACFacebookPermissionsKey",referenced from: -[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o) "_AVURLAssetPreferPreciseDurationAndTimingKey",referenced from: -[SHKfile getDuration] in libShareKit.a(SHKfile.o) "_CMTimeGetSeconds",referenced from: -[SHKfile getDuration] in libShareKit.a(SHKfile.o) "_MPMovIEPlayerthumbnailImageKey",referenced from: -[GPPMediaPrevIEwVIEw thumbnailImageRequestDIDFinish:] in GooglePlus(GPPMediaPrevIEwVIEw.o) "_MPMovIEPlayerthumbnailImageRequestDIDFinishNotification",referenced from: -[GPPMediaPrevIEwVIEw initWithFrame:mediaAttachment:] in GooglePlus(GPPMediaPrevIEwVIEw.o) -[GPPMediaPrevIEwVIEw thumbnailImageRequestDIDFinish:] in GooglePlus(GPPMediaPrevIEwVIEw.o) "_OBJC_CLASS_$_ACAccountStore",referenced from: objc-class-ref in libShareKit.a(SHKiOSFacebook.o) objc-class-ref in libShareKit.a(SHKiOSSharer.o) "_OBJC_CLASS_$_ALAssetsLibrary",referenced from: objc-class-ref in GooglePlus(NSData+GPPAdditions.o) objc-class-ref in GooglePlus(UIDevice+GPPAdditions.o) objc-class-ref in libShareKit.a(SHKPhotoAlbum.o) "_OBJC_CLASS_$_AVURLAsset",referenced from: objc-class-ref in libShareKit.a(SHKfile.o) "_OBJC_CLASS_$_CLLocationManager",referenced from: objc-class-ref in GooglePlus(UIDevice+GPPAdditions.o) objc-class-ref in libShareKit.a(SHKFoursquareV2VenuesForm.o) objc-class-ref in libShareKit.a(SHKFoursquareV2.o) "_OBJC_CLASS_$_cmmotionmanager",referenced from: objc-class-ref in GooglePlus(GPPSpamSignal.o) "_OBJC_CLASS_$_MPMovIEPlayerController",referenced from: objc-class-ref in GooglePlus(GPPMediaPrevIEwVIEw.o) "_OBJC_CLASS_$_SKStoreProductVIEwController",referenced from: objc-class-ref in libShareKit.a(EvernoteSession.o) "_OBJC_CLASS_$_SLComposeVIEwController",referenced from: objc-class-ref in libShareKit.a(SHKiOSSharer.o) objc-class-ref in libShareKit.a(SHKSinaWeibo.o) "_OBJC_CLASS_$_SLRequest",referenced from: objc-class-ref in libShareKit.a(SHKiOSFacebook.o) objc-class-ref in libShareKit.a(SHKiOSTwitter.o) "_SKStoreProductParameterITunesItemIDentifIEr",referenced from: -[EvernoteSession installAppWithID:withVIEwController:] in libShareKit.a(EvernoteSession.o) "_SLServiceTypeFacebook",referenced from: -[SHKiOSFacebook serviceTypeIDentifIEr] in libShareKit.a(SHKiOSFacebook.o) -[SHKiOSFacebook sendFeed] in libShareKit.a(SHKiOSFacebook.o) -[SHKiOSFacebook sendPhoto] in libShareKit.a(SHKiOSFacebook.o) -[SHKiOSFacebook sendVIDeo] in libShareKit.a(SHKiOSFacebook.o) -[SHKiOSFacebook fetchUserInfo] in libShareKit.a(SHKiOSFacebook.o) "_SLServiceTypeSinaWeibo",referenced from: +[SHKSinaWeibo canShare] in libShareKit.a(SHKSinaWeibo.o) -[SHKSinaWeibo share] in libShareKit.a(SHKSinaWeibo.o) "_SLServiceTypeTwitter",referenced from: -[SHKiOSTwitter serviceTypeIDentifIEr] in libShareKit.a(SHKiOSTwitter.o) -[SHKiOSTwitter sendStatusViaTwitter:mimeType:filename:] in libShareKit.a(SHKiOSTwitter.o) -[SHKiOSTwitter sendDataViaYFrog:mimeType:filename:] in libShareKit.a(SHKiOSTwitter.o) -[SHKiOSTwitter fetchUserInfo] in libShareKit.a(SHKiOSTwitter.o) -[SHKiOSTwitter downloadAPIConfiguration] in libShareKit.a(SHKiOSTwitter.o) -[SHKiOSTwitter authorizationYFrogheader] in libShareKit.a(SHKiOSTwitter.o) "_kABPersonEmailProperty",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_kABPersonFirstnameProperty",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_kABPersonLastnameProperty",referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_kCLLocationAccuracyBest",referenced from: -[SHKFoursquareV2VenuesForm startMonitoringLocation] in libShareKit.a(SHKFoursquareV2VenuesForm.o)ld: symbol(s) not found for architecture i386clang: error: linker command Failed with exit code 1 (use -v to see invocation)@R_403_6120@ 看起来你错过了不少框架.根据所提到的符号,添加下面的框架列表来解决链接器错误,
> AddressBook.framework
> AVFoundation.framework
CoreMedia.framework
> MediaPlayer.framework
> Accounts.framework
> AssetsLibrary.framework
> CoreLocation.framework
> CoreMotion.framework
> StoreKit.framework
>社会框架
希望有帮助!
总结以上是内存溢出为你收集整理的使用ShareKit ios的链接器错误全部内容,希望文章能够帮你解决使用ShareKit ios的链接器错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)