skip to Main Content

While developing Native apps from Xcode, the screen of my app goes black and xcode stuck on Launching app and Attaching to iPhone 14 Pro [as in screenshot below]!

xcode & simulator

When my app’s screen goes black, the simulator still works normally. If I kill my app and restart it, it stuck on launch screen.

I tried before last updates to set to Rosetta Stone, but i was facing same issue. After updating xcode and macOS, I don’t event have the Rosetta option.

xcode no rosetta option

I am using:

  • Device: Macbook Pro, M1 Pro
  • xcode: 14.3 (14E222b)
  • macOS: Ventura 13.3.1
  • project is developed with Swift, uses Cocoapods

The only thing that works now, is killing the process of the simulator completely, and restarting it from xcode.

NOTE: When I develop flutter apps from Android studio on iOS Simulator, everything works just fine!!!

2

Answers


  1. If you have added Excluded Architectures - arm64 for Any iOS Simulator SDK, please remove that for all targets in your app.

    enter image description here

    Also, if you are using Pods and have implemented this code on your Podfile,

    post_install do |installer|
      installer.pods_project.build_configurations.each do |config|
        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
      end
    end
    

    please delete this from Podfile and hit pod install.

    Login or Signup to reply.
  2. i have same issue, and i will done to this.
    move all your project to local drive (i dont know but when i move to local this work). Dont put your project to icloud.

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