When i upgrade my Xcode to version 10.3 and build my iOS project, i meet an error message like this Failed to find or create execution context for description ‘<IBCocoaTouchPlatformToolDescription: 0x7fe0cfa54080> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe0cfa63cb0> scaleFactor=2x’. These intermediate objects were non-nil:. This error confused me a lot of time. But finally i find the solution about how to fix it.
1. Restart Your Mac Computer.
The simplest way to fix this error is just restart your mac computer. Then when you build your iOS app in Xcode, this error will disappear.
2. Run Command To Kill The Core Simulator Service.
- Open a terminal and run below command to kill the core simulator service.
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
- After that, clean the iOS build folder and rebuild the iOS app again, the error will disappear.
2 thoughts on “How To Fix Xcode Error Failed To Find Or Create Execution Context For Description IBCocoaTouchPlatformToolDescription”
It worked like charm. Would be more interesting to know what is causing this error and how it gets resolved after following your answer.
It worked, thanks!