Xcode Organizer: can not use iPhone (dyld_shared_cache_extract_dylibs failed)

后端 未结 13 824
抹茶落季
抹茶落季 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:46

    Move your project to an external hard drive and compiled again This happens when you do not have much space on your machine

    0 讨论(0)
  • 2020-12-01 12:47

    After all this time I wanna contribute with one more possible solution for this problem...

    1. Open Devices and Simulators
    2. Right click on your device and select Unpair Device
    3. Wait until your device ask for trust - this is important.. I noted that if I don´t wait this step the error persists
    4. Click on the plus button down... (+).
    5. When the next window open, if your iPhone still not appears wait a lit bit.. will appear
    6. When your device appear, select it.

    One more thing: I changed the version inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport from 10.3 to 10.3.3 - that is "exactly" version on my device, so, observe this too.

    Believe in me guys... I bought 2 cables, investigate all links in google, bing, yahoo, books, forums... everything and nothing solves... until this.

    0 讨论(0)
  • 2020-12-01 12:48

    For what it's worth: I encountered this problem when I was out of disk space. It seems that XCode was the first application to 'notice' by throwing this error. After freeing up some disk space everything worked fine again.

    0 讨论(0)
  • 2020-12-01 12:54

    I had solved my problem through this:-

    https://www.youtube.com/watch?v=m3jST08imY0

    to sum up , you could:

    1. Go to window-devices and simulators
    2. Select the unrunable device and right click, then choose unpair
    3. now this is the crucial part, your device will ask for trust automatically, dont click trust
    4. Focus back to the device panel, left click the + and add the device, click next, it will ask you to tap the "trust" IN THE PANEL
    5. Now you can tap the "trust" in your phone, the panel will say phone added successfully
    6. run the app again, problem should be solved.

    Ref: Link: https://forums.developer.apple.com/thread/108917

    0 讨论(0)
  • 2020-12-01 12:56

    With the help of somebody at the Apple Developer Forums I was able to fix the problem by removing the "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)" folder. Xcode then re-added the symbols automatically and the error disappeared. For more information see this thread.

    0 讨论(0)
  • 2020-12-01 12:58

    for xCode 10.1 on High Sierra, you need to create an empty file named :

    .processed_dyld_shared_cache_arm64e
    

    and paste it to:

     /Users/{you}/Library/Developer/Xcode/iOS DeviceSupport/{your device version} arm64e/Symbols/System/Library/Caches/com.apple.dyld
    

    make sure that the folder is empty. for me it took couple of time trying and waiting and removing device to get it to work.

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