ios – 让Sharekit工作

ios – 让Sharekit工作,第1张

概述我按照以下步骤 *** 作: https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit安装Sharekit.但我仍面临一些错误.我不知道如何解决这个问题. 错误: Undefined symbols for architecture i386: "_ACAccountTypeIdentifierFacebook", referenced 我按照以下步骤 *** 作: https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit安装Sharekit.但我仍面临一些错误.我不知道如何解决这个问题.

错误:

Undefined symbols for architecture i386:  "_ACAccountTypeIDentifIErFacebook",referenced from:      +[FBSession renewSystemAuthorization] in libShareKit.a(FBSession.o)  "_ACFacebookAppIDKey",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_ACFacebookAudIEnceEveryone",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_ACFacebookAudIEnceFrIEnds",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_ACFacebookAudIEnceKey",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_ACFacebookAudIEnceOnlyMe",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_ACFacebookPermissionsKey",referenced from:      -[FBSession authorizeUsingSystemAccountStore:accountType:permissions:defaultAudIEnce:isReauthorize:] in libShareKit.a(FBSession.o)  "_OBJC_CLASS_$_ACAccountStore",referenced from:      objc-class-ref in libShareKit.a(FBSession.o)  "_OBJC_CLASS_$_ASIDentifIErManager",referenced from:      objc-class-ref in libShareKit.a(FBSettings.o)  "_OBJC_CLASS_$_SLComposeVIEwController",referenced from:      objc-class-ref in libShareKit.a(FBNativeDialogs.o)  "_SLServiceTypeFacebook",referenced from:      +[FBNativeDialogs composeVIEwControllerWithSession:handler:] in libShareKit.a(FBNativeDialogs.o)  "_sqlite3_bind_double",referenced from:      -[FbcacheIndex _updateEntryInDatabaseForKey:entry:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _writeEntryInDatabase:] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_bind_int",referenced from:      -[FbcacheIndex _updateEntryInDatabaseForKey:entry:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _writeEntryInDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _trimDatabase] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_bind_text",referenced from:      -[FbcacheIndex _updateEntryInDatabaseForKey:entry:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _writeEntryInDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _readEntryFromDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _readEntrIEsFromDatabase:excludingFragment:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _removeEntryFromDatabaseForKey:] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_close",referenced from:      ___23-[FbcacheIndex dealloc]_block_invoke_0 in libShareKit.a(FbcacheIndex.o)  "_sqlite3_column_double",referenced from:      -[FbcacheIndex _createCacheEntityInfo:] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_column_int",referenced from:      -[FbcacheIndex _createCacheEntityInfo:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _fetchCurrentdiskUsage] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _trimDatabase] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_column_text",referenced from:      -[FbcacheIndex _createCacheEntityInfo:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _trimDatabase] in libShareKit.a(FbcacheIndex.o)  "_sqlite3_errmsg",referenced from:      ___23-[FbcacheIndex dealloc]_block_invoke_0 in libShareKit.a(FbcacheIndex.o)      _releaseStatement in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _updateEntryInDatabaseForKey:entry:] in libShareKit.a(FbcacheIndex.o)      _initializeStatement in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _writeEntryInDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _readEntryFromDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _readEntrIEsFromDatabase:excludingFragment:] in libShareKit.a(FbcacheIndex.o)      ...  "_sqlite3_exec",referenced from:      ___36-[FbcacheIndex initWithCacheFolder:]_block_invoke_0 in libShareKit.a(FbcacheIndex.o)  "_sqlite3_finalize",referenced from:      _releaseStatement in libShareKit.a(FbcacheIndex.o)  "_sqlite3_open_v2",referenced from:      ___36-[FbcacheIndex initWithCacheFolder:]_block_invoke_0 in libShareKit.a(FbcacheIndex.o)  "_sqlite3_prepare_v2",referenced from:      _initializeStatement in libShareKit.a(FbcacheIndex.o)  "_sqlite3_reset",referenced from:      _initializeStatement in libShareKit.a(FbcacheIndex.o)  "_sqlite3_step",referenced from:      -[FbcacheIndex _updateEntryInDatabaseForKey:entry:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _writeEntryInDatabase:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _createCacheEntityInfo:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _fetchCurrentdiskUsage] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _removeEntryFromDatabaseForKey:] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _dropTrimmingtable] in libShareKit.a(FbcacheIndex.o)      -[FbcacheIndex _trimDatabase] in libShareKit.a(FbcacheIndex.o)      ...ld: symbol(s) not found for architecture i386clang: error: linker command Failed with exit code 1 (use -v to see invocation)

需要一些指导如何解决这个问题…将不胜感激任何帮助……

解决方法 我有同样的问题,用新的Facebook SDK 3.0切换到ShareKit库.

您需要添加这些框架和库来解决错误:

Social.frameworkAdSupport.frameworkAccounts.frameworklibsqlite3.dylib
总结

以上是内存溢出为你收集整理的ios – 让Sharekit工作全部内容,希望文章能够帮你解决ios – 让Sharekit工作所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1109179.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-29
下一篇2022-05-29

发表评论

登录后才能评论

评论列表(0条)

    保存