错误如下:
解决方法:
1.重启Xcode
2.是否用到Inter-App Audio,若是,则选中Capabilities将其打开
3.Project 和 ProjectTests的Team不一致
参考:https://stackoverflow.com/questions/19581225/the-executable-gets-signed-with-invalid-entitlements-in-xcode