Xcode5:无法注册“/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle [英] Xcode5: Failed to register "/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle

查看:209
本文介绍了Xcode5:无法注册“/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的库有一些类型转换器。我正在注册一些OSX和iOS类型转换器,如下所示:

My library has some type converters. I'm registering some OSX and iOS type converters, like so:

当我为iOS编译时,我收到一些与无法找到UIKit相关的错误。以下是我为iOS编译的方法:

When I compile for iOS, I'm getting some errors related to not being able to find UIKit. Here's how I compile for iOS:

xcodebuild -destination OS=${module.sdk.version},name=iPhone -workspace ${workspace} -scheme '${library.ios.scheme}'

$我的构建系统会修补{}令牌。

构建时我得到:

__build.library.ios.simulator:
 [exec] Details:  Failed to register "/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle" with Launch Services, error code: -10811.
 [exec] Function: __RegisterUTIsIfNeeded_block_invoke
 [exec] Thread:   <NSThread: 0x7faca140e5c0>{name = (null), num = 1}
 [exec] Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can

我该如何修复这个?

推荐答案

这似乎是一个编译器错误,并没有太多可以解决的问题。

This appears to be an compiler bug, and there's not much that can be done about it.

以下是 JetBrains Tracker 的主要答案:

Anton Makeev 2013年9月17日,19:36


构建错误不会影响编译结果 - 它只是来自xcodebuild的日志消息。
模拟器应该在Xcode 5中至少运行一次后才能正常工作。

build error doesn't affect compilation results - it's just a log message from xcodebuild. Simulator should work correctly after you run it at least once in Xcode 5.

和:


我们将在AppCode中处理此输出(将其显示为警告,而不是错误)但我们建议将错误提交给Apple,如消息所示 - 不幸的是我们可以解决它(只隐藏)

We will handle this output in AppCode (show it as a warning, not a n error) but we recommend filing the error to Apple as the message suggests - unfortunately we can't fix it (only hide)

和:


在我们实施'hide-it-fix'或直到Apple修复它之前,构建错误不会消失。它是无害的,但不会影响构建结果。

Build error won't go away until we implement 'hide-it-fix' or until Apple fixes it. It is harmless, though and doesn't affect build result.

这篇关于Xcode5:无法注册“/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆