Up until this week I have been using Xamarin.Forms for my mobile development. I got a request for a simple app and I thought I would take this opportunity to use .net MAUI. Things were going fine and I tried the app on Windows, on Android and then attempted to try it on iPhone. I cannot get Visual Studio 2022 17.3.0 Preview 2.0 to install the app on the iPhone.
I have a paid Apple Developer account and I can install and run my Xamarin.Forms apps on an iPhone just fine. For my Xamarin.Forms app I use Automatic Provisioning for bundle signing.
I can't even get the blank .net MAUI app to install on the iPhone. I tried the default values of Bundle Signing (Scheme = Manual, Signing Identity = Developer (automatic)). I have tried Automatic Provisioning (configuring Automatic Provisioning game me a green check mark). Every time I push that little green play button I get ApplicationVerificationFailed (A valid provisioning profile for this executable was not found).
Visual Studio 2022 17.3.0 Preview 2.0 on Windows 11 64-bit.
iPhone 11 Pro Max - software version 15.5 (plugged directly into the Windows machine)
Did .net MAUI devolve from Xamarin.Forms in this capability or am I missing something?
Thanks
CodePudding user response:
This issue is currently being tracked
in this thread.
Please follow up with that thread closely as our team will provide an update if either more information is needed, a workaround is available, or the issue is resolved.
CodePudding user response:
One step closer is better than not...
Thanks To Alexander, I was able to at least install the app on an iPhone (app doesn't work but at least it installed and I was able to launch it).
The work around can be found here.
Basically, I copied the Entitlements.plist file from my working Xamarin.Forms iOS app and pasted it under Platforms/iOS folder in my MAUI project (and removed some keys within the file).
Thanks Steve and Alexander for your contributions.