解決辦法:修改build system在Xcode菜單欄 -> File -> Workspace Setting庆亡,將build system修改為legacy build system炫狱,然后clean后編譯。