After updating to iOS 14 I was nervous about the compatibility with Xcode. However, after I set the iOS Deployment Target to the correct version everything ran as intended.
My iPhone auto updated again to iOS 14.1 and my app is not able to be deployed for some reason, even when I update the Deploy Target version to 14.1.
Are there any suggestions on what I should do to get my app running again on my device?
2
Answers
At times, especially after an OS update, Xcode will need to process the debug symbols on your device. Until this process completes, the device will show as unavailable. You can view the status of this in the top center panel:
Alternatively double check that your device’s development functions have not been disabled during the update. If you aren’t able to see activity in the top panel, select [Window] and [Devices and Simulators] and make sure Show as a run destination is checked. You can also get more information from the device logs:
If the problem persists, try toggling the device pairing by right-clicking (or ctrl click) on your connected device in the devices panel as shown below. This will allow you to redo the trust settings. You will be prompted on the device as the whether you trust the computer you’re connecting to. You may need to disconnect and reconnect your cable after doing so.
As a last resort it can’t hurt to check the port for lint bunnies.
Make sure your Xcode is up to date. As ninehundreds mentioned, after an iOS update some things don’t work right away. Usually, soon after an iOS release, Xcode will also need to be updated to work with the version of iOS your phone is running.
You can check for these errors by going to Window > Devices and Simulators > Devices > Your iPhone and then seeing if there are any errors. An example of which is included below.