Facebook Plugin error 12 when build for iOS

Hi everyone!

I use facebook plugin in my app. When I build the app for iOS, I get an error 12. In build.setting file, if I remove this code is not an error.

["facebook"] = { publisherId = "com.coronalabs", },

error12_zps9nevnvdw.png

I build for Android is not error. I using Corona SDK daily build 2015.2576

Please help me!

Hello @ifunsoft0,

Did you read the guide and follow all of the instructions for implementing Facebook? In particular, you may have missed the inclusion the Facebook App ID in build.settings for iOS.

http://docs.coronalabs.com/guide/social/implementFacebook/index.html

Best regards,

Brent

This is project is sample from Corona SDK. Previously it works fine, but now it does not work!

Hi @ifunsoft0,

Which sample in specific?

Hi Brent!

This is my sample facebook: https://dl.dropboxusercontent.com/u/108775272/corona/Facebook.rar

Please help me, thank you very much!

Open up a terminal and run:

xcode-select --print-path

If you’re running a properly installed Xcode you should get:

/Applications/Xcode.app/Contents/Developer

If it’s not an you’ve installed Xcode through the Apple Mac App Store (standard way), then do:

xcode-select --switch /Applications/Xcode.app/Contents/Developer

and see if that solves the problems.

Rob

Hello @ifunsoft0,

Did you read the guide and follow all of the instructions for implementing Facebook? In particular, you may have missed the inclusion the Facebook App ID in build.settings for iOS.

http://docs.coronalabs.com/guide/social/implementFacebook/index.html

Best regards,

Brent

This is project is sample from Corona SDK. Previously it works fine, but now it does not work!

Hi @ifunsoft0,

Which sample in specific?

Hi Brent!

This is my sample facebook: https://dl.dropboxusercontent.com/u/108775272/corona/Facebook.rar

Please help me, thank you very much!

Open up a terminal and run:

xcode-select --print-path

If you’re running a properly installed Xcode you should get:

/Applications/Xcode.app/Contents/Developer

If it’s not an you’ve installed Xcode through the Apple Mac App Store (standard way), then do:

xcode-select --switch /Applications/Xcode.app/Contents/Developer

and see if that solves the problems.

Rob