直接引入FSCalendar组件,出现1错误;导入FSCalendar.Framework,出现1错误。
Error:
1. Redefinition of typedef is a C11 feature
search:https://github.com/WenchaoD/FSCalendar/issues/709
resoleve:
2.如上配置之后,出现 Ambiguous expansion of macro 'MAX'
reason:系统及引入的库都有 MAX 的宏定义
search:https://phonegapcmsworld.blogspot.com/2016/06/warning-sqlite3c-ambiguous-expansion-of.html
resolve:add “-Wno-ambiguous-macro” into “Other C flags”
3. Missing submodule 'AVFoundation.AVAudioSession'
search:https://github.com/hackiftekhar/IQAudioRecorderController/issues/38
resolve:用 #import <AVFoundation/AVFoundation.h> 替代