4

There is many answer about dyld_shared_cache_extract_dylibs failure. Notably this link and this other one and this github issue.

None of this worked for me. I have the last iOS DeviceSupport installed, and I tried to remove the dyld_shared_cache_arm64e files, add empty dyld_shared_cache_armv6 or dyld_shared_cache_arm64e files without success. Is it a way to use my phone without downgrading to iOS 13.1.2 ?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Jeremy Cochoy
  • 2,480
  • 2
  • 24
  • 39

2 Answers2

9

I have Xcode 10.2.1 and iPhone 11 (iOS 13.3).

For iOS 13.3 Above solution not work because for iOS 13.3 not generate file like

"dyld_shared_cache_arm64"

It will generate file name like "dyld_shared_cache_arm64e" so copy this file from any iOS less then 13.3

I have copy "dyld_shared_cache_arm64" this file from "13.2 (17B84)" and past that file in "13.3 (17C54) arm64e" and rename this "dyld_shared_cache_arm64" to "dyld_shared_cache_arm64e"

and it successfully worked for me.

enter image description here

enter image description here

enter image description here

bhavik
  • 1,673
  • 2
  • 14
  • 20
1

By desperation I tried to replace my iOS DeviceSupport/13.2.3 (17B111) arm64e/Symbols/System/Library/Caches/com.apple.dyld files by the ones from 13.1.2 (17A861).

It was a huge success. Everything works again.


The command line I used to replace this files is:

cp "/Users/username/Library/Developer/Xcode/iOS\ DeviceSupport/13.1.2 (17A861) arm64e/Symbols/System/Library/Caches/com.apple.dyld/dyld_shared_cache_arm64e" "/Users/username/Library/Developer/Xcode/iOS DeviceSupport/13.2.3 (17B111) arm64e/Symbols/System/Library/Caches/com.apple.dyld/"

You have to replace username by your username, and look for your last available dyld_shared_cache_arm64e file.

I suspect this fix could works for any version of XCode.

Jeremy Cochoy
  • 2,480
  • 2
  • 24
  • 39
  • Instead of replacing you better create a symbolic link to these support files under existing Xcode.app package – The Dreams Wind Nov 21 '19 at 11:37
  • Could you tell me which files you are talking about? I actually don't know how this files are generated by XCode when you plug your phone. If they are distributed as part as developper tools, that would allow me to improve this answer :) And by the way, since XCode create and write this file when you plug your phone, I prefer not to link it to any existent file. Just to be sure the original don't get modified. – Jeremy Cochoy Nov 21 '19 at 17:37