Rich-text Reply

Running optimizely on ios arm64

blganesh101 02-17-15

Running optimizely on ios arm64

[ Edited ]

Can we use optimizely for arm64 based app?

Or am i missing some configuration?

 

currently i get following errors

 

Undefined symbols for architecture arm64:
  

"_sqlite3_column_type", referenced from:
      -[OptimizelyFMResultSet stringForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet dateForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet dataForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet dataNoCopyForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet columnIndexIsNull:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet UTF8StringForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet objectForColumnIndex:] in Optimizely(FMResultSet.o)
      ...
  "_sqlite3_column_double", referenced from:
      -[OptimizelyFMResultSet doubleForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_column_int", referenced from:
      -[OptimizelyFMResultSet intForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_column_count", referenced from:
      -[OptimizelyFMResultSet columnCount] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet columnNameToIndexMap] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet kvcMagic:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet resultDictionary] in Optimizely(FMResultSet.o)
  "_sqlite3_create_function", referenced from:
      -[OptimizelyFMDatabase makeFunctionNamed:maximumArguments:withBlock:] in Optimizely(FMDatabase.o)
  "_sqlite3_user_data", referenced from:
      _OptimizelyFMDBBlockSQLiteCallBackFunction in Optimizely(FMDatabase.o)
  "_sqlite3_step", referenced from:
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMResultSet next] in Optimizely(FMResultSet.o)
  "_sqlite3_prepare_v2", referenced from:
      -[OptimizelyFMDatabase executeQuery:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase(FMDatabaseAdditions) validateSQL:error:] in Optimizely(FMDatabaseAdditions.o)
  "_sqlite3_libversion", referenced from:
      +[OptimizelyFMDatabase sqliteLibVersion] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_parameter_count", referenced from:
      -[OptimizelyFMDatabase executeQuery:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_double", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_column_name", referenced from:
      -[OptimizelyFMResultSet columnNameToIndexMap] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet kvcMagic:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet resultDictionary] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet columnNameForIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_errcode", referenced from:
      -[OptimizelyFMDatabase lastErrorCode] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase errorWithMessage:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMResultSet hasAnotherRow] in Optimizely(FMResultSet.o)
  "_sqlite3_bind_int", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_int64", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_open", referenced from:
      -[OptimizelyFMDatabase open] in Optimizely(FMDatabase.o)
  "_utf8_nextCharSafeBody", referenced from:
      -[OptimizelySRWebSocket _innerPumpScanner] in Optimizely(SRWebSocket.o)
  "_sqlite3_last_insert_rowid", referenced from:
      -[OptimizelyFMDatabase lastInsertRowId] in Optimizely(FMDatabase.o)
  "_sqlite3_column_bytes", referenced from:
      -[OptimizelyFMResultSet dataForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet dataNoCopyForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_bind_parameter_index", referenced from:
      -[OptimizelyFMDatabase executeQuery:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_blob", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_column_text", referenced from:
      -[OptimizelyFMResultSet kvcMagic:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet stringForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet UTF8StringForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_finalize", referenced from:
      -[OptimizelyFMDatabase close] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeQuery:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMStatement close] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase(FMDatabaseAdditions) validateSQL:error:] in Optimizely(FMDatabaseAdditions.o)
  "_sqlite3_close", referenced from:
      -[OptimizelyFMDatabase close] in Optimizely(FMDatabase.o)
  "_sqlite3_errmsg", referenced from:
      -[OptimizelyFMDatabase lastErrorMessage] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMResultSet next] in Optimizely(FMResultSet.o)
  "_sqlite3_reset", referenced from:
      -[OptimizelyFMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] in Optimizely(FMDatabase.o)
      -[OptimizelyFMStatement reset] in Optimizely(FMDatabase.o)
      -[OptimizelyFMResultSet next] in Optimizely(FMResultSet.o)
  "_sqlite3_changes", referenced from:
      -[OptimizelyFMDatabase changes] in Optimizely(FMDatabase.o)
  "_sqlite3_open_v2", referenced from:
      -[OptimizelyFMDatabase openWithFlags:] in Optimizely(FMDatabase.o)
  "_sqlite3_column_int64", referenced from:
      -[OptimizelyFMResultSet longForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet longLongIntForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_next_stmt", referenced from:
      -[OptimizelyFMDatabase close] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_text", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_bind_null", referenced from:
      -[OptimizelyFMDatabase bindObject:toColumn:inStatement:] in Optimizely(FMDatabase.o)
  "_sqlite3_threadsafe", referenced from:
      +[OptimizelyFMDatabase isSQLiteThreadSafe] in Optimizely(FMDatabase.o)
      -[OptimizelyFMDatabase initWithPath:] in Optimizely(FMDatabase.o)
  "_OBJC_CLASS_$_nflcObject", referenced from:
      objc-class-ref in DetailViewController.o
     (maybe you meant: _OBJC_CLASS_$_nflcObjectViewController, _OBJC_CLASS_$_nflcObjectViewControlleriPhone )
  "_sqlite3_column_blob", referenced from:
      -[OptimizelyFMResultSet dataForColumnIndex:] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet dataNoCopyForColumnIndex:] in Optimizely(FMResultSet.o)
  "_sqlite3_data_count", referenced from:
      -[OptimizelyFMResultSet resultDict] in Optimizely(FMResultSet.o)
      -[OptimizelyFMResultSet resultDictionary] in Optimizely(FMResultSet.o)

 

Re: Running optimizely on ios arm64

@blganesh101 , thanks for posting and for using Optimizely's iOS SDK! Here are a few questions and thoughts I had:

 

- Do you know if you've included the -ObjC flag in your code?

- Are you all using cocoapods?

- Can you confirm that you've included the sqllite library?

 

I went ahead and sent you an email as well so we could troubleshoot this further if needed offline. Please feel free to reply back to that when possible!

 

Looking forward to helping get everything up and running smoothly for you!

 

Derek