Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on iOS #74

Open
borjanStojchev opened this issue Jun 10, 2023 · 0 comments
Open

Doesn't work on iOS #74

borjanStojchev opened this issue Jun 10, 2023 · 0 comments

Comments

@borjanStojchev
Copy link

borjanStojchev commented Jun 10, 2023

When I build and deploy the app using this NuGet package the app is closing on start up. I am using windows machine deploying on iPhone device using HotReload with enterprise Apple account. The issue is happening when I try to create a page which inherit from AnimationPage. Here is the output:
[0:] An error occurred: 'You must call Xamarin.Forms.Forms.Init(); prior to using this property.'. Callstack: ' at Xamarin.Forms.Device.get_PlatformServices () [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:87 at Xamarin.Forms.Device.GetAssemblies () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:245 at Xamarin.Forms.DependencyService.Initialize () [0x00021] in D:\a\1\s\Xamarin.Forms.Core\DependencyService.cs:103 at Xamarin.Forms.DependencyService.Get[T] (Xamarin.Forms.DependencyFetchTarget fetchTarget) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\DependencyService.cs:28 at FormsControls.Base.PageAnimation..cctor () <0x108569710 + 0x00002> in <92201183f4614869aa39cb7f93b6eb2d>:0 ' The app has been terminated.

It works on Android emulator and on iOS on production. The issue is happening only in debug mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant