Undefined symbols for architecture x86_64:
"_kTTTStrikeOutAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_OBJC_CLASS_$_TTTAttributedLabel", referenced from:
objc-class-ref in ViewController.o
"_kTTTBackgroundStrokeColorAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundFillColorAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundCornerRadiusAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundFillPaddingAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
ld: symbol(s) not found for architecture x86_64
"_kTTTStrikeOutAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_OBJC_CLASS_$_TTTAttributedLabel", referenced from:
objc-class-ref in ViewController.o
"_kTTTBackgroundStrokeColorAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundFillColorAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundCornerRadiusAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
"_kTTTBackgroundFillPaddingAttributeName", referenced from:
___29-[ViewController viewDidLoad]_block_invoke in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
举个例子
很简单,
Build Phases里面的Compile Sources 里面没有添加实现文件