Reputation: 51
I am trying to run my app on iPhone XS Max running iOS 12.1.2, but till the end of the build and it returns "dyld_shared_cache_extract_dylibs failed" , i removed the supported files for it and rerun my app and it gives the same error , any suggestions i'm stuck ?????
Upvotes: 4
Views: 5383
Reputation: 11
try Run it in latest Xcode version then try again in the version you want and try to reboot the mobile device and unpair it and connect it again thats worked for me
BTW thanks @unstablerealtiy
Upvotes: 0
Reputation: 11
i tried everything and my solution was go to app store and download again xcode, he is going to updated by self
Upvotes: 0
Reputation: 33
I recently solved this issue by installing Xcode 11.2 and 10.1 alongside each other, and using Xcode 11.2 to build the debugger files. It seems 10.1 can't handle newer versions of iOS and builds the debugger support files incorrectly.
Delete everything under ~/Library/Developer/Xcode/iOS DeviceSupport/
related to the version of iOS giving you trouble. This is where Xcode saves the debugger support files. Then launch Xcode 11.2 with the phone connected and allow it to build the debugger support. After it has finished, close it and open Xcode 10.1 and it should work.
Upvotes: 0
Reputation: 1485
I have both Xcode10.3 and Xcode11.2.1 installed on same machine. Whatever solution I try, it doesn't work with Xcode10.3 and iPhone11. It works like a charm on the latest Xcode though. I think the solution is to switch to the latest Xcode version.
Upvotes: 0
Reputation: 1589
There is a (temporary) solution I've been using...
For me I still have to do this steps every time I connect the device...
Upvotes: 5