Command SwiftCompile failed with a nonzero exit code

记录一下这个错误的一个解决方案

Xcode15.3 新建项目后 使用cocoapods,pod引入第三方库后报Command SwiftCompile failed with a nonzero exit code 的错误

解决方法 Target - build setting - 搜索sandbox - 把user script sandboxing 设置为 NO , command + K 清理后 重新编译 问题解决

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐