ForceTouchVibrationCLI icon indicating copy to clipboard operation
ForceTouchVibrationCLI copied to clipboard

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSHapticFeedbackManager"

Open skorphil opened this issue 4 years ago • 0 comments

Got error after trying to run in terminal

gcc main.m -framework Foundation
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NSHapticFeedbackManager", referenced from:
      objc-class-ref in main-8377a1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

is there any way to make it work?

skorphil avatar May 09 '21 16:05 skorphil