Uploading .ipa file to App Store Connect is not working. Asset validation failed (90046)

Kim Strasser 1,161 Reputation points
2024-12-26T13:04:36.2466667+00:00

I have updated my Xcode version on my Mac. Then I have downloaded the Transporter app on macOS and I have copied my .ipa file from my Windows device to my Mac and drag&drop the file in Transporter. But I get this error in Transporter when I upload it to TestFlight:

Asset validation failed (90046) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'Payload/MyAppiOS.app/MyAppiOS' is not supported.

What is wrong with my .ipa file?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,766 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,596 Reputation points Microsoft Vendor
    2024-12-27T02:31:59.7933333+00:00

    Hello,

    Specifically, value 'development' for key 'aps-environment' in 'Payload/MyAppiOS.app/MyAppiOS' is not supported.

    From the error message, you are using APNs on your App. When you upload the App to App store connect, the whole configuration should be in release mode.

    Please replace the aps-environment in Entitlements.plist:

    <key>aps-environment</key>
    <string>development</string>
    
    

    to :

    <key>aps-environment</key>
    <string>production</string>
    

    After that, you could archive again with VS and get a new ipa.

    For more details, please see APS Environment Entitlement | Apple Developer Documentation

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.