Recent Facebook Error with Latest Build

For some reason I was just regression testing my app and noticed my register page is randomly now crashing with this error:
 

Runtime error: module 'facebook' not found:resource (facebook.lu) does not exist in archive no field package.preload['facebook']  

I am still calling facebook via:
 

local facebook=require("facebook") 

and from what I read, they moved facebook to a plugin? can anyone explain?

It’s a bit complex.  But the short version is Apple is rejecting apps that use the

iosAdvertisingIdentifier

We removed this from our core in build 2169  (iOS - Remove references to [class:
ASIdentifierManager selector: advertisingIdentifier framework:
AdSupport.framework] from product - casenum 30177)

Facebook’s SDK uses this framework too, and we moved it out of the core into a plugin so that you have to include it if you need it to prevent unnecessary rejections from Apple.   See the DAILY version of the Facebook docs for the code needed in your build.settings.

http://docs.coronalabs.com/daily/api/library/facebook/index.html

Rob

Thank you rob, that explained it!

It’s a bit complex.  But the short version is Apple is rejecting apps that use the

iosAdvertisingIdentifier

We removed this from our core in build 2169  (iOS - Remove references to [class:
ASIdentifierManager selector: advertisingIdentifier framework:
AdSupport.framework] from product - casenum 30177)

Facebook’s SDK uses this framework too, and we moved it out of the core into a plugin so that you have to include it if you need it to prevent unnecessary rejections from Apple.   See the DAILY version of the Facebook docs for the code needed in your build.settings.

http://docs.coronalabs.com/daily/api/library/facebook/index.html

Rob

Thank you rob, that explained it!