我试图构建新项目,但是当我单击构建时,构建每次都会失败。
我尝试删除我的项目并再次创建它,但是仍然没有帮助。
警告
:-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”,我在该错误消息上剪切了一些文件路径。那么我如何建立这个项目呢?
在终端中尝试:
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService