mauipublish

How to resolve IPA Invalid issue


I have a .NET Maui app that I have published in the past and need to update it. I am using MacOS Sequoia 15.2 and Xcode 16.2. When I attempt to publish the app through Transporter I get the following error:

Asset validation failed (90072) The IPA is invalid. It does not include a Payload directory. (ID: bc8630a2-955b-4f73-93ce-8c5df4fcc96c)

I have looked for possible solutions but the only issues I have found date back to 2014 and are not viable solutions. Looking for any recent issues / resolutions.


Solution

  • Here are some steps to resolve this issue:

    1. Check the IPA Structure: Ensure that your IPA file contains a Payload directory at the root level. The structure should look like this:

      /Payload/
          /YourApp.app/
      
    2. Verify Info.plist Entries: Make sure that your Info.plist file includes the following keys:

      • LSRequiresIPhoneOS set to YES
      • CFBundleInfoDictionaryVersion set to 6.0

      These entries are crucial for the IPA to be recognized correctly.

    3. Rebuild the IPA: Sometimes, rebuilding the IPA can resolve the issue. Ensure that you are using the correct build settings and that the build process completes without errors.

    4. Check for Additional Directories: Ensure that there are no additional directories like Applications or Symbols at the root level of the IPA. Only the Payload directory should be present.

    5. Use Xcode for Packaging: If you are not already doing so, use Xcode to package your IPA. This can help ensure that the IPA is structured correctly.