xcode运行时出现-1错误

2024-11-25

xcode使用MacOS的command line tool调试时出现错误:

Message from debugger: Error 1
Program ended with exit code: -1

解决方案: 修改项目设置 signing & Capabilities - macOS - signin to Run Locally img

参考链接