我的图书馆有一些类型转换器。我正在注册一些 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
我怎样才能解决这个问题?