Forum Xamarin Xamarin.iOS

Invalid Signature error when uploading to AppStore

NPANPA MUUniversity

We are actually trying to upload our Xamarin application to AppStore and we are getting the following error message:

Invalid Signature - Code object is not signed at all. 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 Once these issues have been corrected, you can then redeliver the corrected binary

It seems the problem is linked to an external library we are using, that we can not sign.
We have followed the steps in Xamarin documentation to build the ipa and sign the application but we still get the above error.
Is there something specific we need to do in Xamarin Studio to sign an external library before we upload it to AppStore?
If yes can someone guide us through these steps because we can't find anything on this?

Best Answer


  • NPANPA MUUniversity
    edited November 2018

    Yes, we found the solution to the problem. We were using a third party component which contained shell scripts (.sh files). They are not required and Xcode ignores these on signing. However it seems Xamarin wasn't and failed when trying to sign these scripts. So we, remove the scripts from the third party component, built it and added it back in the project. This did the trick and we were able to build the project. Hope this helps!

Sign In or Register to comment.