When I use Xcode 15 (15A240d) to install the ipa generated by Ad Hoc to iPhone13 ios17.0.1 The following error will be displayed
Error installing '/Users/user/Desktop/test 2023-09-22 10-38-29/test.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Users/user/Desktop/test%202023-09-22%2010-38-29/test.ipa, NSUnderlyingError=0x600002344900 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at test.ipa is not a valid bundle." UserInfo={NSURL=file:///Users/user/Desktop/test%202023-09-22%2010-38-29/test.ipa, NSLocalizedDescription=The item at test.ipa is not a valid bundle., NSLocalizedFailureReason=Failed to read the bundle.}}}
But I don’t have this problem when I use other installation methods or other ios16 versions of mobile phones.