Mach-O Linker error
quangvh23 opened this issue · 3 comments
Undefined symbols for architecture x86_64:
"OBJC_METACLASS$_AVTPuppetView", referenced from:
OBJC_METACLASS$_SBSPuppetView in SBSPuppetView.o
"OBJC_CLASS$_AVTPuppetView", referenced from:
OBJC_CLASS$_SBSPuppetView in SBSPuppetView.o
objc-class-ref in SBSPuppetView.o
"OBJC_CLASS$_AVTPuppet", referenced from:
objc-class-ref in MainViewController.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 received the above error when compiling, how to link these headers to your AvatarKit.framework?
@quangvh23 Are you compiling this for an iPhone X? Only supported device is iPhone X.
Same here, tried to build this project for Generic iOS Device.
So I assume only way to compile this code is to plug iPhone X in?
@outbools Yes. The iPhone X is the only device that supports AvatarKit. https://twitter.com/stroughtonsmith/status/927852243700867073