ld: warning: ignoring file /Users/5012/Documents/sphuang/IOS_project/baidu_map/ShareLocation/libs/Release-iphonesimulator/libbaidumapapi.a, file was built for archive which is not the architecture being linked (x86_64): /Users/5012/Documents/sphuang/IOS_project/baidu_map/ShareLocation/libs/Release-iphonesimulator/libbaidumapapi.a
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_BMKMapManager", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_BMKMapManager", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在项目中找到这个地方,把里面的路径删除一个,只保留一个就可以了