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

前端 未结 8 1962
青春惊慌失措
青春惊慌失措 2021-02-07 14:23

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 laun

相关标签:
8条回答
  • 2021-02-07 14:50

    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.

    0 讨论(0)
  • 2021-02-07 14:52

    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.

    0 讨论(0)
  • 2021-02-07 14:52

    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)
    0 讨论(0)
  • 2021-02-07 14:55

    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.

    0 讨论(0)
  • 2021-02-07 15:01

    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.

    0 讨论(0)
  • 2021-02-07 15:04

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

    0 讨论(0)
提交回复
热议问题