Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 解析sqlite错误_Ios_Swift_Parse Platform - Fatal编程技术网

Ios 解析sqlite错误

Ios 解析sqlite错误,ios,swift,parse-platform,Ios,Swift,Parse Platform,我有一个关于在Swift 2中使用解析的问题。。。显然,当我试图用Parse运行这个应用程序时,我遇到了26个与sqlite相关的错误。我已经在AppDelegate中创建了桥接头以及输入的应用程序id函数。以下是我遇到的各种错误: Undefined symbols for architecture x86_64: "_AudioServicesCreateSystemSoundID", referenced from: +[PFPushUtilities playAudioWithN

我有一个关于在Swift 2中使用解析的问题。。。显然,当我试图用Parse运行这个应用程序时,我遇到了26个与sqlite相关的错误。我已经在AppDelegate中创建了桥接头以及输入的应用程序id函数。以下是我遇到的各种错误:

Undefined symbols for architecture x86_64:
  "_AudioServicesCreateSystemSoundID", referenced from:
  +[PFPushUtilities playAudioWithName:] in Parse(PFPushUtilities.o)
  "_AudioServicesPlaySystemSound", referenced from:
  +[PFPushUtilities playAudioWithName:] in Parse(PFPushUtilities.o)
  +[PFPushUtilities playVibrate] in Parse(PFPushUtilities.o)
  "_sqlite3_bind_blob", referenced from:
  -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in 
   Parse(PFSQLiteDatabase.o)
  "_sqlite3_bind_double", referenced from:
  -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in  Parse(PFSQLiteDatabase.o)
  "_sqlite3_bind_int64", referenced from:
   -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o)
  "_sqlite3_bind_null", referenced from:
  -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o)
  "_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)
  "_sqlite3_clear_bindings", referenced from:
  ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)
  "_sqlite3_close", referenced from:
  -[PFDateFormatter dealloc] in Parse(PFDateFormatter.o)
  ___30-[PFSQLiteDatabase closeAsync]_block_invoke in Parse(PFSQLiteDatabase.o)
  "_sqlite3_column_blob", referenced from:
  -[PFSQLiteDatabaseResult dataForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_bytes", referenced from:
  -[PFSQLiteDatabaseResult dataForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_count", referenced from:
  -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_double", referenced from:
  ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)
      -[PFSQLiteDatabaseResult doubleForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_int", referenced from:
  -[PFSQLiteDatabaseResult intForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_int64", referenced from:
  ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)
  -[PFSQLiteDatabaseResult longForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_name", referenced from:
  -[PFSQLiteDatabaseResult columnNameToIndexMap] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_text", referenced from:
  -[PFSQLiteDatabaseResult stringForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_column_type", referenced from:
  -[PFSQLiteDatabaseResult objectForColumnIndex:] in Parse(PFSQLiteDatabaseResult.o)
  -[PFSQLiteDatabaseResult columnIndexIsNull:] in Parse(PFSQLiteDatabaseResult.o)
  "_sqlite3_errmsg", referenced from:
  -[PFSQLiteDatabase _errorWithErrorCode:] in Parse(PFSQLiteDatabase.o)
  "_sqlite3_finalize", referenced from:
   -[PFDateFormatter dealloc] in Parse(PFDateFormatter.o)
  -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o)
  -[PFSQLiteStatement close] in Parse(PFSQLiteStatement.o)
  "_sqlite3_open", referenced from:
  -[PFDateFormatter init] in Parse(PFDateFormatter.o)
  ___29-[PFSQLiteDatabase openAsync]_block_invoke in Parse(PFSQLiteDatabase.o)
  "_sqlite3_prepare_v2", referenced from:
  -[PFDateFormatter init] in Parse(PFDateFormatter.o)
  -[PFSQLiteDatabase _executeQueryAsync:withArgumentsInArray:cachingEnabled:] in Parse(PFSQLiteDatabase.o)
  "_sqlite3_reset", referenced from:
  ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)
  -[PFSQLiteStatement reset] in Parse(PFSQLiteStatement.o)
  "_sqlite3_step", referenced from:
  ___34-[PFDateFormatter dateFromString:]_block_invoke in Parse(PFDateFormatter.o)
  -[PFSQLiteDatabaseResult step] in Parse(PFSQLiteDatabaseResult.o)
ld: symbol(s) not found for architecture x86_64

转到应用程序的“链接框架和库”设置,并确保将
libsqlite
库和
AudioToolbox
框架添加到项目中。存在相同问题。是的,添加了libsqlite和音频工具箱框架。当我将我的项目从swift 1.2升级到2.x时,这种情况就开始出现了