NavinBagul
NavinBagul

Reputation: 741

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.

Upvotes: 6

Views: 3727

Answers (3)

jcamacho
jcamacho

Reputation: 938

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.

Upvotes: 2

Dror Bar
Dror Bar

Reputation: 718

Tried all of the above solutions with no success.

Finally, simply unpairing the device and pairing it again fixed the issue for me.

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

Upvotes: 1

Bryan Huang
Bryan Huang

Reputation: 5342

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

Upvotes: 6

Related Questions