升级后无法编译:无法找到 NSTextFinder 类的集成器包

发布于 2024-12-13 16:08:43 字数 3321 浏览 1 评论 0原文

我刚刚升级到 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

I just upgraded to Lion and the latest build of monotouch and now I received the following when trying to build any project - even just an empty project from the templates.

Has anyone ever seen this before?
It doesn't look like I need to do anything different after upgrading to lion, at least not from the documentation. Am I missing something?

Any help or thoughts would be greatly appreciated.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风吹短裙飘 2024-12-20 16:08:43

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

I think that you need to install the version of XCode built for Lion after you upgrade (hopefully you haven't done this already).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文