Posts

Posts mit dem Label "Maui" werden angezeigt.

.NET Maui: SecureStorage.Default.GetAsync - not responding (iOS / Android)

In case someone else have the same problem with SecureStorage.Default.GetAsync on iOS change your code to: var mySecureValue = Task.Run(async () => await SecureStorage.Default.GetAsync("MYKEY")).Result;

.NET MAUI - iOS: Warning: unable to build chain to self-signed root for signer iPhone Distribution

Bild
At the moment I'm building a .NET Maui App for iOS and Android devices. For iOS it is necessary to have a valid certificate installed on the remote MAC machine. Because building native iOS applications using .NET Multi-platform requires access to Apple's build tools, which only run on a Mac 🙄. As I started with the developing I was not sure to buy a Mac just for this process but at the end it is worth to have a pysical macOS machine (note: a Mac mini is for the building process enought). The integration in the building process inside Visual Studio 2022 is very good. As soon the Mac machine is available in the local network it is very easy to connect to the machine within Visual Studio. The following screenshot shows the responsible dialog to establish a remote connection to the macOS machine. Connect to a Mac But - of course - not the whole building process ran smooth. During my first try to build the iOS version of my App I was presented with the following error message: ...