我的图书馆有一些类型转换器。我正在注册一些 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/