Simulator Error iOS8

Try running my project on a single iOS8 simulator, and Xcode shows an error:

An error occurred during startup (Domain = NSMachErrorDomain, Code = 5) enter image description here

None of the iOS8 simulators can be launched. What to do?

+3
source share
5 answers

"iOS Simulator" → "Reset Content and Settings ..." ^ this helps.

+3
source

I encountered the same error only this morning, and I did not quite understand this, but I noticed something that could help you (or both of us if someone else trips over it and gets more information). I was building a project that contained:

  • the application itself
  • Today extension (widget)

TodayViewController.h/m, . TodayViewController.m , . ( .) TodayViewController.h, . , , , " ()" . TodayViewController.m , .

, . , , , TodayViewController.m , . - , , . , .

+3

. , " " (aka blue folder). , " " ( ), . , , . GL.

+1

, DP3.

Derived Data Organizer, - . Finder, ! !

0

If you ever get such an error where xcode does not say much, just an error code, try to check the actual problem on the system console first.

Applications → Utilities → Console

In my case, I was able to see that xcode was trying to copy the widget binary, and it could not find it. I was able to find out that without at least one compiled file on the target, xcode is not going to create a binary file for the extension.

0
source

Source: https://habr.com/ru/post/1545366/


All Articles