dyld_shared_cache_extract_dylibs failed for iPhone XS Max running ios 12.1.2

这一生的挚爱 提交于 2019-12-12 14:51:50

问题


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 ?????


回答1:


There is a (temporary) solution I've been using...

  1. Open Devices and Simulators
  2. Remove your device from the list
  3. Tap the + button on the bottom left of the window
  4. Select the device (before tapping Trust on it)
  5. Tap Trust on the device
  6. Profit

For me I still have to do this steps every time I connect the device...




回答2:


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.




回答3:


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.



来源:https://stackoverflow.com/questions/54107715/dyld-shared-cache-extract-dylibs-failed-for-iphone-xs-max-running-ios-12-1-2

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