集成百度地图碰到了这种报错
Undefined symbols for architecture x86_64:
"_NSBackgroundColorAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
"_NSFontAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
_baidu_vi::vi_map::GetFontTextrueSizeOS(unsigned short*, unsigned int, unsigned short*) in BaiduMapAPI_Base(VBGL.o)
"_NSForegroundColorAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
"_NSParagraphStyleAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
"_NSStrokeColorAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
"_NSStrokeWidthAttributeName", referenced from:
_baidu_vi::vi_map::GenTextImage(unsigned short*, unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned long, unsigned long, unsigned long, unsigned int) in BaiduMapAPI_Base(VBGL.o)
"_OBJC_CLASS_$_NSMutableParagraphStyle", referenced from:
objc-class-ref in BaiduMapAPI_Base(VBGL.o)
"_O