ios - Xcode5:无法注册“/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle

标签 ios objective-c cross-platform xcode5 xcodebuild

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

当我为 iOS 编译时,我收到一些与无法找到 UIKit 相关的错误。这是我为 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

我该如何解决这个问题?

最佳答案

这似乎是一个编译器错误,对此无能为力。

这是关于 JetBrains Tracker 的官方回答:

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

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.

和:

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)

和:

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.

关于ios - Xcode5:无法注册“/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18808549/

相关文章:

android - 托管在 https 协议(protocol) Web 应用程序上的移动应用程序的 REST API 会很慢吗?

c++ - Eclipse-CDT:Windows下Linux交叉编译时的自动路径发现

ios - 在交互式通知中使用变量而不是字符串

c# - xamarin 无法从 system.nfloat 转换为 float

objective-c - NSTask 调用命令top。获取错误

ios - 点击 TextField 清除按钮隐藏键盘而不是清除文本

用于移动应用程序开发的 C++ 跨平台框架

java - r 软件代码签名 java 跨平台游戏

ios - 从 iOS 模拟器中删除库存照片

objective-c - xcode Objective c - 当我调用 2 个方法时 - 仅运行最后一个调用的方法,并跳过第一个方法