The Problem:
I have created a .net 7 Maui app that downloads to device via Microsoft Intune or directly from plugging it into the Apple Mac machine, when the device is clicked on instead of opening this error message appears ‘The app cannot be installed because its integrity could not be verified’ with no further context.
Steps Taken:
I have created a .net 7 Maui Application that I wish to distribute through Microsoft Intune to iOS devices.
When preparing the application for distribution to iOS devices I followed Microsoft’s documentation that says to create an Apple Developer account with Apple and then create the appropriate Certificates, Identifiers and Profiles for App Store Distribution on an Apple Mac.
When prompted I provide a certificate authority created by my local mac machine. Once all the certificates, profiles and identities have been properly created I download them into the keychain on the Apple Mac.
Next, I go to my .net 7 Maui Visual Studio 2022 project and pair to the Apple Mac before downloading the provisioning profiles in Visual Studio.
I then change the project to ‘Release’ mode as well as the target device to ‘iOS Remote Devices – Remote Device’ as instructed by the documentation.
In the iOS Bundle Signing area of the project, I set the Scheme to Manual Provisioning, Signing Identity to Distribution (Automatic) and Provisioning Profile to Automatic as the documentation instructs.
Next, I publish the project which start the archiving process which creates the correct archive with no problems, next is the distribution steps. In the Signing Identity step, I make sure that the Singing Identity and Provisioning Profile is as expected and click ‘Save As’ to create a .ipa file.
I then take this this .ipa file to Microsoft Intune where it is uploaded and automatically downloaded onto a device that is connected to the Intune account.
The app then seems to initially download but does not show the app icon and has a cloud symbol next to the application. When I click on the app a popup appears saying ‘The app cannot be installed because its integrity could not be verified’ with no further context.
I have tried re-creating the certificates, identifier, and provisioning profile on the Mac, creating a .ipa file through Visual Studio 2022 for Mac as well as Xcode on the Mac but all pathways yield the same results and I cannot find anything that gives a clear answer or explanation, any help would be greatly appreciated.