Redefinition of typedef is a C11 feature

直接引入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> 替代


http://www.niftyadmin.cn/n/704323.html

相关文章

新手学习Linux——RAID磁盘阵列的原理与RAID0搭建

---------------------分割线-------------------------首先添加两块5G的硬盘ls /dev/sd{a,b,c} #查看是否安装上硬盘lsblk -l #列出所有块设备fdisk /dev/sdb b盘给进行分区fdisk /dev/sdc #把c盘进行分区ls /dev/sd #双击两次Tab键就可以显示cd /etc/yum.repos.d/ #进入文件v…

Vitalik:Casper 的过去、现在和未来

1/ 今天我准备发一个推特流&#xff0c;解释一下以太坊 Casper 研究的历史和现状&#xff0c;包括 FFG 和 CBC 的分歧、&#xff08;工作量/权益&#xff09;混合共识到完全 PoS 的转变、随机性在 Casper 中的角色、机制设计挑战&#xff0c;以及其它。2/ 以太坊权益证明研究开…

Incompatible pointer to integer conversion assigning to 'long' from 'id _Nullable'

进行数据库相关操作&#xff0c;出现以下错误&#xff1a; 1.Incompatible pointer to integer conversion assigning to long from id _Nullable reason&#xff1a;将字典对象转化为模型时&#xff0c;如果字段为long等整型&#xff0c;需要如下转化&#xff1a; //_order…

4.Swift学习之数据类型

Swift类型的介绍 Swift中的数据类型也有:整型/浮点型/Bool型/元组/枚举/结构体/对象类型等基本类型整型 有符号 Int8 : 有符号8位整型Int16 : 有符号16位整型Int32 : 有符号32位整型Int64 : 有符号64位整型Int : 和平台相关(默认,相当于OC的NSInteger) 无符号 UInt8 : 无符号8位…

Undefined symbols for architecture arm64

使用CocoaPod引入 AFNetworking &#xff0c;出现错误 1.Undefined symbols for architecture arm64 search:https://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64 在Other Linker Flags 添加 $(inherited) 2.library not found for -lA…

Sublime 格式化代码 设置快捷键以及插件使用

实在sublime中已经自建了格式化按钮&#xff1a; Edit -> Line -> Reindent 只是sublime并没有给他赋予快捷键&#xff0c;所以只需加上快捷键即可 Preference -> Key Bindings -user 中 括号内添加(比如添加&#xff1a;ctrl alt r) { "keys": …

Property follows Cocoa naming convention for returning 'owned' objects

Error&#xff1a; Property follows Cocoa naming convention for returning owned objects reason: 属性以关键字开头&#xff0c;如new… resolve: 换掉关键字或者关键字前面加前缀

this class is not key value coding-compliant for the key anewPwdTf

Error&#xff1a; this class is not key value coding-compliant for the key anewPwdTf reason: 在使用xib时&#xff0c;将控件引用到类中之后&#xff0c;再次更改控件引用的名称&#xff0c;会导致此类错误 resolve: 点击xib&#xff0c;选择该控件&#xff0c;然后…