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

Terminating app due to uncaught exception when trying to login to FB on iOS #8

Open
Netforza opened this issue Dec 12, 2016 · 0 comments

Comments

@Netforza
Copy link

Netforza commented Dec 12, 2016

I get the following error:
'InvalidOperationException', reason: 'App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:].'

I use the dev version of facebook extension with flixel 3.3.12, openfl 3.5.3 and lime 2.8.2

I included the following in Project.xml:

    <setenv name="FACEBOOK_APP_ID" value="529497693913674" />
    <setenv name="FACEBOOK_DISPLAY_NAME" value="Genial Santa Claus 2" />
    <haxelib name="extension-facebook" />

Everything works fine on Android target.
On iOS after a clean build there is no FacebookAppID key present in info.plist

UPDATE:
When I add the FacebookAppID to info.plist manually in xcode. I get the following error when trying to login to Facebook.

*** Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fb529497693913674 is not registered as a URL scheme. Please add it in your Info.plist'

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