ld: in /Users/apple/Library/Developer/Xcode/DerivedData/GameCity-cthafamtdulbnvhbxrosfnfjdwal/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(ftbase.ios8_x86_64.o), building for iOS simulator, but linking in object file built for OSX, for architecture x86_64
解决方法:你可以升级3.8.1,也可以把3.8.1的frameworks/cocos2d-x/external/freetype2的库拷贝过来。应该是ios freetyp2的x86_64的库不是模拟器的,是mac的才造成这种错误。