背景:一直使用15.2一年多了,最近提示必須升級到支持iOS18,升級后發(fā)現(xiàn)我的手機(jī)無法聯(lián)調(diào)。
報(bào)錯(cuò):
Could not locate device support files You may beable to resolve the issue by installing the latestversion of Xcode from the Mac App Store ordeveloper.apple.com.
網(wǎng)上搜索了一下比較簡單的方法
bash <(curl -s https://raw.githubusercontent.com/filsv/iOSDeviceSupport/master/scripts/install_device_support.sh)
Enter the iOS version (e.g., 16.6)
輸入以上腳本地址,輸入手機(jī)對應(yīng)的系統(tǒng)版本,再輸入密碼,等待安裝,重啟xcode,再連上手機(jī)就正常了。