Skip to content

Doesn't work on iOS #74

@borjanStojchev

Description

@borjanStojchev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions