2

我刚刚升级到 Lion 和 monotouch 的最新版本,现在我在尝试构建任何项目时收到以下内容——即使只是模板中的一个空项目。

有没有人见过这个?升级到 Lion 后,我似乎不需要做任何不同的事情,至少从文档中不需要。我错过了什么吗?

任何帮助或想法将不胜感激。

Building: DUmmyTest1 (Debug|iPhoneSimulator)

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/DevTests/DUmmyTest1/DUmmyTest1/bin/iPhoneSimulator/Debug/DUmmyTest1.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 "/DevTests/DUmmyTest1/DUmmyTest1/Main.cs" "/DevTests/DUmmyTest1/DUmmyTest1/AppDelegate.cs" "/DevTests/DUmmyTest1/DUmmyTest1/RootViewController.cs" "/DevTests/DUmmyTest1/DUmmyTest1/RootViewController.designer.cs" "/DevTests/DUmmyTest1/DUmmyTest1/DetailViewController.cs" "/DevTests/DUmmyTest1/DUmmyTest1/DetailViewController.designer.cs" 
Compilation succeeded - 1 warning(s)

/DevTests/DUmmyTest1/DUmmyTest1/RootViewController.cs(53,44): warning CS0414: The private field `DUmmyTest1.RootViewController.DataSource.controller' is assigned but its value is never used



Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/DevTests/DUmmyTest1/DUmmyTest1/RootViewController.xib" --compile "/DevTests/DUmmyTest1/DUmmyTest1/bin/iPhoneSimulator/Debug/DUmmyTest1.app/RootViewController.nib" --sdk "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk"
2011-11-01 16:13:29.616 ibtoold[618:e07] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-1938/Framework/WidgetIntegration/IBIntegratorManager.m:278
Details:  Failed to find integrator bundle for class NSTextFinder
Object:   <IBIntegratorManager: 0x400b778e0>
Method:   -registerIntegrator:remainingIntegratorsBySuperclass:
Thread:   <NSThread: 0x40010a1a0>{name = (null), num = 1}
Hints: None
Backtrace:
  0  0x000000010085ebd4 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010085eaa4 _DVTAssertionFailureHandler (in DVTFoundation)
  2  0x0000000100021b42 -[IBIntegratorManager registerIntegrator:remainingIntegratorsBySuperclass:] (in IDEInterfaceBuilderKit)
  3  0x0000000100021c69 -[IBIntegratorManager registerIntegrator:remainingIntegratorsBySuperclass:] (in IDEInterfaceBuilderKit)
  4  0x0000000100021804 -[IBIntegratorManager registerIntegrators:] (in IDEInterfaceBuilderKit)
  5  0x00000001000213b4 -[IBIntegratorManager loadAllIntegrators] (in IDEInterfaceBuilderKit)
  6  0x00000001000210cc -[IBInterfaceBuilderPlugin init] (in IDEInterfaceBuilderKit)
  7  0x0000000100020f91 +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] (in IDEInterfaceBuilderKit)
  8  0x000000010047eb7c _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)
  9  0x000000010047e38c IDEInitialize (in IDEFoundation)
 10  0x0000000100003e58 (in ibtoold)
 11  0x0000000100001a94 (in ibtoold)
ibtool exited with code 134
Build complete -- 1 error, 1 warning

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

Build: 1 error, 1 warning
4

1 回答 1

4

我认为您需要在升级后安装为 Lion 构建的 XCode 版本(希望您还没有这样做)。

于 2011-11-01T20:28:28.147 回答