Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

debugserver is x86_64 binary running in translation, attached failed. Could not attach to pid :

Tags:

xcode

ios

swift

arm

I just shifted my Xcode project from my Intel Mac to Apple M1 Chip. The code is compiled successfully on M1 Chip but once I tried to run it on simulator it shows the following error.

debugserver is x86_64 binary running in translation, attached failed.

Xcode simulator Error

I have checked the "Open using Rosettea" option for Xcode but it still not running M1 machine.

like image 737
Qazi Ammar Avatar asked Dec 05 '25 06:12

Qazi Ammar


1 Answers

I had a problem running watchOS simulator.

Solution that worked for me:

  • Quit Xcode
  • Right click on Xcode, press "Get Info"
  • Make sure that "Open using Rosetta" is not selected(see image)
  • Delete derived data(don't know if this is required)
  • Reopen Xcode and run your app

img1

like image 63
stackich Avatar answered Dec 07 '25 20:12

stackich



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!