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.