iOSをアップデートしたために実機でビルドができない
iOSをアップデートしたことによって、Xcodeから実機ビルドできない時がある。
Could not locate device support files.
This iPhone 6s is running iOs 11.3 (15E5189f), which may not be supported by this version of Xcode.
iOS11.3のデバイスサポートファイルが無いよと怒られている。
「DeviceSupport iOSXXX」とかで検索するとデバイスサポートファイルをDLできるサイトとかGithubリポジトリが出て来るはずです。
今回はiPhoneOSDeviceSupportを使わせて貰いました。
不足しているデバイスサポートファイルをDLして、/Users/<YOUR_NAME>/Library/Developer/Xcode/iOS DeviceSupport/
配下に入れときます。
一度Xcodeを再起動してからビルドすると、正常にビルドが通って幸せになれます。
Author And Source
この問題について(iOSをアップデートしたために実機でビルドができない), 我々は、より多くの情報をここで見つけました https://qiita.com/yamataku29/items/6fdc9e512b42d7f66386著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .