简体   繁体   中英

Xcode project: Build Failed

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.

Warning

:-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')

Error

~/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: (

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?

在终端中试试这个:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM