simonbs / SBSAnimoji

🐵 Animoji app using Apples AvatarKit
1k stars 103 forks source link

Mach-O Linker error #6

Closed quangvh23 closed 7 years ago

quangvh23 commented 7 years ago

Undefined symbols for architecture x86_64: "_OBJCMETACLASS$_AVTPuppetView", referenced from: _OBJCMETACLASS$_SBSPuppetView in SBSPuppetView.o "_OBJCCLASS$_AVTPuppetView", referenced from: _OBJCCLASS$_SBSPuppetView in SBSPuppetView.o objc-class-ref in SBSPuppetView.o "_OBJCCLASS$_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?

simonbs commented 7 years ago

@quangvh23 Are you compiling this for an iPhone X? Only supported device is iPhone X.

ghost commented 7 years ago

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?

simonbs commented 7 years ago

@outbools Yes. The iPhone X is the only device that supports AvatarKit. https://twitter.com/stroughtonsmith/status/927852243700867073