Symptoms: application crash after launch:
OS Version: iPhone OS 5.1.1 (9B206) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000001, 0xe7ffdefe Crashed Thread: 0 Dyld Error Message: Symbol not found: _ACFacebookAppIdKey Referenced from: /var/mobile/Applications/C9CCEC42-DD12-40D1-91EE-965A8AC37AE4/MyApp.app/MyApp Expected in: /System/Library/Frameworks/Accounts.framework/Accounts in /var/mobile/Applications/1234EC42-0012-40D1-1234-965A8AC31234/MyApp.app/MyApp Dyld Version: 199.6
This issue is specific to MonoTouch binding for SDK for iOS for Facebook, and this only happens for iOS 5.0 and 5.1. You can play it just by following the sample project on your iOS 5 device.
There is a related SO question ( Facebook SDK 3.1 for iOS - works on iOS6, but crashes on iOS 5.x ), which implies the introduction of a framework is optional. As far as I know, this cannot be done from Xamarin.iOS, but the LinkWith assembly LinkWith in the binding already has WeakFrameworks = "Accounts AdSupport Social" , which, I believe, is equivalent to the fact that these frameworks are optional in Xcode. So there is no help.
The problem seems to be a bug in binding MonoTouch, Xamarin.iOS, or the iOS iOS SDK itself. Any ideas?
Diego source share