BaseVC
サブクラス化クラスによって呼び出されるクラスを開発しましたUIViewController
。BaseVC
新しいクラスから継承しようとすると、次のエラーが発生します。
Undefined symbols for architecture armv7s:
"_OBJC_METACLASS_$_BaseVC", referenced from:
_OBJC_METACLASS_$_ClassX in ClassX.o
"_OBJC_CLASS_$_BaseVC", referenced from:
_OBJC_CLASS_$_ClassX in ClassX.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
小さなテストアプリでやろうとすると、すべて問題ありません。