Samuel
Samuel

Reputation: 113

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?

Upvotes: 2

Views: 1859

Answers (1)

Arash Etemad
Arash Etemad

Reputation: 1909

Try this in terminal:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

Upvotes: 6

Related Questions