freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

[solved] iOS crashing immediately after including ANE #134

Closed eric-holmes closed 10 years ago

eric-holmes commented 10 years ago

I have simply added the ANE to my packaging settings, and the xml addition, and my app will not start.

My iPhone node in .xml with 12345 replacing my actual Facebook app ID:

<iPhone>
        <InfoAdditions><![CDATA[
            <key>CFBundleURLTypes</key>
            <array>
                <dict>
                    <key>CFBundleURLSchemes</key>
                        <array>
                            <string>fb12345</string>
                        </array>
                </dict>
            </array>
            <key>FacebookAppID</key>
            <string>12345</string>
        <key>UIDeviceFamily</key>
        <array>
            <string>1</string>
            <string>2</string>
        </array>
        ]]></InfoAdditions>
    <requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
eric-holmes commented 10 years ago

Anyone have a clue? Literally not even importing the class at this point - do I require any other SDK like the iOS one? The brevity of documentation is staggering...

eric-holmes commented 10 years ago

The issue turned out to be a object naming conflict with another ANE - I just had to check the "Hide ANE-Library-Symbols" and all is well.. pretty sad about the 0 responses, though.