Post by syco on Oct 29, 2019 16:52:44 GMT
Hi,
I hope someone can help me on this because I'm losing it..
I have the most simple xcode project I could come up with, Import the sdk, find devices, close the application. But I can't make it work.
Here's the error I get:
Ld /Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Products/Debug/Embrava normal x86_64 (in target 'Embrava' from project 'Embrava')
cd /Users/alberto/Desktop/Embrava
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Products/Debug -L/Users/alberto/Desktop/Embrava/Embrava -F/Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Products/Debug -filelist /Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Intermediates.noindex/Embrava.build/Debug/Embrava.build/Objects-normal/x86_64/Embrava.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Intermediates.noindex/Embrava.build/Debug/Embrava.build/Objects-normal/x86_64/Embrava_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -lblynclightcontrol -Xlinker -dependency_info -Xlinker /Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Intermediates.noindex/Embrava.build/Debug/Embrava.build/Objects-normal/x86_64/Embrava_dependency_info.dat -o /Users/alberto/Library/Developer/Xcode/DerivedData/Embrava-cywttxieehyqblgklbmidjhsciqt/Build/Products/Debug/Embrava
Undefined symbols for architecture x86_64:
"_FindDevices", referenced from:
-[Embrava openDevice] in Embrava.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 library is in the folder /Users/alberto/Desktop/Embrava/Embrava, that is correctly linked in that command, so I can't understand what's wrong with it.
This is the project. I hope it doesn't contain any sensitive informations (did I already said how much I hate xcode?)
Hopefully someone can point me in the right direction.
Embrava.zip (551.49 KB)
Thanks.