https://www.jianshu.com/p/635574a8ab0e
如果是真机运行relase版
1.Edit Scheme中改成relase
2.更改签名为 自动签名
iOS开发-真机调试遇到“The executable was signed with invalid entitlements.
原文:https://www.cnblogs.com/sundaysgarden/p/11326952.html