Asset Validation Failed (90034) Missing or Invalid signature

William Buchanan 61 Reputation points
2022-12-21T04:23:59.29+00:00

Hi all

I am trying to upload my Maui app to the Apple App Store from Azure Devops and running into a multitude of problems.

Currently I am getting this error:

Asset Validation Failed (90034) Missing or Invalid signature

I have create what I believe is all the required certs and provisioning profile so not really sure what I am missing. Here is what I have in my csproj file:

<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
<!--<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>-->
<CodesignEntitlement>Entitlements.plist</CodesignEntitlement>
<CodesignKey>Apple Distribution: XXX PTY LTD (XXXXXAAU)</CodesignKey>
<CodesignProvision>XXXProvisioningProfile</CodesignProvision>
</PropertyGroup>

I have the p12 file and the provisioning profile file in the Devops library, and bring them in to the build like this:

task: InstallAppleCertificate@2
displayName: 'Install Apple Certificate'
inputs:
certSecureFile: '$(appStoreCert)'
certPwd: '$(CERTIFICATEPW)'
keychain: 'temp'

task: InstallAppleProvisioningProfile@1
displayName: 'Install Apple Provisioning Profile'
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: '$(provFile)'

It just fails in Devops with no error messages, but on my mac I am using altool to verify the ipa file and it shows the error above as being the problem. Any thoughts?

Thanks

Developer technologies | .NET | .NET MAUI
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2022-12-23T07:48:32.55+00:00

    Hello,

    As you said, you can use VS for Mac to make the ipa. For more detais, refer to the official doc- Publish a .NET MAUI app for iOS - .NET MAUI | Microsoft Learn

    So I guess the problem is that Azure Pipeline isn't signing the IPA when it builds it

    Azure Devops is not supported on Q&A. For Azure Devops issue, it's recommended that you post at https://developercommunity.visualstudio.com/search?space=21.

    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

0 additional answers

Sort by: Most helpful

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.