I convert java to objective-c,and import it into a swift project by bridging-header file.
When i build the swift project, get the following error:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DTPeople", referenced from:
type metadata accessor for __ObjC.DTPeople in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have set the correct dir for libjre_emul.a
Related
I just updated my Xcode to version 10. and when i run my project and then it shows me the following error :
Undefined symbols for architecture x86_64:
"std::_List_node_base::unhook()", referenced from:
std::list<Linphone::Conference::Participant,
std::allocator<Linphone::Conference::Participant>
>::remove(Linphone::Conference::Participant const&) in
liblinphone.a(conference.cc.o)
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
Linphone::Conference::addParticipant(_LinphoneCall*) in
liblinphone.a(conference.cc.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When adding the SDK i get this compile error
ld: warning: ignoring file /Path/To/Project/MaxstVideoFramework.framework/MaxstVideoFramework, missing required architecture x86_64 in file /Path/To/Project/MaxstVideoFramework.framework/MaxstVideoFramework (2 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MasCameraDevice", referenced from:
objc-class-ref in ScanForCouponsViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using swift.
Does any have an idea on how to fix this ?
Thanks
Try in this terminal this code:
lipo -info /path/to/your/framework/binaryfile
Maybe the framework doesn't support architecture x86_64.
Also you should read the SDK documents, maybe you missed some settings just like "Other linker Flags".
I am trying to build my react native project for release and i am getting the error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_RCTRootView", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
can some one help here please i cant figure it out.
I use pod to install cocoalumberjack to my macosx project. Here is the output of the error message.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DDLog", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_", referenced from:
objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
I've been converted the library from Java into Objective-C. But I can't launch the project .
How to fix this issue?