Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dyld_shared_cache_extract_dylibs failed for 6s plus running on iOS 13.1.3

I am trying to run AR Project in device it gives me an dyld_shared_cache_extract_dylibs failed error. My system OS is Mojave 10.14. I tried this and this answer. But still having the same issue, Not able to run my application. Thanks in Advance.

like image 396
NavinBagul Avatar asked Oct 24 '19 10:10

NavinBagul


2 Answers

This is happening because somehow older versions of Xcode have an issue creating these cache files properly - try below:

  • Close Xcode
  • Install the device support profile that matches your iOS version from here
  • Go to: ~/Library/Developer/Xcode/iOS DeviceSupport/<your device's OS version name>/Symbols/System/Library/Caches/com.apple.dyld/

    Note: if you don't have this folder, run Xcode, connect your device and try to pair with it - the folder should be created by then ...

  • Create these three empty files - overwrite existing ones if any:

 .copied_dyld_shared_extract_dylibs
 .processed_dyld_shared_extract_dylibs
  dyld_shared_cache_extract_dylibs
  • Start Xcode again
like image 172
Bryan Huang Avatar answered Oct 22 '22 09:10

Bryan Huang


In my case, the issue I has in xCode 10.1.

In order to solve this issue the three files that you must be in ~/Library/Developer/Xcode/iOS\ DeviceSupport/<your device's OS version name>/Symbols/System/Library/Caches/com.apple.dyld/ are:

  • dyld_shared_cache_arm64e
  • .copied_dyld_shared_cache_arm64e
  • .processed_dyld_shared_cache_arm64e

I didn't create empty files, I copied and pasted this three files from previous OS version folder in /Caches/com.apple.dyld/. If you just upgrade to 13.4.1 iOs versión, I copy from ~/Library/Developer/Xcode/iOS DeviceSupport/13.4.1 (17E262)/Symbols/System/Library/Caches/com.apple.dyld/ folder.

like image 2
jcamacho Avatar answered Oct 22 '22 09:10

jcamacho