iOS simulator crash in iOS 8.2 and Xcode 6.2 with

2020-06-01 08:05发布

iOS simulator crash in iOS 8.2 and Xcode 6.2 with an error below

"Failed to lookup the process ID of xxx.xxx.xxx after successful launch. Perhaps it crashed after launch. No such process".

And I cannot try to simulate my app.

I uploaded the image of error.

http://imgur.com/2ayGys3

It works normally when i use iOS 8.1 as a simulator. Regardless of the types of devices and types of projects, it will crash in iOS 8.2 simulator.

The iOS simulator itself stands but has nothing on the screen.

A thing I care is that I changed my old macbook to new one and copy project files of Xcode from old to new.

Do you have any idea of this?..

8条回答
\"骚年 ilove
2楼-- · 2020-06-01 08:55

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.

查看更多
虎瘦雄心在
3楼-- · 2020-06-01 08:55

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)
查看更多
登录 后发表回答