XForms iOS project not building with Prism

iooovoltsiooovolts Member ✭✭✭

Hi guys, I have an iOS app I have built and it keeps crashing at app initialisation, I created a new xforms prism iOS app to make sure I did everythin right and that the packages installed were also correct, and they were. Somebody please help me out.

Additional Information
*Prism.DryIoc.Forms v7.2.0.1367 installed in iOS and .NET Standard project
*Prism.Core and Prism.Forms installed in .NET standard project
*App.xaml.cs is the same in both projects (mine and the one created from Prism Template Pack extension which works)

The exception is DryIoc.Container Exception
Message : "Undefined Method "GetDefault" in Type Dry.Ioc.ReflectionTools"
Source : "DryIoc"

The code breaks at `public App(IPlatformInitializer initializer) : base(initializer) {}

App.xaml.cs (for non working solution)

namespace TestApp
{
    public partial class App
    {
        public App() : this(null) { }
        public App(IPlatformInitializer initializer) : base(initializer) { }
        protected override async void OnInitialized()
        {
            InitializeComponent();

            //Navigation code
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
        }

        protected override void OnStart()
        {
        }

        protected override void OnSleep()
        {
            // Handle when your app sleeps
        }

        protected override void OnResume()
        {
            // Handle when your app resumes
        }
    }
}
Sign In or Register to comment.