Xcode 升级后项目在模拟器和真机上都不能跑了

如题。昨天晚上升级后就跑不了了。
模拟器提示: invalid parameter
真机提示 sign failed error什么的

每次升级xcode 都那么坑。。。