MonoTouch-未能编译接口文件

MonoTouch-未能编译接口文件,mono,touch,Mono,Touch,我有一个带Lion osx的迷你mac,我从应用商店安装了Xcode 4.3.2,之后我下载了mono touch试用软件。当我使用mono develop编译一个全新的项目时,我得到以下错误: Failed to compile interface file. Building: 12 (Debug|iPhoneSimulator) Building Solution 12 Building: 12 (Debug|iPhoneSimulator) Performing main co

我有一个带Lion osx的迷你mac,我从应用商店安装了Xcode 4.3.2,之后我下载了mono touch试用软件。当我使用mono develop编译一个全新的项目时,我得到以下错误:

Failed to compile interface file. 

Building: 12 (Debug|iPhoneSimulator)

Building Solution 12

Building: 12 (Debug|iPhoneSimulator)

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/aegonaegon/Projects/12/12/bin/iPhoneSimulator/Debug/12.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/aegonaegon/Projects/12/12/Main.cs" "/Users/aegonaegon/Projects/12/12/AppDelegate.cs" "/Users/aegonaegon/Projects/12/12/12ViewController.cs" "/Users/aegonaegon/Projects/12/12/12ViewController.designer.cs" 

Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/Users/aegonaegon/Projects/12/12/12ViewController.xib" --compile "/Users/aegonaegon/Projects/12/12/bin/iPhoneSimulator/Debug/12.app/12ViewController.nib" --sdk "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk"
/* com.apple.ibtool.errors */
Internal Error:
    Description: Illegal invocation. Try 'man ibtool' for more information.
ibtool exited with code 1
Build complete -- 1 error, 0 warnings

---------------------- Done ----------------------

Build: 1 error, 0 warnings
我已经卸载了xcode 4.32、mono开发和重新安装,但没有成功。 在这个问题上的任何帮助都会有所帮助


谢谢。

您可能在/Developer中使用了以前安装的Xcode中的旧ibtool。
/Developer/usr/bin/ibtool--version
显示了什么

通过执行以下操作,您可以确保使用的是最新的ibtool:

sudo/usr/bin/xcode选择-switch/Applications/xcode.app/Contents/Developer