Undefined Symbols

I'm almost completed converting this script you have here http://doc.myscript.com/MyScriptATK_1.3/iOS/itc/index.html to swift but I am running into a build issue where it is displaying

Undefined symbols for architecture arm64:
_OBJC_CLASS_$_WordUserParamsFactorySample, referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have these headers in my bridge file
#import <AtkItc/ITC.h>
#import StrokeUserParamsFactorySample.h
#import WordUserParamsFactorySample.h
#import UserParamSample.h
#import ITCSampleStroke.h
#import DataFormatRecognizer.h
#import GestureManager.h

and all the files listed in the Link Binary With Libraries and build settings that it states in the above URL. I am not sure what is causing this issue.

1 Comment

Such error may occur due to Xcode build settings of your project?
Could you please check those settings? Remove ‘All load’ flag, in Xcode settings –> Other Link and set “-undefined dynamic_lookup” as Other Linker Flags parameter
Please let us know if it helps.

Best regards

Login or Signup to post a comment