错误:无法解析构建文件:XCBCore.BuildFile [英] error: Unable to resolve build file: XCBCore.BuildFile

查看:1081
本文介绍了错误:无法解析构建文件:XCBCore.BuildFile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

error: Unable to resolve build file: XCBCore.BuildFile (missingTargetProductReference("3bf83096e50de72a94699e9afc1133ebe3512682230d04680075c283a974e273")) (in target 'MyTarget')

Xcode 10在尝试构建我们的项目时立即给出此错误.目前尚不清楚是什么原因造成的.

Xcode 10 is giving this error immediately when trying to build our project. It's not immediately clear what is causing it.

我该如何解决?

推荐答案

这是我遇到相同错误的元凶:

This was the culprit for my experience of the same error:

在我的系统上设置正确版本的命令行工具(即Xcode 10.2.1;请参见下文)后,错误消失了!

After setting the correct version of Command Line Tools (i.e., Xcode 10.2.1; see below) on my system, the error went away!

这篇关于错误:无法解析构建文件:XCBCore.BuildFile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆