"_OBJC_CLASS_$_FBSBJSON", referenced from: - ios

i have a try to run the application and application give me this error
if anyone know that then please provide solution
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FBSBJSON", referenced from:
objc-class-ref in AppController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

There are some possible things due to which this error may come:
while adding the SBJSON you might not be checked that copy option .
or go to compiled sources and see your .m file is specified there or not .

Related

linking error during compiling

I got this error:
"Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NKLocalJSONParser", referenced from: objc-class-ref in
BBCNepaliNews.o ld: symbol(s) not found for architecture i386 clang:
error: linker command failed with exit code 1 (use -v to see invocation) "
How can I solve this?
Try shift + command + k and then try building it again. This will clean your build. Alternatively, if this is an open api, make sure that when you imported the files into your project that you made sure to set the target as your project and that you copied them in rather than just putting references to them.

Undefined symbols for architecture i386:"_OBJC_CLASS_$_SBJsonParser"

I'm creating a iphone app and its contain SBJson_3.1.1 for login purpose [I'm using webservice for login data] but when I run the project it shows the following error and I cant find what its reason I'm quite new to ios development so please guide me.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SBJsonParser", 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)
If you are building the SBJson library and have linked your app to that, you will need add the -ObjC and -all_load flags to your linker options.

Cannot compile after using RNCryptor

I am using RNCryptor from here. but cannot seem to get my app to compile correctly. I get the following errors in the log:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RNDecryptor", referenced from:
objc-class-ref in EncryptionTransformer.o
"_OBJC_CLASS_$_RNEncryptor", referenced from:
objc-class-ref in EncryptionTransformer.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone tell me whats wrong here?
I would guess you built RNCryptor for ARM but you're building your application to run on the Simulator (i386).

Unknown class MHRotaryKnob in Interface Builder file

I hav a custom class which is a subclass of UIControl.
Unfortunately i am not able to compile the code due to following error:
Unknown class MHRotaryKnob in Interface Builder file.
I have tried to add the MHRotaryKnob.m in Build Phases -> Compile Sources i just got a bunch of errors:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CAKeyframeAnimation", referenced from:
objc-class-ref in MHRotaryKnob.o "_OBJC_CLASS_$_CAMediaTimingFunction", referenced from:
objc-class-ref in MHRotaryKnob.o "_kCAMediaTimingFunctionEaseIn", referenced from:
-[MHRotaryKnob valueDidChangeFrom:to:animated:] in MHRotaryKnob.o "_kCAMediaTimingFunctionEaseOut", referenced from:
-[MHRotaryKnob valueDidChangeFrom:to:animated:] in MHRotaryKnob.o ld: symbol(s) not found for architecture i386 clang:
error: linker command failed with exit code 1 (use -v to see
invocation)
I have tried to clean and rebuild
I have sweeped content off my simulator
I assume from searching on this particular error its due to the missing sourcefile in my build phase.
Thanks in advance.
A missing framework (QuartzCore) was added, and the problem was solved.

undefined symbols for architecture i386:Apple Mach-O Linke(id)error

I have an error like this
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ViewController", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can you solve this problem? Please help me.
Find the file ViewController.m in your project and select it.
Use the properties inspector (Apple-Option-1) to ensure that it's added to your target membership whatever that target may be. It will need have a tick next to the target.

Resources