去掉ambiguous expansion of macro警告

查看原文:http://www.heyuan110.com/?p=1221

用pod install后,pod工程里出现ambiguous expansion of macro的warning,对于有代码洁癖的人,这个让人难以忍受
去掉warning的办法
1.选择Project-->Build Setting
2.搜Enable Modules,找到后设置为NO,搞定!

另外记录一下去掉xcode编译warning:‘ld: warning: directory not found for option’
1.选择工程Target
2.选择 Build Settings
3.搜Library Search Paths 和 Framework Search Paths,删除编译warning的路径

posted @ 2018-05-05 16:31  sundaysios  阅读(1234)  评论(0编辑  收藏  举报