it's very strange , my project is all right until I open my Xcode this morning , I did not change any thing but I got an Command failed due to signal: Abort trap: 6 ( I user Xcode9 and Swift4). but with simulations, everything works fine.
I have tried turn swift optimization to [No] but don't work.