"Not a valid bundle" trying to install app on tvos17 using Xcode 15

I'm trying to install my IPA on my Apple TV via Xcode 15. I've done this many times before with previous versions of tvos and Xcode. However, since upgrading the ATV to tvos17, I get the error below. Any ideas how to resolve this?

Domain: com.apple.dt.DVTCoreDevice
Code: -1
User Info: {
    DVTErrorCreationDateKey = "2023-09-25 12:52:18 +0000";
}
--


System Information

macOS Version 13.5.2 (Build 22G91)
Xcode 15.0 (22265) (Build 15A240d)
Timestamp: 2023-09-25T08:52:18-04:00
Post not yet marked as solved Up vote post of eengert Down vote post of eengert
4.2k views
Add a Comment

Replies

For some reason the full error message didn't get displayed properly in my original post. Here's the error message:

Error installing '.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSURL=file:///.ipa, NSLocalizedDescription=Failed to install the app on the device., NSUnderlyingError=0x600007c12850 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at .ipa is not a valid bundle." UserInfo={NSURL=file:///.ipa, NSLocalizedFailureReason=Failed to read the bundle., NSLocalizedDescription=The item at **********.ipa is not a valid bundle.}}} Domain: com.apple.dt.DVTCoreDevice Code: -1 User Info: { DVTErrorCreationDateKey = "2023-09-25 14:12:03 +0000"; }

System Information

macOS Version 13.6 (Build 22G120) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2023-09-25T10:12:03-04:00

Also having this issue

Same...

Same issue installing .ipa on iPhone, worked previously without problems.

Same issue in installing .ipa from XCode 15 on iOS 17 upgraded devices. Other devices works with same IPA.

Same here on an iPhone and an iPad :(

I can put it on a web server and install it that way but what a pain.

i can install my app via ios-deploy tool. but it fails to load and crashes on load. I am not sure what has happened. my app was building and installing fine. I have gone back in git but i get the same error. My phone is running ios 17 and xcode 15.0

ios-deploy --bundle /Volumes/SSD2/build/expo-art/build-1696393560193.ipa

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

  1. Changing the ".ipa" file extension to ".zip"
  2. Open/unzip
  3. Install the .app file located in resulting "Payload" folder instead
  • That worked, thank you @jensand

  • @jensand how do install it ??

  • Via window -> devices & simulators.

    Click the plus sign or drag and drop the .app file

after i add 'Bundle name' in info list, it work.

  • This solved it for me 🙏🏽

  • for me too! :-)

  • how do you add a bundle name in the info list please?