Uploading an iOS App – invalid signature

We have tried uploading an iOS App multiple times.
A few minutes after the upload we receive the following error message via e-mail:

Invalid Signature - A sealed resource is missing or invalid.
The file at path [manage4ALL_Xamarin.iOS.app/manage4ALL_Xamarin.iOS] is not properly signed.
Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate.
Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level).
Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target.
If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target.
For more information, please consult https........

The Apple Support referred me to you, because we are using visual studio, a third party resource.

The situation is as follows:
I am using a Windows computer which is connected to a Mac. I am creating an Ipa with Visual Studio on the Windows computer, which is then also stored on the Mac through a link.
After creating the Ipa I start the application loader on the Mac, choose the Ipa and begin the upload. The upload is executed and at the end I get the message that the app will be checked. Shortly after that I receive the error message (as stated above).

The certificate we are using is an “iOS Distribution” and not as stated in the error message an ad hoc certificate or development certificate. I have already tried different settings in the iOS project in Visual Studio regardinig the iOS Bundle Signature.
I have tried an upload using “automatic provisioning”. But here “iPhone Developer” is selected as signature identity, which is the reason I did not expect this route to work out. The other method I tried was “manual provisioning”. I used the corresponding provisioning profile and the corresponding signature identy “iPhone Distribution”. Other settings in the properties are as follows:

iOS Build

Configuration: Release
Platform: iPhone
SDK Version: Default
Linker Behavior: Link Framework SDKs Only
Supported Architecures ARM64
HttpClient Implementation: NSUrlSession (iOS 7+)

Use the LLVM optimizing compiler: no
Use Thumb-2 instruction set for ARMv7 and ARMv7s: true
Perform all 32-bit float operations as 64-bit float: no
Strip native debugging symbols: yes
Enable incremental builds: no
Use the concurrent garbage collector (Experimental): no
Enable device-specific builds: no
Additional mtouch arguments: empty
Optimize PNG images: yes
Internationalization: none selected

iOS IPA Options

Build iTunes Package Archive (IPA): true
iTunes Metadata: empty
Package name: the same name as appstoreconnect under app information -> name
Include iTunesArtwork images and the iTunesMetadata.plist: no

In case you need any additional information, please do not hesitate to contact me. Thank you very much in advance for your help.

Best regards

Tagged:

Answers

  • MdNaushadMdNaushad INMember ✭✭✭

    Can you please walk me through the steps that you performed?
    I use windows computer too. But I archive it from the Mac and then distribute it through the mac.

  • AndreasDAndreasD Member

    @MdNaushad said:
    Can you please walk me through the steps that you performed?
    I use windows computer too. But I archive it from the Mac and then distribute it through the mac.

    Windows:

    Configuration -> Release
    Platform -> iPhone

    Rightclick on the Project -> Build
    Rightclick on the Project -> Show IPA File on Build Server

    Mac:
    Open Application Loader
    Select the created IPA
    Then i click next until the process is done.
    A few minutes later i receive the error message.

  • LandLuLandLu Member, Xamarin Team Xamurai

    Have you created an app store provisioning profile for your project on Apple developer portal?
    And have you correctly configured that provisioning profile when you generated the ipa file?
    Please refer to this documentation for detailed steps:
    https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store?tabs=windows

  • AndreasDAndreasD Member

    @LandLu said:
    Have you created an app store provisioning profile for your project on Apple developer portal?
    And have you correctly configured that provisioning profile when you generated the ipa file?

    yes

Sign In or Register to comment.