Did anyone tried this function (sqlite3_column_origin_name) on Objective-C? It exists in sqlite3.h but I get an error when I try to use it:
Undefined symbols for architecture i386:
"_sqlite3_column_origin_name", referenced from:
+[SQLCommunication executeSelect:] in SQLCommunication.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Thanks
I use sqlite3_column_name(). I also find sqlite3_column_origin_name() does not work in IOS.
For resolve your question see this link and changing the definition #define SQLITE_ENABLE_FTS4 to this #define SQLITE_ENABLE_COLUMN_METADATA
Related
ld: warning: in /Users/kunwarhanda/Documents/Augmented/WikitudeAPI/libWikitudeAPI.a, missing required architecture i386 in file
Undefined symbols:
"_OBJC_CLASS_$_WTPoi", referenced from:
objc-class-ref-to-WTPoi in AugmentedAppDelegate.o
objc-class-ref-to-WTPoi in CustomMenuButtonDelegateImpl1.o
"_OBJC_CLASS_$_WikitudeARCustomMenuButton", referenced from:
objc-class-ref-to-WikitudeARCustomMenuButton in AugmentedAppDelegate.o
"_OBJC_CLASS_$_WikitudeARView
Controller", referenced from:
objc-class-ref-to-WikitudeARViewController in AugmentedAppDelegate.o
objc-class-ref-to-WikitudeARViewController in CustomMenuButtonDelegateImpl1.o
objc-class-ref-to-WikitudeARViewController in CustomMenuButtonDelegateImpl3.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
**I have cross checked that libWikitudeAPI.a is imported still does'nt know about this error and by the way m new to iPhone
Please can some one help me in this Thanks in advance **
The problem is that the library is only for device not for simulator. Try debug your app and use NSZombieEnabled environment variable for finding actual crash reasons.
Good Day!
I tried to recreate the sample TTFacebook Project of the three20 samples in an XCode4 IDE, but I got this error about TTURLJSONResponse
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_TTURLJSONResponse", referenced from:
objc-class-ref in FacebookSearchFeed.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
thanks, much love and respect
Make sure you added Three20:extThree20JSON+YAJL or Three20:extThree20JSON+SBJSON to your project (either manually or via ttmodule.py), also make sure they compile fine (look if the binaries are not red in your project Build Phases).
"_OBJC_CLASS_$_AddViewController", referenced from:
objc-class-ref-to-AddViewController in ContactsController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
and the particular controllers are attached and compiling fine.
Thanks
Make sure that AddViewController.m is added to your compile sources.
.framework/MapKit, file was built for i386 which is not the architecture being linked (armv6)
Undefined symbols:
"_OBJC_CLASS_$_MKAnnotationView", referenced from:
objc-class-ref-to-MKAnnotationView in MapViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I am getting this error when building on my device even though I added the mapkit and corelocation frameworks. Does anyone know how i can solve this problem?
Add the framework MapKit to your project.
Can anyone please tell me what is this error, I am trying to compile on xcode
"_OBJC_CLASS_$_CATransaction",
referenced from:
objc-class-ref-to-CATransaction in RefreshTableViewHeader.o
And this error
"_kCATransactionDisableActions",
referenced from:
_kCATransactionDisableActions$non_lazy_ptr
in RefreshTableViewHeader.o
(maybe you meant: _kCATransactionDisableActions$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Google was of no help.
Am I missing any framework...?
It is a linker error indicating that you're missing some symbols. Try to add QuartzCore framework to link with your project.