iOS simulator crash in iOS 8.2 and Xcode 6.2 with “Failed to lookup the process ID of #ID after successful launch.”

别等时光非礼了梦想. 提交于 2019-12-03 06:19:39

I had the same problem and solved it by force quitting and restarting Xcode and iOS Simulator.

I had the same problem after I did a Mac update on xcode. I had the IOS simulator open during the install/update process. When I closed it, re-ran my compile, it re-opened the simulator and ran fine.

Simulator -> Reset Content and Settings did it for me.

In my case, all I needed to do was: Hardware -> Reboot on simulator.

I had the same problem, in my case the issue was :-

Have set "Build active architectures : NO". Just changed it to YES and it worked.

Even i had the same issue when i upgraded Xcode to 6.3.2. I just did re launch of Xcode and iPhone Simulator and worked for me.

I'm using xcode 7 beta 2 and am having the same problem.

My take is that this is a random error probably due to a race condition.

If I start xcode, then simply run my app over and over again, the error occurs randomly. Typically it will work 1 to 3 times in a row and then will fail 1 to 3 times in a row. The most consecutive failures I have seen so far is 3.

It might be the case that your app is not set up to build for the proper platform for simulator which are i.e. i386, x86_64.

It happened to me as I built for arm64 platform, and try to hook it up to simulator; built via xcodebuild command line. But I think you might want to try because basically Xcode use that tool to build things up for you.

So check the following in Build Setting of Xcode (along the line of text similar to this)

  • Only Build Active Arch => YES
  • Build architecture => i386 (or set to something else but not for mobile architecture)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!