Undefined symbols for architectu
2017-11-08 本文已影响79人
工藤辞辞
Undefined symbols for architecture x86_64:
"_NTESNotificationLogout", referenced from:
___56-[SettingViewController alertView:clickedButtonAtIndex:]_block_invoke in SettingViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
1.
__class 为框架丢失 加入缺失的框架 或者.m文件
2.
在clickedButtonAtIndex这个方法里,找不到_NTESNotificationLogout
错误原因: 自己定义了一个空的字符串NTESNotificationLogout 传给方法里面的一个系统通知的postname
