Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Device Issue - Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode

Tags:

xcode

iphone

Error and warnigs in devices and simulators Issue :

Details

Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode. Domain: com.apple.platform.iphoneos Code: 5 Failure Reason: allowsSecureServices: 1. isConnected: 0. Platform: <DVTPlatform:0x7fecb76471f0:'com.apple.platform.iphoneos':<DVTFilePath:0x7fecb7647170:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>. DTDKDeviceIdentifierIsIDID: 0 User Info: {     DVTDeviceDescription = "\Ud83d\Udcf1<DVTiOSDevice (0x7fecb9844570), TakHyun\Uc758 iPhone, iPhone, 13.4.1 (17E262), 8d695f88c5c910974df39462a1815a52376a0fa9>"; } 

screenshot of error message

TRY:

  1. Restart macbook and iphone
  2. Trust in Trust This Computer notification

Xcode Version 11.4.1 (11E503a) IPhone X ios 13.4.1

like image 453
Jeff Avatar asked Apr 30 '20 11:04

Jeff


2 Answers

I finally figure it out

  1. Connect the iphone(cable not wifi)
  2. Unpair device and quit the xcode
  3. Reconnect the iphone and Trust this computer accept Done. If you cant fix it, go to apple dev site reedit the device and do it again 1~3

check this photos enter image description here

enter image description here

like image 66
Jeff Avatar answered Oct 24 '22 20:10

Jeff


I started getting the OP's error after updating my iPhone to iOS 13.5.1. Here is what worked for me to resolve the issue:

  1. Unpair the iPhone (as per answer from @Jeff above).
  2. Upgrade Xcode to latest, in my case 11.5 (which I believe is the first version of Xcode to support building to iOS 13.5.
  3. NEW: I launched Xcode after updating to 13.5 which prompted me to "Install additional required components" which I did. Xcode extra step after updating
  4. Reconnect/pair iPhone in Xcode's Devices window and Trust the computer.
  5. NEW: After pairing the iPhone make sure you check the "Connect via Network" checkbox for the newly paired iPhone. By default Connect via Network is unchecked. Important step after re-pairing device

The "NEW" steps are not steps I've seen in previous answers, so I posted this answer.

like image 21
Richard Avatar answered Oct 24 '22 21:10

Richard