I upgraded Xcode to 16, my Mac to Sequoia and my iphone and iPad to IOS 18.
My developer devices are my iPhone, my iPad, my Husband's iPad and iPhone, all running IOS 18. Before upgrading Xcode to 16 I could compile onto all of these devices with no difficulty.
But now, Xcode 16 recognises and compiles to all of my developer devices except my iPhone.
My Mac recognises my iPhone when I plug it into a USB-C port, but Xcode does not. Xcode does not even try to pair with it or let me try to add it as a device.
I have tried switching off dev mode on the phone, switching it back on again, plugging and replugging, rebooting Xcode. But Xcode will not recognise my iPhone, which is a 13 mini.
Any idea what to do?
I plugged my iPhone into a usb port using a vanilla Apple lightning cable and typed this into Terminal:
xcrun devicectl list devices then lists the following. And for info, MCW's iPad and MCW's iPhone are in Shanghai at the moment, I am in the UK.
Devices: Name Hostname Identifier State Model
EasterdownDev1 00008020-00094D403C41402E.coredevice.local DE6CB0B3-399A-4B54-9ADD-E8758D8D4837 available (paired) iPad mini (5th generation) (iPad11,1)
MCW's iPad 00008030-001E18E90AF0C02E.coredevice.local 3AE52B50-D69F-4827-82DA-E6968B0D5A5F unavailable iPad (9th generation) (iPad12,1)
MCW's iPhone 00008101-001868D20222001E.coredevice.local 13AABF38-441B-4C4D-9FE8-440D3D9472CC unavailable iPhone 12 mini (iPhone13,1)
Can you upgrade to Xcode 16.1, macOS 15.1, and iOS 18.1 and see if that makes a difference? I work with the engineering teams responsible for the device connection components, and the software continues to evolve, including in these point versions, as well as the current betas (Xcode 16.2, iOS 18.2, and so on), so its possible that moving up to the latest point release (or even to the beta versions) will help.
Upgrading to Xcode 16.1, macOS 15.1 and IOS 18.1 has sorted out this problem.
Thank you so much.
And for info - I could not get CoreDevice logging to switch on on my iPhone. It definitely installed. Maybe Apple needs to look at this?
And thanks again to Apple for fixing this behind the scenes.