我是 MonoTouch iPhone 应用程序的新手,当我尝试从 Xamarin 示例运行 Social Framework Demo 时,单击任何按钮会使应用程序崩溃并出现未处理的异常,请帮助我
MonoDevelop 3.0.4.7
安装UUID:d9012fd4-f121-4a57-839d-50ccdf232e64
运行:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
苹果开发者工具:
Xcode 4.2.1 (834)
Build 4D502
适用于 Android 的单声道:4.2.7
Android SDK:/Users/ravichandra/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
Java SDK:/usr Monotouch:6.0.0
构建信息:
Release ID: 30004007
Git revision: ea0108260c6a376ecaeffcdb7d03387bd51edda3
Build date: 2012-09-17 14:09:17+0000
Xamarin addins: ec43fd5cb223ead4234a9858d1b56eef03dad53a-dirty
操作系统:
Mac OS X 10.7.5
Darwin Ravi-Chandras-iMac.local 11.4.2 Darwin Kernel Version 11.4.2
Thu Aug 23 16:25:48 PDT 2012
root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
[错误] 致命的未处理异常:System.ArgumentNullException:参数不能为空。参数名称:服务类型
at MonoTouch.Social.SLComposeViewController.IsAvailable (MonoTouch.Foundation.NSString serviceType) [0x0000c] in /Developer/MonoTouch/Source/monotouch/src/Social/SLComposeViewController.g.cs:93
at MonoTouch.Social.SLComposeViewController.IsAvailable (SLServiceKind serviceKind) [0x00000] in /Developer/MonoTouch/Source/monotouch/src/Social/SLComposeViewController.cs:25
at SocialFrameworkDemo.SocialFrameworkDemoViewController.m__1 (System.Object , System.EventArgs ) [0x00000] in /Users/ravichandra/Downloads/SocialFrameworkDemo 2/SocialFrameworkDemo/SocialFrameworkDemoViewController.cs:52
at MonoTouch.UIKit.UIControlEventProxy.Activated () [0x00000] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIControl.cs:30
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
at SocialFrameworkDemo.Application.Main (System.String[] args) [0x00000] in /Users/ravichandra/Downloads/SocialFrameworkDemo 2/SocialFrameworkDemo/Main.cs:17