解决办法:修改build system在Xcode菜单栏 -> File -> Workspace Setting,将build system修改为legacy build system,然后clean后编译。