Xcode 切换target 之后打包失败

Showing Recent Errors Only
Clang frontend command failed with exit code 70 (use -v to see invocation)
fatal error: error in backend: Unexpected end of file
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: armv7-apple-ios9.0
Thread model: posix
InstalledDir: /Applications/Xcode 11.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/7y/ptf0c5q14yg6r2w_dmmzxh50ztv9r1/T/PABSubBranchInfoModel-1810f6.m
clang: note: diagnostic msg: /var/folders/7y/ptf0c5q14yg6r2w_dmmzxh50ztv9r1/T/PABSubBranchInfoModel-1810f6.cache
clang: note: diagnostic msg: /var/folders/7y/ptf0c5q14yg6r2w_dmmzxh50ztv9r1/T/PABSubBranchInfoModel-1810f6.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/wjw/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg: 

********************

Xcode11.2, 项目有多个target,前一个target正常打包。切换之后先报此错。
comand + K 清理一下项目就OK 了。

posted @   wjwdive  阅读(468)  评论(0编辑  收藏  举报
编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· AI 智能体引爆开源社区「GitHub 热点速览」
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
历史上的今天:
2016-11-26 CSS 学习笔记
点击右上角即可分享
微信分享提示