問題:Could not locate device support files. This iPhone 6s is running iOS 12.1 (16B5059d), which may not be supported by this version of Xcode.
目的:為了低版本的Xcode可以run 高版本的設備需要高版本的設備支持文件
資源:iOS-DeviceSupport Files 下載地址: https://github.com/iGhibli/iOS-DeviceSupport
方式:下載后拷貝到 文件路徑:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 即可
需求:如果在更新了Xcode之后,需要下載原來的老版本的Xcode那么可以點擊下方鏈接下載。
(比如說Xcode10中廢棄了libstdc++.tbd,如果需要libstdc++.tbd,可以考慮下載舊版本的Xcode后,到相應的路徑下找到廢棄的庫)
libstdc++.tbd路徑:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib