Undefined symbols for architecture x86_64:

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
E50F7FCFE7E458BC6216A5CB718E0716.png
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容