Adding BleshSDK Framework - xcode

I have a mobile application which works on IOS platform and I am trying to add the Blesh Framework to my project.It seems like I did add the framework to the project correctly but I got a problem with building the project.
Here is the exception message:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Blesh", 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)
Thanks for any help or pointers to the right direction.

in Build Settings -> Other Linker Flags
add this into Debug and Release:
$(OTHER_LDFLAGS) -ObjC

Related

Error when building with XCODE

Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_ARImageAnchor", referenced from:
objc-class-ref in libXRPlugin.a(ios-arkit-sensor.o)
"_OBJC_CLASS_$_ARReferenceImage", referenced from:
objc-class-ref in libXRPlugin.a(ios-arkit-sensor.o)
ld: symbol(s) not found for architecture arm64 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
Hello! That's the error I get when trying to compile Demo app from 8thwall
I suppose that's related to a frame work error, any suggestion? Thanks!
What version of XCode are you using? As per the 8th Wall XR documentation, a version of XCode 9.3 or higher is required.
https://docs.8thwall.com/#requirements

Building tvOS framework for simulator using Xcode 7.2

I am trying to a build a framework for tvOS. I am able to generate the framework but when I link against it, with a sample app there are problems.
I get following errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MyTestClass", referenced from:
objc-class-ref in MyViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The built for the device works just fine.
This is the build configuration for the framework.
Any ideas what could be wrong?

Apple Mach-O Linker Error iOS 7

i try to build a small iOS app with dreamfactory as backend.
When i build the app with the librarys from dreamfactory i'm getting a mach-o linker error:
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me.
Sorry for my bad englisch.
I cant comment yet, so I'll have to post here. This was addressed already in this thread: https://github.com/dreamfactorysoftware/ios-sdk/issues/1

Create static library Xcode 4.6

I'm building static library in Xcode 4.6. http://www.icodeblog.com/2011/04/07/creating-static-libraries-for-ios/. I building follow post but wrong error.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SSHelloer", 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)
Solved
I found reason to error. I'm playing app in simulator, static libs build for device. So wrong error.

hid api building error in XCode

I'm trying to test this hid api for MAC in XCode by creating a project type "Core Foundation" just by importing the "hidapi/hidapi.h" library and replacing the "mac/main.c" files into the project. After adding the IOKit framework, and trying to build I got an error saying:
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.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 looked into this error here and on the internet, but it seems that this error it's not related to specific problem, it occurs depending on the situation. Can you give me a help?
Thank you very much.

Resources