skip to Main Content

I have update my xcode to 14.1 and macOS to Ventura 13.0.1.
When I run my app from xcode on a simulator iPhoneSE 3rd generation (iOS 16) it works fine a few times. After that xcode is unable to launch app on simulator.

The number of time I try to run it keep adding Launching [App Name] to processBuild screenshot .

If I restart simulator it start working again but same thing happens after few runs.I also created new simulator and same thing happens to it as well.

Note: I’m facing same issue for different projects so I think it’s not related to my project.

5

Answers


  1. I was facing this issue on an M2 Macbook Air, every build would open the simulator the first time, but on a second run it would hang on a black screen during "Launching app." It turns out the "fix" was to disable "Open using Rosetta" (Applications > Xcode > Right click > Get Info) which I had turned on because of a third party dependency in a work project that didn’t create a proper universal binary, which broke using the simulator on M1.

    I think people updating to the new version are installing separately, which has the same effect of disabling the rosetta setting if they were using it already.

    Login or Signup to reply.
  2. I was facing this issue by way of temporary solution likes

    1. a scheme’s "Build Pre-actions"
    2. killall "Simulator" || true
    Login or Signup to reply.
  3. Open Activity Monitor, then search launch_sim, kill this process, then I can rerun the sim

    enter image description here

    Login or Signup to reply.
  4. This issue is fixed in Xcode Version 14.3

    Login or Signup to reply.
  5. It’s already mention in apple release document –

    ***Simulator
    Known Issues
    Repeated Build & Run targeting iOS 16.1 and later simulator runtimes may sometimes result in a hung launch. (101990080)

    Workaround: Reboot the simulator device and reattempt the launch.***

    I haven’t found any solution so far for time being I am using this solution –

    I am removing my app from the memory of simulator that is by pressing home button two time and remove the app by dragging to up. So it will properly detached the simulator to xcode and now u can run your app again without quitting the simulator.

    Hope it’s help!!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search