1
votes

Facebook new sdk crashes

Assertion failure in -[FBSession urlSchemeSuffix], /Users/clang/tmp/ios-sdk/src/FBSession.m:508 * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'FBSession: should only be used from a single thread'

Can any one know why this crashes...

1

1 Answers

1
votes

It sounds like you're accessing your FBSession instance from more than one thread. Check that you're not calling [FBSession activeSession] or anything similar from a background thread (or that you're always calling it from the same background thread).