I’m currently struggling with an issue in running MAUI app on iOS device.
First of all, the app has no errors that prevents it from running, as I have also it running on Android without any issues.
The steps the I took in order to try and run it, and also trying to resolve it:
- Asked the account to create an issuer id and so got all what I’ve needed in order to add an individual account in Visual Studio for Mac
- Added the apple developer account in Visual Studio
- Created a Certificate Signing Request using Keychain Access
- Using the CSR, created a certificate in my apple developer account, downloaded it and added the certificate to the Keychain access on my MacBook
- Created a new provision profile in my apple developer account with the new certificate.
- In Visual Studio went to apple developer accounts, and in the relevant account, downloaded all profiles.
- In the main .csproj file, configured the bundle signing to the created certificate and the created provisioning profile
When trying to run, everything compiles just fine, but when getting to deployment to the device getting an error:
ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.H3ngrg/extracted/EyeSightInstaller.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
I have already updated Xcode to 16.1
Visual Studio for Mac 17.6.14 (build 413)
macOS Sequoia 15.1.1
I’ve tried creating again and again different certificates, profiles and various combinations of the certificates, profiles, automatic and manual provisioning
2
Answers
Not sure if this solution will for everyone, but I got it running and working so if anyone finding it, try this solution (only if there is Entitlements.plist file in your project):
Basically, looks like for the initial install, if there is a requirement for the Entitlement.plist file, we need to empty it and revert it only after the initial install and run.