App won't start with Xamarin iOS Facebook SDK

I have no idea what's going wrong. I just want to integrate the Facebook iOS SDK from Xamarin and call the 'ActivateApp' Event, so that I can see how many users opened the app from the Facebook-App with an ad from me.

I created a blank Xamarin.Forms app, added the component from the component store and modified my AppDelegate class:

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
    Settings.AppID = "<myFacebookId>";

    LoadApplication(new App());

    return base.FinishedLaunching(app, options);

I am aware that I need to update the Info.plist file also and do some more stuff. But the special here is, with above steps the app won't start on my device (Configuration: Debug | iPhone, Linker disabled, sdk Version 9.2, deployment target 7.1) but on my smulator it works fine. It seems that just a call to a property or method of this Component, the app on my device Crashs.

On the device, the splashscreen just shows for half a second, then it crashs without any Feedback.

My brain explodes next time. Any help is appreciated. Thanks

Best Answer


Sign In or Register to comment.