Error in coredata? - iphone

I am developing an app that saving an url using coredata.I am defining NSManagedObjectContext,NsManagedObjectModel,NSPersistentStoreCoordinator in CoreDataRepository object class instead of AppDelegate.I am saving this url using reference of CoreDataRepository.I am getting below error.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CoreDataRepository", referenced from:
objc-class-ref in HomeViewController.o
objc-class-ref in DashBoardUrlViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any idea about this error.Thanks.

The linker can't find your CoreDataRepository class. Look in your target's Build Phases and add that source or library to either the compile or link phase, depending on where it's defined.

Related

Trying to implement sharekit getting errors

Hello I am new to iphone development. I'm trying to implement share kit and am getting this error
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SSReadingList", referenced from:
objc-class-ref in libShareKit.a(SHKReadingList.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
dont know what to do i tried using https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit this link and all the steps are done still what is this error about have no clue about

Getting "_OBJC_CLASS_$_NgnEngine" error after linking iOS fat library

Why i am still getting this error even after linking fat library
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NgnEngine", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and linking everything in "User-Defined
I am following the instruction which written here Link ios-ngn-stak to your app
any help please, this is tiring me and it is my senior project
please refer this two link for getting solution if your issue:-
Error : "_OBJC_CLASS_$_NgnEngine"
Xcode with iOS - Creating a library in a way that is easy to run in debug mode, distribute, iterate

AQGridView not linking

I am trying to use the AQGridView in an app. I copied all the files into my project but I keep getting the error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AQGridView", referenced from:
objc-class-ref in GridViewController.o
"_OBJC_CLASS_$_AQGridViewCell", referenced from:
_OBJC_CLASS_$_GridViewCell in GridViewCell.o
"_OBJC_METACLASS_$_AQGridViewCell", referenced from:
_OBJC_METACLASS_$_GridViewCell in GridViewCell.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What am I doing wrong? I have all the necessary files added
Remove all the AQGridView files from your project and then add them again, but make sure when adding the Add to targets checkbox before your build target is checked. It seems that the files are added correctly, but not properly linked to your target.

iphone:Urban airship libUAirship-1.1.1.a error occurs

I am implementing Push notification(urban airship) in my application. I have written the code and also added the necessary framework including libUAirship-1.1.1.a but it shows me following error.
Undefined symbols for architecture i386:
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_kUTTagClassFilenameExtension", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
"_kUTTagClassMIMEType", referenced from:
+[UA_ASIHTTPRequest mimeTypeForFileAtPath:] in libUAirship-1.1.1.a(UA_ASIHTTPRequest.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't understand why this error generated.
Check out this document it may help you : Push Notification Client Library

Linking error when trying to import external framework

I have integrated a new external framework to my project, the framework is well imported, however, i get a strange error when trying to build and run the project:
"_OBJC_CLASS_$_MPInit", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_RMMapView", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try several attempts but haven't find the solution.
Any suggestion will be appreciated.