简体   繁体   English

Unity 4.6.6 Xcode'armv7 / arm64体系结构的未定义符号'链接器错误

[英]Unity 4.6.6 Xcode 'Undefined symbol for armv7/arm64 architecture' linker errors

I've been building my Xcode project with Unity 4.6.6 and I've been having problems with IL2CPP. 我一直在使用Unity 4.6.6构建我的Xcode项目,而IL2CPP一直存在问题。 I select Universal architecture in the Player settings (to include both armv7 and arm64) when building, and in the Xcode project it generates, upon building I encounter the following Mach-O Linker errors. 在构建时,我在播放器设置中选择通用架构(包括armv7和arm64),并且在生成的Xcode项目中,在构建时遇到以下Mach-O Linker错误。

Undefined symbols for architecture armv7: "_sqlite3_bind_int", referenced from: -[SmacBaseDao setSqlBindStatement:entity:colmunInfoList:emptyIsNull:] in libSmacTracking.a(SmacBaseDao.o) "_sqlite3_errmsg", referenced from: -[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getColmunsInfo:transactionDbObj:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getTableList] in libSmacTracking.a(SmacBaseDao.o) "_sqlite3_column_int", referenced from: -[SmacBaseDao getNumber:column:] in libSmacTracking.a(SmacBaseDao.o) "_sqlite3_open", referenced from: -[SmacBaseDao dbOpen] in libSmacTracking.a(SmacBaseDao.o) "_sqlite3_exec", referenced from: -[SmacBaseDao dbOpen] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao dbClose:] i 架构armv7的未定义符号:“ _ sqlite3_bind_int”,引用自:libSmacTracking.a中的[[SmacBaseDao setSqlBindStatement:entity:colmunInfoList:emptyIsNull:]]“ _sqlite3_errmsg”,引用自:-[SmacBaseDcondition exec libSmacTracking.a(SmacBaseDao.o)中的transactionDbObj:isTmp:]-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:]-[SmacBaseDao execUpdateQuery:condition:emptyIsNb:inactionis libSmacTracking.a中的a(SmacBaseDao.o)-[SmacBaseDao getColmunsInfo:transactionDbObj:] :]在libSmacTracking.a(SmacBaseDao.o)中“ _sqlite3_open”,引用自:libSmacTracking.a(SmacBaseDao.o)在“ _sqlite3_exec”中的-[SmacBaseDao dbOpen],在libSmacTracking.a(SmacBaseDao中)的-[SmacBaseDao dbOpen] .o)-[SmacBaseDao dbClos​​e:]我 n libSmacTracking.a(SmacBaseDao.o) "_OBJC_CLASS_$_NSManagedObjectModel", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAICoreDataUtil.o) "_sqlite3_prepare_v2", referenced from: -[SmacUpdate updateDB] in libSmacTracking.a(SmacUpdate.o) -[SmacBaseDao dbOpen] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getColmunsInfo:transactionDbObj:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getTableList] in libSmacTracking.a(SmacBaseDao.o) ... "_sqlite3_step", referenced from: -[SmacUpdate updateDB] in libSmacTracking.a(SmacUpdate.o) -[SmacBaseDao dbOpen] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:] in n libSmacTracking.a(SmacBaseDao.o)“ _OBJC_CLASS _ $ _ NSManagedObjectModel”,引用自:libGoogleAnalyticsServices.a.A(GAICoreDataUtil.o)中的objc-class-ref,引用自:libSmacTracking中的-[SmacUpdate updateDB]。 .o)-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao dbOpen]-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:]-[SmacBaseDao execInsertQuery :: transactionTbOb libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp:] libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao getTableList] ...“ _sqlite3_step”,引用自:libSmacTracking.a(SmacUpdate.o)中的-[SmacUpdate updateDB]-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao dbOpen] )-[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:]在 libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getColmunsInfo:transactionDbObj:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getTableList] in libSmacTracking.a(SmacBaseDao.o) ... "_sqlite3_column_text", referenced from: -[SmacBaseDao getString:column:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getDateString:column:] in libSmacTracking.a(SmacBaseDao.o) "_sqlite3_finalize", referenced from: -[SmacUpdate updateDB] in libSmacTracking.a(SmacUpdate.o) -[SmacBaseDao dbOpen] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp libSmacTracking.a(SmacBaseDao.o)中的libSmacTracking.a(SmacBaseDao.o)-[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:]-libSmacTracking.a中的libSmacTracking.a(SmacBaseDao.o) -libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao getColmunsInfo:transactionDbObj:]-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao getTableList] ...“ _sqlite3_column_text”,引用自:-[SmacBaseDao getString: libSmacTracking.a(SmacBaseDao.o)-[SmacBaseDao getDateString:column:]在libSmacTracking.a(SmacBaseDao.o)“ _ sqlite3_finalize”中,引用自:libSmacTracking.a(SmacUpdate.o)中的-[SmacUpdate updateDB]-[SmacBaseDao db libSmacTracking.a(SmacBaseDao.o)中的]-libSmacTracking.a(SmacBaseDao.o)中的[SmacBaseDao execSelectQuery:condition:colmun:transactionDbObj:isTmp:]-libSmacTrack.a中的[SmacBaseDao execInsertQuery:transactionDbObj:isTmping:]。 o)-[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp :] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao getColmunsInfo:transactionDbObj:] in libSmacTracking.a(SmacBaseDao.o) "_OBJC_CLASS_$_NSEntityDescription", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) objc-class-ref in libGoogleAnalyticsServices.a(GAICoreDataUtil.o) "_OBJC_CLASS_$_NSManagedObjectContext", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) "_OBJC_CLASS_$_NSPersistentStoreCoordinator", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) "_kSecReturnData", referenced from: -[KeychainItemWrapper secItemFormatToDictionary:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_kSecMatchLimitOne", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o "_kSecMatchLimit", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in Keycha :]在libSmacTracking.a(SmacBaseDao.o)中-[SmacBaseDao getColmunsInfo:transactionDbObj:]在libSmacTracking.a(SmacBaseDao.o)中,“ _ OBJC_CLASS _ $ _ NSEntityDescription”,引用自:libGoogleAnalyticsServiceStoresa中的objc-class-ref。 )libGoogleAnalyticsServices.a(GAICoreDataUtil.o)“ _OBJC_CLASS _ $ _ NSManagedObjectContext”中的objc-class-ref,引用自:libGoogleAnalyticsServices.a(GAIDataStore.o)中的objc-class-ref“ _OBJC_CLASS_ $ c_d_NSPersistentStoreCoordinator:” libGoogleAnalyticsServices.a(GAIDataStore.o)“ _kSecReturnData”中的-ref,引用自:KeychainItemWrapper.o中的-[KeychainItemWrapper secItemFormatToDictionary:] + + KeychainUtils.atch中的[_KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:],_ Li引用自:KeychainItemWrapper.o中的-[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:]“ _kSecMatchLimit”,引用自:-Keycha中的-[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] inItemWrapper.o "_OBJC_CLASS_$_NSFetchRequest", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAIDataStore.o) "_NSOverwriteMergePolicy", referenced from: -[GAIDataStore contextWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "_sqlite3_reset", referenced from: -[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) -[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmp:] in libSmacTracking.a(SmacBaseDao.o) "_kSecClassGenericPassword", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o -[KeychainItemWrapper dictionaryToSecItemFormat:] in KeychainItemWrapper.o -[KeychainItemWrapper secItemFormatToDictionary:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteV inItemWrapper.o“ _OBJC_CLASS _ $ _ NSFetchRequest”,引用自:libGoogleAnalyticsServices.a(GAIDataStore.o)中的objc-class-ref,“ _ NSOverwriteMergePolicy”,引用自:liboGoogleAnalyticsServices.a中的-[GAIDataStore contextWithModel:URL:]。a(GAIDataStore)。 “ _sqlite3_reset”,引用自libSmacTracking.a(SmacBaseDao.o)中的-[SmacBaseDao execInsertQuery:transactionDbObj:isTmp:]-libSmacTrack中的[SmacBaseDao execUpdateQuery:condition:emptyIsNull:transactionDbObj:isTmpD:a]。 _kSecClassGenericPassword”,从以下来源引用:-KeychainItemWrapper.o中的-[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] -o KeychainItemWrapper.o中的[KeychainItemWrapper dictionaryToSecItemFormat:] -KeychainItemWrapper中的[KeychainItemWrapper] :key:U中的错误:] + [KeyUtils setValue:key:servicename:accessGroup:force:errorDomain:error:]在KeychainUtils.o中+ [KeyUtils deleteV alue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_OBJC_CLASS_$_NSAttributeDescription", referenced from: objc-class-ref in libGoogleAnalyticsServices.a(GAICoreDataUtil.o) "_kSecAttrService", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_kSecAttrLabel", referenced from: -[KeychainItemWrapper resetKeychainItem] in KeychainItemWrapper.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o "_NSSQLiteStoreType", referenced from: -[GAIDataStore coordinatorWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "_NSSQLiteErrorDomain", referenced from: -[GAIDataStore performBlockA 从以下名称引用:KeychainUtils.o“ _OBJC_CLASS _ $ _ NSAttributeDescription”中的alue:serviceName:accessGroup:errorDomain:error:],引用自:libGoogleAnalyticsServices.a(GAICoreDataUtil.o)中的objc-class-ref“ _kSecAttrService”,引用自:-[KeychainItemWrapper initWithIdentWith + KeychainUtils.o中的[serviceName:accessGroup:] + KeychainUtils.o中的[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] + KeychainUtils.o中的[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] + KeychainUtils.o [_kSecAttrLabel]中的[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:],引用自:-KeychainItemWrapper.o中的[KeychainItemWrapper resetKeychainItem] + [KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error: ]在“ chainchainUtils.o”中的“ _NSSQLiteStoreType”中,从以下位置引用:-在GoogleGoogleAnalyticsServices.a(GAIDataStore.o)中的“ [GAIDataStore coordinatorWithModel:URL:]”在“ _NSSQLiteErrorDomain”中,从以下位置引用:-[GAIDataStore performBlockA ndWait:withError:] in libGoogleAnalyticsServices.a(GAIDataStore.o) "_sqlite3_bind_null", referenced from: -[SmacBaseDao setSqlBindStatement:entity:colmunInfoList:emptyIsNull:] in libSmacTracking.a(SmacBaseDao.o) "_kSecClass", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o -[KeychainItemWrapper dictionaryToSecItemFormat:] in KeychainItemWrapper.o -[KeychainItemWrapper secItemFormatToDictionary:] in KeychainItemWrapper.o -[KeychainItemWrapper writeToKeychain] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o ... "_kSecAttrGeneric", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o "_kSecAttrAccount", referenced from libGoogleAnalyticsServices.a(GAIDataStore.o)中的ndWait:withError:]“ _sqlite3_bind_null”,引用自:libSmacTracking.a(SmacBaseDao.o)中的-[SmacBaseDao setSqlBindStatement:entity:colmunInfoList:emptyIsNull:], KeychainItemWrapper.o中的[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:]-KeychainItemWrapper.o中的[KeychainItemWrapper dictionaryToSecItemFormat:] -KeychainItemWrapper.o中的secItemFormatToDictionary: :KeychainUtils.o中的:errorDomain:error:] + KeychainUtils.o中的[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] + KeychainUtils.o中的[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] ...“ _kSecAttrGeneric”,从以下位置引用:-[KeychainItemWrapper.o中的-[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:]]“ _kSecAttrAccount”,从以下位置引用 : -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_kSecValueData", referenced from: -[KeychainItemWrapper resetKeychainItem] in KeychainItemWrapper.o -[KeychainItemWrapper dictionaryToSecItemFormat:] in KeychainItemWrapper.o -[KeychainItemWrapper secItemFormatToDictionary:] in KeychainItemWrapper.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o "_kSecAttrAccessGroup", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils setValue:key:servicename:access :-KeychainItemWrapper.o中的[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] + KeychainUtils.o中的[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] + + [KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error: ]中的[] + +。 KeychainItemWrapper.o中的[KeychainItemWrapper secItemFormatToDictionary:] + KeychainUtils.o中的[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:],引用自:-[KeychainItemWrapper initWithIdentifier:ServiceName:accessGroup: .o + [KeychainUtils.o中的[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:]。+ + [KeychainUtils setValue:key:servicename:access Group:force:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_SecItemUpdate", referenced from: -[KeychainItemWrapper writeToKeychain] in KeychainItemWrapper.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in AppStoreProcess.o "_sqlite3_bind_text", referenced from: -[SmacBaseDao setSqlBindStatement:entity:colmunInfoList:emptyIsNull:] in libSmacTracking.a(SmacBaseDao.o) "_SecItemCopyMatching", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o -[KeychainItemWrapper secItemFormatToDictionary:] in KeychainItemWrapper.o -[KeychainItemWrapper writeToKeychain] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_sqlite3_close", referenced from: -[SmacBaseDao dbClose:] in KeychainUtils.o中的Group:force:errorDomain:error:] + KeychainUtils.o中的[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:]“ _SecItemUpdate”,引用自:-KeychainItemWrapper.o中的-[KeychainItemWrapper writeToKeychain] + [KeychainUtils setchain.key中的setValue:key:servicename:accessGroup:force:errorDomain:error:]在“ _OBJC_CLASS _ $ _ SKProductsRequest”中引用,从:AppStoreProcess.o中的objc-class-ref引用“ _sqlite3_bind_text”,引用自:-[SmacBaseDao setSqlBindStatement:entity libSmacTracking.a(SmacBaseDao.o)中的:colmunInfoList:emptyIsNull:]“ _SecItemCopyMatching”,引用自:-KeychainItemWrapper.o中的-[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:]-[KeychainItemWrapper secItemFormatToapper-] ]中的KeychainItemWrapper.o +中的[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:]在“ _sqlite3_close”中,引用自:-[SmacBaseDao dbClos​​e:] libSmacTracking.a(SmacBaseDao.o) "_SecItemAdd", referenced from: -[KeychainItemWrapper writeToKeychain] in KeychainItemWrapper.o +[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:] in KeychainUtils.o "_SecItemDelete", referenced from: -[KeychainItemWrapper resetKeychainItem] in KeychainItemWrapper.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_OBJC_CLASS_$_SKPayment", referenced from: objc-class-ref in AppStoreProcess.o "_kSecReturnAttributes", referenced from: -[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] in KeychainItemWrapper.o +[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o +[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:] in KeychainUtils.o "_kSecAttrDescription", referenced from: -[KeychainItemWrapper resetKeychainItem] in KeychainItemWrapper.o "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in AppStore libSmacTracking.a(SmacBaseDao.o)“ _SecItemAdd”,引用自:KeychainItemWrapper.o中的-[KeychainItemWrapper writeToKeychain] + + KeychainUtils.o中的[KeychainUtils setValue:key:servicename:accessGroup:force:errorDomain:error:],“ _ SecItemDelete”,引用自:-KeychainItemWrapper.o中的[[KeychainItemWrapper resetKeychainItem] + + KeychainUtils.o中的[KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error:],引用自:AppStoreProcess.o中的objc-class-ref“ _kSecReturns” ,从以下位置引用:-KeychainItemWrapper.o中的[[KeychainItemWrapper initWithIdentifier:serviceName:accessGroup:] + + KeychainUtils.o中的[KeychainUtils getStoredValue:serviceName:accessGroup:errorDomain:error:] + + [KeychainUtils deleteValue:serviceName:accessGroup:errorDomain:error: ]中的[]引用,从以下位置引用:-KeychainItemWrapper.o中的[[KeychainItemWrapper resetKeychainItem]->“ _OBJC_CLASS _ $ _ SKPaymentQueue”,引用自:AppStore中的objc-class-ref Process.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Process.o ld:体系结构armv7 lang找不到符号:错误:链接器命令失败,退出代码为1(使用-v查看调用)

I've read some questions with answers regarding "Undefined symbols for architecture armv7" like this one but the suggested solutions in the top answer doesn't really apply because in my case it's Unity that places the needed files into the Xcode Project folder. 我读过一些问题与解答关于“为架构的ARMv7未定义的符号”像这一个 ,但在顶端回答建议的解决方案并没有真正因为适用于我的情况下,它团结了提交了所需的文件到Xcode项目文件夹。 Also, upon inspection the libraries the errors were looking for were properly added in the Link Binary With Libraries section of Build Phases. 同样,在检查库之后,将要查找的错误正确地添加到了“构建阶段”的“ 与库链接二进制文件”部分。

Can anyone help or enlighten me if I'm doing something wrong? 如果我做错了什么,任何人都可以帮助或启发我吗?

I've also tried selecting in Unity Player settings just armv7 or just arm64 for building with IL2CPP but I still get "Undefined symbols for armv7" or "Undefined symbols for arm64" Mach-O Linker errors respectively in Xcode. 我还尝试在Unity Player设置中选择仅armv7或仅选择arm64以使用IL2CPP进行构建,但是在Xcode中我仍然分别收到“ armv7的未定义符号”或“ arm64的未定义符号” Mach-O Linker错误。

Software used: Unity 4.6.6, Xcode 6.1 (going to try upgrading to 6.3), and iOS 8.1 base SDK 使用的软件: Unity 4.6.6,Xcode 6.1(尝试升级到6.3)和iOS 8.1基本SDK

查看是否将libsqlite3.dylib添加到所有目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM