facebook/facebook-ios-sdk — pull request #541 by odyth (2013-05-14 21:28:17+00:00)
Title: UIPasteboard is nil creates a crash when logging in

If your bundle identifier is over 47 characters in length any calls to [UIPasteboard pasteboardWithUniqueName] will result in a nil pasteboard being returned. Which results in a crash when trying to login with UI through FBSession. This is true on both iOS 5 and iOS 6. The suggested fix is that if you get back a nil pasteboard assume the reason is because the bundle identifier is too long and instead try and create the paste board off a uuid instead of the bundle identifier.