xcodebuild抛出"无法挂载开发人员磁盘映像"即使在针对通用设备构建时也会发出警告

时间:2018-03-28 15:25:34

标签: xcodebuild

运行命令xcodebuild -scheme "SchemeName" -configuration Release -derivedDataPath build/DerivedData -destination generic/platform=iOS clean build会抛出此警告:

2018-03-28 18:18:44.282 xcodebuild[865:1393851]  iPhoneConnect: ## Unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "Could not locate device support files." UserInfo={DeviceType=iPhone9,3, 
NSLocalizedDescription=Could not locate device support files., NSLocalizedRecoverySuggestion=This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 11.3 (15E5216a), which may not be supported by this version of Xcode.}) {
    DeviceType = "iPhone9,3";
    NSLocalizedDescription = "Could not locate device support files.";
    NSLocalizedRecoverySuggestion = "This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 11.3 (15E5216a), which may not be supported by this version of Xcode.";
}

尽管我显然是针对通用设备而不是连接的iPhone 7设备。

如何禁用这些警告?

0 个答案:

没有答案