uno icon indicating copy to clipboard operation
uno copied to clipboard

[Uno Samples][IOS] CLI not working for running Sample app on simulator

Open Darsh0307 opened this issue 9 months ago • 2 comments

After downloading the artificats of "ios-uitest-build" from Uno UI CLI and then running the CLI on the terminal in order to run the app on IOS simulator xcrun simctl install booted /Users/darshpatel/Downloads/ios-uitest-build/SamplesApp.app

By using this i was able to even install the Samples App in the IOS simulator.

But when i am trying to open the app, its failing unfortunately.

https://github.com/unoplatform/Uno.Samples/assets/90713481/ae482a87-4a54-454b-b769-39465686d0fc

Darsh0307 avatar May 15 '24 13:05 Darsh0307

fyi @jeromelaban

agneszitte avatar May 15 '24 23:05 agneszitte

The issue has recently appeared in AvaloniaUI as well. When targeting the iOS simulator, building for iossimulator-x64 should allow the app to start normally.

Dynaruid avatar May 17 '24 02:05 Dynaruid

@Darsh0307 Unpacking the assets from skia-generic-samples-app-WinUI then run dotnet dotnet SamplesApp.Skia.Generic.dll is enough.

You may need to use wget with the url of the skia-generic-samples-app-WinUI artifact to get the file first, so work around the fact that the finder is flagging the file.

jeromelaban avatar May 27 '24 15:05 jeromelaban