Xcode项目:构建失败 [英] Xcode project: Build Failed

查看:612
本文介绍了Xcode项目:构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图构建新项目,但是当我单击build时,构建每次都会失败.

I tried to build my new project, but when I click build, the build fails every time.

我尝试删除我的项目并再次创建它,但是仍然没有帮助.

I tried deleting my project and made it again, but it did not help anyway.

警告

:-1: Capabilities for MyFirstApp may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'MyFirstApp')

错误

~/MyFirstApp/Base.lproj/LaunchScreen.storyboard:-1: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fc3a9a03e10> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fc3a9a141a0> scaleFactor=2x'. These intermediate objects were non-nil: (

~/MyFirstApp/Base.lproj/Main.storyboard:-1: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fc982cd0ca0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fc982cb9cd0> scaleFactor=2x'. These intermediate objects were non-nil: (

这些是Xcode向我显示的错误消息.项目名称为"MyFirstApp",我在该错误消息上剪切了一些文件路径.那我怎么建这个项目呢?

These are the error messages that Xcode showed me. The project name was 'MyFirstApp' and I cut some file paths on that error messages. So how can I build this project?

推荐答案

在终端中尝试以下操作:

Try this in terminal:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

这篇关于Xcode项目:构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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