BitCode启用与不同库/框架的冲突

时间:2015-10-02 06:15:29

标签: ios objective-c frameworks

我的项目中有GoogleSignIn.framworkParse.framework

如果我启用bitcode,我会得到这个:

GoogleSignIn.framework/GoogleSignIn(GTMOAuth2Authentication.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

如果我将其停用,则Parse.framework会因sqlite_column_name以及更多错误而收到很多错误。

  "_sqlite3_column_count", referenced from:


      -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o)


  "_sqlite3_column_name", referenced from:


      -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o)


  "_sqlite3_column_bytes", referenced from:


      -[PFSQLiteDatabaseResult dataForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)


  "_sqlite3_column_int", referenced from:


      -[PFSQLiteDatabaseResult intForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)


     (maybe you meant: _fbsdkdfl_sqlite3_column_int)


  "_sqlite3_bind_null", referenced from:


      -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o)


  "_sqlite3_bind_double", referenced from:


      -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o)


     (maybe you meant: _fbsdkdfl_sqlite3_bind_double)


  "_sqlite3_bind_parameter_count", referenced from:


      -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o)


  "_sqlite3_bind_text", referenced from:


      ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)


      -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o)


     (maybe you meant: _fbsdkdfl_sqlite3_bind_text)


  "_sqlite3_column_double", referenced from:


      ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)


      -[PFSQLiteDatabaseResult doubleForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)


     (maybe you meant: _fbsdkdfl_sqlite3_column_double)


  "_sqlite3_clear_bindings", referenced from:


      ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)


  "_sqlite3_column_text", referenced from:


      -[PFSQLiteDatabaseResult stringForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)

我如何解决它。

我更新了两个框架。

0 个答案:

没有答案