Mopups
Mopups copied to clipboard
Operation is not Supported on this Platform error - iOS Release configuration only
I'm seeing this exception while using v1.1.1 on iOS, but only in the Release configuration. I have built a very simple test app that is modeled from Gerald Versluis' demo. The button opens a PopupPage that hosts a picker control. Everything works fine when compiled as Debug and deployed to an iPad. This is done using Visual Studio 2022 attached to a MacBook Pro where the iPad is connected. Fairly straightforward textbook setup.
Now when it is time to create a Release build for testing the app fails, returning a PlatformNotSupportedException.
The release build is an Azure DevOps pipeline. The file is attached for clarity on how it is configured. azure-pipelines.yml.txt
An interesting thing to note - I have also created an Adhoc provisioning profile so I can build a Release version from VS 2022 on Windows and deploy it directly to the iPad (via the MacBook Pro of course). Under this scenario the release version works.
A second interesting thing to note - I have downloaded a zip copy of the Mopups code and referenced it as a project within this test app rather than a nuget package. Running it through the DevOps release pipeline generates a build that works.
I see that there are a few issues surrounding PlatformNotSupportedException. I have come across one earlier with Windows and resolved it with https://github.com/LuckyDucko/Mopups/issues/47#issuecomment-1435080013
Has anyone seen the issue I am describing here, or have any idea on what might be occurring?
Thanks, Brian Loehr
hmmm, i am not sure what to say here. Is this still an issue even on latest release?
i am facing the same exception as Operation is not supported on this platform. please help