I am trying to use SlackTextViewController ( https://github.com/slackhq/SlackTextViewController ) in my application, which is written in Swift.
(I follow this → qaru.site/questions/22442 / ... )
After installing pod, everything works fine, but when I try to subclass from one of the objective-C classes, the assembly fails, for example -
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SLKTextViewController", referenced from:
_OBJC_CLASS_$__TtC8Appname15Class2 in Class2.o
"_OBJC_METACLASS_$_SLKTextViewController", referenced from:
_OBJC_METACLASS_$__TtC8Appname15Class2 in Class2.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I followed Undefined characters for arm64 architecture , but then I got the same error for armv7.
My bridge title is as follows:
#ifndef Appname_Bridging_Header_h
#define Appname_Bridging_Header_h
#import <GooglePlus/GooglePlus.h>
#import <GoogleOpenSource/GoogleOpenSource.h>
#import <SLKTextViewController.h>
#import <SLKInputAccessoryView.h>
#import <SLKTextInputbar.h>
#import <SLKTextView.h>
#import <SLKTypingIndicatorView.h>
#endif
source
share