How to use iOS 13.2.3 with Xcode 10.3 (dyld_shared_cache_extract_dylibs failed)

风格不统一 提交于 2020-12-05 17:20:36

问题


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 ?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/58971725/how-to-use-ios-13-2-3-with-xcode-10-3-dyld-shared-cache-extract-dylibs-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!