Running tests from command line spits out error but succeeds
| Originator: | marin2211 | ||
| Number: | rdar://15632733 | Date Originated: | 12/10/2013 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 5.0.2 |
| Classification: | command line tools | Reproducible: | always |
Summary:
Seems like `xcodebuild` spits out the warning from DTDeviceKit (Base Utilities) every time tests are run from the command line.
The only project I've seen that doesn't spit it out is ReactiveCocoa, which doesn't use CocoaPods nor Kiwi for testing.
Steps to Reproduce:
1. clone an OSS repository like github.com/allending/kiwi
2. run xcodebuild (e.g. xcodebuild -project Kiwi.xcodeproj -scheme Kiwi -sdk iphonesimulator test)
Expected Results:
No error thrown
Actual Results:
xcodebuild -project Kiwi.xcodeproj -scheme Kiwi -sdk iphonesimulator test
Build settings from command line:
SDKROOT = iphonesimulator7.0
2013-12-10 17:01:28.858 xcodebuild[13795:1007] [MT] DVTAssertions: Warning in /SourceCache/DTDeviceKit/DTDeviceKit-3697/DTDeviceKitBase/DTDeviceKitBase_Utilities.m:503
Details: Failed to register "/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/MobileDevices.bundle" with Launch Services, error code: -10811.
Function: __RegisterUTIsIfNeeded_block_invoke
Thread: <NSThread: 0x7ff622c0e230>{name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
... the build continues normally ...
=== BUILD TARGET Kiwi OF PROJECT Kiwi WITH CONFIGURATION Debug ===
Check dependencies
... ommitted
Version:
Xcode 5.0.2
OSX 10.9
Notes:
Configuration:
Any computer, even CI servers
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!