How to solve dyld_shared_cache_extract_dylib failed in XCode

Ahmad4MayLod AR · 8K views · 2018 · 4:22

Open on YouTube

Testing, debugging & developer toolsSoftware (other)tutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as a visual walkthrough of the unpair, re-add and trust sequence that clears the dyld_shared_cache_extract_dylibs error.

Recommended by 2 people across 2 different months, 2019 to 2020.

What it is

A short screen-recorded tutorial from an Ahmad4MayLod AR video showing how to fix the Xcode error 'dyld_shared_cache_extract_dylibs failed' when running an app on an iPhone. It walks through unpairing and re-adding the device in Xcode's Devices and Simulators window.

What people said

Recommends Nishant Sharma · 2019-10 · Stack Overflow · on “Xcode Organizer: can not use iPhone (dyld_shared_cache_extract_dylibs failed)”

I had solved my problem through this:- [this video] to sum up , you could: Go to window-devices and simulators Select the unrunable device and right click, then choose unpair now this is the crucial part, your device will ask for trust automatically, dont click trust 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 Now you can tap the "trust" in your phone, the panel will say phone added successfully run the app again, problem should be solved. Ref: Link: [LINK]

Recommends Sagar Sukode · 2019-12 · Stack Overflow · on “dyld_shared_cache_extract_dylibs failed while trying to run app on iPhone”

This error occurred when I have upgraded & added new Xcode 11.2.1 from old Xcode 10.2.1. Steps to follow (Video URL: [this video] ): Open Devices and Simulators Remove your device from the list Tap the + button on the bottom left of the window Select the device (before tapping Trust on it) Tap Trust on the device After this if you get same error then do following: I have just copied additional iOS DeviceSupport from Xcode 11.2.1 and added to Xcode 10.2.1 and error gets solve for me. (Note: While doing this please quite Xcode and then try to run) Path: ⁨MacOS⁩ ▸ ⁨Applications⁩ ▸ ⁨Xcode 10.2.1.app⁩ ▸ ⁨Contents⁩ ▸ ⁨Developer⁩ ▸ ⁨Platforms⁩ ▸ ⁨iPhoneOS.platform⁩ ▸ ⁨DeviceSupport⁩

Cites Dror Bar · 2020-03 · Stack Overflow · on “dyld_shared_cache_extract_dylibs failed for 6s plus running on iOS 13.1.3”

Tried all of the above solutions with no success. Finally, simply unpairing the device and pairing it again fixed the issue for me. see: [this video]