If you’ve got your hands on the iPhone 15 lineup today, then the first thing that you should do is update the iPhone to iOS 17.0.2. The pre-installed build of iOS 17 on iPhone 15 is flawed with a bug that “may prevent transferring data directly from another iPhone during setup,” which is now addressed in iOS 17.0.2.
The software update prompt should appear during the iPhone setup process. If it doesn’t, then you can set up your device as a new iPhone, and then update it via Settings > General > Software Update. After updating to iOS 17.0.2, you can head to Settings > General > Transfer or Reset iPhone, and select “Erase All Content and Settings” to factory reset your iPhone, followed by the data transfer process.
In addition to the iPhone 15 setup bug fix, the software update brings usual bug fixes and improvements. Apple also issued iOS 17.0.1 and iPadOS 17.0.1 for most compatible devices on Thursday, as iOS 17.0.2 is available only for iPhone 15 models.
Apple has shared a support document that guides you through steps to recover if you have attempted data transfer on your iPhone, and got stuck on the Apple logo.