Error in installing enterprise build from XCode15 beta to iOS 17 beta OS device

After updating the os to iOS17 beta, not able to install the enterprise app through ipa, it throws error

Error installing '//Downloads/-Internal-Appstore-23.6.5-1.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSUnderlyingError=0x600019bcc750 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at -Internal-Appstore-23.6.5-1.ipa is not a valid bundle." UserInfo={NSURL=file:////Downloads/-Internal-Appstore-23.6.5-1.ipa, NSLocalizedDescription=The item at -Internal-Appstore-23.6.5-1.ipa is not a valid bundle., NSLocalizedFailureReason=Failed to read the bundle.}}, NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Downloads/-Internal-Appstore-23.6.5-1.ipa}

Kindly update on this. Do any code side changes have to be done for this to fix these issue?

Thank you @BioDranik, your solution worked perfectly for me. There's always something with each release, but I'm glad someone figured out a workaround! I was starting to think there were more underlying adhoc build issues with Xcode 15!

An update on this. I think this is still a little buggy. Sometimes clearing trusted computers works, sometimes it does not. What I've resorted to doing, is downloading and using Xcode 14 to install builds, and that installs builds successfully even builds created by Xcode 15.

  • Clearing trusted computers not working for me.
  • Previously I posted this same issue here https://developer.apple.com/forums/thread/737286 (was unaware of this thread)
  • From debugging the issue, found that its an issue of memory leak for CoreDeviceService Sandbox (Process that manages device communication)(loglines in above attached post)
  • This same issue is also faced when executing xcuitest with test-without-building flag (Xcode tries to install test app before test execution).
  • Killing CoreDeviceService process or rebooting the host machine instantly resolves the issue but on a downside.
    • All the connection to the device breaks and hence all running xcuitests also breaks.
    • Issue reappears after few xcuitest execution.

I was running into the same issue with several Xcode projects. Luckily, clean new projects would install on my devices just fine, and I could compare the two configurations. I tried adjusting various aspects of the project and targets, e.g. Project Format, Localisation, Identity.

The change that fixed it in the end was to specify "Bundle name" in the Info.plist:

<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>

No, BioDranik's approach did not help me. I've resorted to installing my test versions with Apple Configurator.

I'm having the same problem. Works perfect on on everything expect iOS 17. It's always something with Apple and these releases. BioDranik's approach din't work for me either. Any suggestions ???

Same issue with an ad-hoc build. Resetting trusted computers did not work, installing through Apple Configurator did, though. Will resort to Apple Configurator until this is solved. Haven't tested installing through Xcode 14.

Same result on my end. None of the solutions worked for me. I have filed a ticket through Apple's Feedback assistant with detailed description of the problem. I have also added the link to this thread.

Change the ipa extension to .zip after unpacking the zip a folder with the name payload is created and inside is a file, that file is the one that iOS 17 let me install with xcode 15 from the option devices and emulators of xcode

The solution

A workaround for installing .ipa files on iOS devices is:

Changing the ".ipa" file extension to ".zip" Open/unzip Install the .app file located in resulting "Payload" folder instead

Then go to xCode an install the app.

Someone posted https://www.reddit.com/r/iOSProgramming/comments/16m9ho2/cant_install_ipa_files_on_device_after_updating/ this workaround, it worked on my iPhone 17.0.3.

I was having this same problem and I fixed.

My project is localized to different languages. In my infoPlist.strings files for each language I had CFBundleShortVersionString localized.

This was causing problems when uploading a new build to my device & simulator.

I removed this and moved it to the main info.plist.

<key>CFBundleShortVersionString</key><string>$(MARKETING_VERSION)</string>

This shouldn't be localized.

This worked for me. Hope this helps :)

Just use 'Apple Configurator' instead of Xcode to install on your device and it's working.... until Apple fix this and so many other bugs...

The same issue: xCode 15.0.1 (15A507) + iOS 17.1

When I upgrade my iPhone to version 17 ,I also have this issue。There are two solutions to solve this problem:

1:Distribute this application through H5. 2:Using Apple Configurator to install this *.ipa.

But,my enterprise account is not being renewed.

Error in installing enterprise build from XCode15 beta to iOS 17 beta OS device
 
 
Q