Xcode Organizer: can not use iPhone (dyld_shared_cache_extract_dylibs failed)

后端 未结 13 826
抹茶落季
抹茶落季 2020-12-01 12:06

When plugging my iPhone in and starting the Xcode organizer, a yellow circle next to the device show me that \"This device is busy or otherwise unusable by Xcode.\" The Orga

相关标签:
13条回答
  • 2020-12-01 12:59

    For me the approach that worked was the one mentioned here which is:

    1. Open Finder and go to ~/Library/Developer/Xcode/iOS DeviceSupport/
    2. Remove the folder that matches your device and reconnect your phone
    0 讨论(0)
  • 2020-12-01 13:03

    This happened to me when disk space was very low on the mac

    0 讨论(0)
  • 2020-12-01 13:04

    For Xcode 10.1, iOS 13.3 Below helped me.

    Copied from https://forums.developer.apple.com/thread/108917

    1. go to ~/Library/Developer/Xcode/iOS DeviceSupport/13.2/Symbols/System/Library/Caches/com.apple.dyld

    2. create empty file if it is not there - .processed_dyld_shared_cache_arm64e

    3. restart xcode and enjoy!

    0 讨论(0)
  • 2020-12-01 13:05

    If you have same issue in Xcode 10 (this worked for me using 10 beta 5 and iOS 12 beta 5) the steps are the same except it was necessary to restart the computer (restarting the iOS device, quitting and relaunching Xcode did not work).

    1) Quit Xcode

    2) Delete folder located at: ~/Library/Developer/Xcode/iOS DeviceSupport/ iOS version on target device

    3) Restart Computer

    You will need to either navigate to the user Library via Terminal or show hidden files in finder.

    Toggle hidden files with: command + shift + .(dot)

    0 讨论(0)
  • 2020-12-01 13:05

    This happened to me after updating to iOS 12.0.1. I deleted the ~/Library/Developer/Xcode/iOS DeviceSupport/ 12.0.1 version folder but that didn't work. After restarting my iPhone it worked. I noticed that Xcode prepared my phone for debugging again, so it must have messed up the first time around.

    0 讨论(0)
  • 2020-12-01 13:07

    Target path to directory has been changed since Xcode 3.

    If you have same issue in Xcode 8 then follow next steps:

    1. Delete a directory in ~/Library/Developer/Xcode/iOS DeviceSupport/
      that matches the version of the iOS on your device.
    2. Restart Xcode.

    Source: Apple Developer Forum

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