且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

升级到 Xcode 10.0 后无法构建模块“UIKit"

更新时间:2023-10-15 23:24:10

我在 Xcode 11.1 上遇到了这个问题,我发现它是在我为 Xcode 11.0 安装了错误的 Xcode 命令行工具后发生的,因为我没有找到 11.1版本.

I have this issue for Xcode 11.1 and i found that it happened after i have installed a mistaken Xcode Command line tools for Xcode 11.0 cause i have not found the 11.1 version.

无论如何我已经通过删除新安装的Xcode命令行工具来修复它

Anyway i have fix it by delete the newly installed Xcode Command line tools

1- 完全退出 Xcode

1- Quit Xcode Totally

2- 删除此文件夹并清空垃圾箱

2- Delete this folder And Empty Trash

/Library/Developer/CommandLineTools

/Library/Developer/CommandLineTools

希望这对你也有用