App crashes only on XCode Simulator, complaining about facebook

My app seems to work well on the device and yet crashes with the following error in console on the XCode Simulator. Any ideas what I can do to avoid this? I would like to be able to run this app on the XCode Simulator. Thanks! 

Runtime error module 'facebook' not found:resource (facebook.lu) does not exist in archive

Are you including iphone-sim in your build.settings for supported platforms?

Rob

Oh that must be it. Didn’t know I had to do that. I thought iOS sim would masquerade as the real thing. My bad. Can you kindly tell me how this is done? Thanks

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

Rob

Thanks. I swear that thing wasn’t there last time I checked that API page… Oh well, I appreciate you pointing me in the right direction. 

Are you including iphone-sim in your build.settings for supported platforms?

Rob

Oh that must be it. Didn’t know I had to do that. I thought iOS sim would masquerade as the real thing. My bad. Can you kindly tell me how this is done? Thanks

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

Rob

Thanks. I swear that thing wasn’t there last time I checked that API page… Oh well, I appreciate you pointing me in the right direction.