去掉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的路径

原文地址:https://www.cnblogs.com/sundaysgarden/p/8995096.html