1.问题出现原因:
import "LWActionSheetView.h"
const CGFloat cellHeightt = 60.0f;
@interface LWActionSheetView ()
@end
@implementation LWActionSheetView
@end
然后我又在另一个文件里重复使用了定义
const CGFloat cellHeightt = 60.0f;
最后导致在模拟器上导致冲突,在真机上面没有错误
2.mac上使用g++编译出错“Undefined symbols for architecture x86_64:” 误解决办法:
参照网址:http://blog.youkuaiyun.com/eric41050808/article/details/39502231
3.duplicate symbols for architecture x86_64
参考网址:http://stackoverflow.com/questions/24298144/duplicate-symbols-for-architecture-x86-64
4.枚举问题
参考网址:http://www.jianshu.com/p/2b79e450d67e