Questo sito utilizza cookies, anche di terze parti, per mostrare pubblicità e servizi in linea con il tuo account. Leggi l'informativa sui cookies.
Username: Password: oppure
iOS - Errore sqlite3 in un applicazione che usa le API di Facebook
Forum - iOS - Errore sqlite3 in un applicazione che usa le API di Facebook

Avatar
_mikele_ (Member)
Rookie


Messaggi: 40
Iscritto: 06/12/2010

Segnala al moderatore
Postato alle 13:40
Sabato, 01/09/2012
Ciao a tutti, sto sviluppando un'applicazione per un mio amico e per farlo ho bisogno delle librerie che mette a disposizione Fb. Ho seguito la guida che c'è sul sito passo per passo ma durante la compilazione mi appare uno strano errore, anzi 14:

Codice sorgente - presumibilmente Delphi

  1. Ld /Users/michele/Library/Developer/Xcode/DerivedData/Tonight4Teen-boeeqmbeisbywxbjdbunffadlvav/Build/Products/Debug-iphonesimulator/Tonight4Teen.app/Tonight4Teen normal i386
  2.     cd /Users/michele/Documents/Programmazione/Objective-C/Tonight4Teen
  3.     setenv MACOSX_DEPLOYMENT_TARGET 10.6
  4.     setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
  5.     /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/michele/Library/Developer/Xcode/DerivedData/Tonight4Teen-boeeqmbeisbywxbjdbunffadlvav/Build/Products/Debug-iphonesimulator -F/Users/michele/Library/Developer/Xcode/DerivedData/Tonight4Teen-boeeqmbeisbywxbjdbunffadlvav/Build/Products/Debug-iphonesimulator -F/Users/michele/Documents/Programmazione/Objective-C/Tonight4Teen -filelist /Users/michele/Library/Developer/Xcode/DerivedData/Tonight4Teen-boeeqmbeisbywxbjdbunffadlvav/Build/Intermediates/Tonight4Teen.build/Debug-iphonesimulator/Tonight4Teen.build/Objects-normal/i386/Tonight4Teen.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework CoreData -framework UIKit -framework Foundation -framework CoreGraphics -framework FacebookSDK -o /Users/michele/Library/Developer/Xcode/DerivedData/Tonight4Teen-boeeqmbeisbywxbjdbunffadlvav/Build/Products/Debug-iphonesimulator/Tonight4Teen.app/Tonight4Teen
  6.  
  7. Undefined symbols for architecture i386:
  8.   "_sqlite3_open_v2", referenced from:
  9.       ___36-[FBCacheIndex initWithCacheFolder:]_block_invoke_0 in FacebookSDK(FBCacheIndex.o)
  10.   "_sqlite3_exec", referenced from:
  11.       ___36-[FBCacheIndex initWithCacheFolder:]_block_invoke_0 in FacebookSDK(FBCacheIndex.o)
  12.   "_sqlite3_close", referenced from:
  13.       ___23-[FBCacheIndex dealloc]_block_invoke_0 in FacebookSDK(FBCacheIndex.o)
  14.   "_sqlite3_finalize", referenced from:
  15.       _releaseStatement in FacebookSDK(FBCacheIndex.o)
  16.   "_sqlite3_errmsg", referenced from:
  17.       _releaseStatement in FacebookSDK(FBCacheIndex.o)
  18.       -[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in FacebookSDK(FBCacheIndex.o)
  19.       _initializeStatement in FacebookSDK(FBCacheIndex.o)
  20.       -[FBCacheIndex _writeEntryInDatabase:] in FacebookSDK(FBCacheIndex.o)
  21.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  22.       -[FBCacheIndex _fetchCurrentDiskUsage] in FacebookSDK(FBCacheIndex.o)
  23.       -[FBCacheIndex _removeEntryFromDatabaseForKey:] in FacebookSDK(FBCacheIndex.o)
  24.       ...
  25.   "_sqlite3_bind_text", referenced from:
  26.       -[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in FacebookSDK(FBCacheIndex.o)
  27.       -[FBCacheIndex _writeEntryInDatabase:] in FacebookSDK(FBCacheIndex.o)
  28.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  29.       -[FBCacheIndex _removeEntryFromDatabaseForKey:] in FacebookSDK(FBCacheIndex.o)
  30.   "_sqlite3_bind_double", referenced from:
  31.       -[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in FacebookSDK(FBCacheIndex.o)
  32.       -[FBCacheIndex _writeEntryInDatabase:] in FacebookSDK(FBCacheIndex.o)
  33.   "_sqlite3_bind_int", referenced from:
  34.       -[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in FacebookSDK(FBCacheIndex.o)
  35.       -[FBCacheIndex _writeEntryInDatabase:] in FacebookSDK(FBCacheIndex.o)
  36.       -[FBCacheIndex _trimDatabase] in FacebookSDK(FBCacheIndex.o)
  37.   "_sqlite3_step", referenced from:
  38.       -[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in FacebookSDK(FBCacheIndex.o)
  39.       -[FBCacheIndex _writeEntryInDatabase:] in FacebookSDK(FBCacheIndex.o)
  40.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  41.       -[FBCacheIndex _fetchCurrentDiskUsage] in FacebookSDK(FBCacheIndex.o)
  42.       -[FBCacheIndex _removeEntryFromDatabaseForKey:] in FacebookSDK(FBCacheIndex.o)
  43.       -[FBCacheIndex _dropTrimmingTable] in FacebookSDK(FBCacheIndex.o)
  44.       -[FBCacheIndex _trimDatabase] in FacebookSDK(FBCacheIndex.o)
  45.       ...
  46.   "_sqlite3_prepare_v2", referenced from:
  47.       _initializeStatement in FacebookSDK(FBCacheIndex.o)
  48.   "_sqlite3_reset", referenced from:
  49.       _initializeStatement in FacebookSDK(FBCacheIndex.o)
  50.   "_sqlite3_column_text", referenced from:
  51.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  52.       -[FBCacheIndex _trimDatabase] in FacebookSDK(FBCacheIndex.o)
  53.   "_sqlite3_column_double", referenced from:
  54.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  55.   "_sqlite3_column_int", referenced from:
  56.       -[FBCacheIndex _readEntryFromDatabase:] in FacebookSDK(FBCacheIndex.o)
  57.       -[FBCacheIndex _fetchCurrentDiskUsage] in FacebookSDK(FBCacheIndex.o)
  58.       -[FBCacheIndex _trimDatabase] in FacebookSDK(FBCacheIndex.o)
  59. ld: symbol(s) not found for architecture i386
  60. clang: error: linker command failed with exit code 1 (use -v to see invocation)



Sapete come posso risolvere questo problema?


PM Quote
Avatar
Mte90 (Member)
Guru


Messaggi: 1144
Iscritto: 25/03/2008

Segnala al moderatore
Postato alle 14:48
Lunedì, 03/09/2012
mi dà tanto l'idea che sul pc non trova le librerie per sqlite3 ma non usando il mac non so aiutarti di più...


http://www.mte90.net/
Kde, Debian e Programmazione web/Desktop!


Linux Counter.li #482442
PM Quote