Monday, 15 September 2014

xcode - Facebook SDK on Unity 5 on iOS -


I have trouble getting the latest Facebook SDK 6.2.1 to work with my project and Integration 5.0.0f4 Is happening Down one

Here's what I do: -

  1. Create a blank project
  2. Import the Facebook SDK
  3. Set up the app < / Li>
  4. Create a Xcode project
  5. Open in Xcode
  6. Disable ARC in Settings
  7. Remove Extra #ndiffs , When Xcode complains about it
  8. To create and run a game on iOS device

The following link I end the error: -

dl.dropboxusercontent.com/u/13490919/FacebookiOS Problem / Screenshot% 202015-03-12% 2014.53.29.png

I found the error "EXC_BAD_ACCESS (code = 1)". I'm not too much of an Xcode / iOS so it confuses me to one voice load. If Facebook does not exist then this error does not occur. Has anybody got any idea about this? Of course I am not the only one with this issue, what I want to do is get an access token from Facebook. If needed, I will not be taken care of using a simple webview or something similar.

Any help on this will be highly appreciated. I'll give it to the free hugs but know.

Thanks

Ive solved the problem as someone else posted , You need to mark "iOS" as the option for the plugin and adding "-fno-objc-arc" to the composite flag in the following file: Property / Facebook / Editor / IOS / FbUnityInterface .mm

This works with the latest versions of Unity 5.0.1f and Facebook SDK 6.2.1 as this post.


No comments:

Post a Comment