Skip to content

大佬,能帮我看一下这个问题吗,我快被这个问题搞疯了!!大佬你要啥我都能给你提供,只要别再回答让我自己看日志就行,在线等!! God, can you help me look at this problem, I am going crazy with this problem! ! I want you to give me all the time, just don't answer let me see the log myself, online! #161

Open
@bjlizelin

Description

@bjlizelin

image
环境:
5:46:48.245 xcodebuild[56213:1369918] Beginning test session XCTestWDUITests-E197EB80-5378-4197-9F2F-639C0E529FDA at 2019-07-22 15:46:48.244 with Xcode 10E1001 on target 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> {
deviceSerialNumber: FFXVGDMNJC6F
identifier: 444575bf09ea978e65058c7ee7b69f045738daff
deviceClass: iPhone
deviceName: iphone8
deviceIdentifier: 444575bf09ea978e65058c7ee7b69f045738daff
productVersion: 12.2
buildVersion: 16E227
deviceSoftwareVersion: 12.2 (16E227)
deviceArchitecture: arm64
deviceTotalCapacity: 57449988096
deviceAvailableCapacity: 48483074048
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7f94c9f53d90 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs: (null)
nextBootArgs: (null)
connected: yes
isWirelessEnabled: no
connectionType: direct
hostname: (null)
bonjourServiceName: 70:ef:00:57:66:92@fe80::72ef:ff:fe57:6692._apple-mobdev2._tcp.local.
} (12.2 (16E227))
15:46:48.245 xcodebuild[56213:1369918] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
-project
XCTestWD.xcodeproj
-scheme
XCTestWDUITests
-destination
id=444575bf09ea978e65058c7ee7b69f045738daff
XCTESTWD_PORT=8001
clean
test
15:46:48.245 xcodebuild[56213:1369918] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
15:46:48.247 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.248 xcodebuild[56213:1369918] Test standard output and standard error is at /Users/mac/Library/Developer/Xcode/DerivedData/XCTestWD-bsxumcgtysmhgreexssnycovvlgc/Logs/Test/Run-XCTestWDUITests-2019.07.22_15-46-29-+0800.xcresult/2_Test/Diagnostics/XCTestWDUITests-3FDC3104-64A4-4E39-889E-4064905F8E85/XCTestWDUITests-C693ED59-69FE-4CBF-BBC9-FEFD108EF33D/StandardOutputAndStandardError.txt
15:46:48.257 xcodebuild[56213:1369918] Setting up test runner session
15:46:48.257 xcodebuild[56213:1369918] Registering/updating daemon-based crash report observer for process names (
SpringBoard,
backboardd,
xctest,
"XCTestWDUITests-Runner"
)
15:46:48.260 xcodebuild[56213:1370989] Connecting to mobile device: 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.262 xcodebuild[56213:1370989] Starting session with mobile device
15:46:48.305 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.308 xcodebuild[56213:1370989] Starting test manager service on mobile device.
15:46:48.313 xcodebuild[56213:1370988] Received connection for test runner session
15:46:48.313 xcodebuild[56213:1370988] Listening for proxy connection request from the test bundle
15:46:48.313 xcodebuild[56213:1369918] Test runner session acquired connection.
15:46:48.313 xcodebuild[56213:1369918] Waiting for test process to launch.
15:46:48.314 xcodebuild[56213:1370988] Initiating session with identifier: E197EB80-5378-4197-9F2F-639C0E529FDA
15:46:48.314 xcodebuild[56213:1369918] Finished requesting crash reports. Continuing with testing.
15:46:48.316 xcodebuild[56213:1370990] Got reply to session initiation request with identifier E197EB80-5378-4197-9F2F-639C0E529FDA (result:error): 29: (null)
15:46:48.317 xcodebuild[56213:1369918] Launch session started.
15:46:48.339 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.341 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.343 xcodebuild[56213:1369988] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.380 xcodebuild[56213:1369988] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.403 xcodebuild[56213:1369988] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.405 xcodebuild[56213:1369988] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.408 xcodebuild[56213:1370989] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.443 xcodebuild[56213:1370989] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.453 xcodebuild[56213:1370989] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.454 xcodebuild[56213:1370983] Device 444575bf09ea978e65058c7ee7b69f045738daff received darwin note: MISProvisioningProfileInstalled
15:46:48.455 xcodebuild[56213:1370989] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.456 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> installing com.apple.test.XCTestWDUITests-Runner using MobileInstall
15:46:48.458 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.494 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.525 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.527 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.529 xcodebuild[56213:1370133] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.566 xcodebuild[56213:1370133] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.569 xcodebuild[56213:1370133] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.571 xcodebuild[56213:1370133] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.573 xcodebuild[56213:1369988] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> app uninstall set - {(
)}
15:46:48.574 xcodebuild[56213:1369988] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> app install set - {(
DVTFilePath:0x7f94ca0e6c20:'/Users/mac/Library/Developer/Xcode/DerivedData/XCTestWD-bsxumcgtysmhgreexssnycovvlgc/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app'
)}
15:46:48.574 xcodebuild[56213:1370133] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.605 xcodebuild[56213:1370133] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.677 xcodebuild[56213:1370133] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:48.678 xcodebuild[56213:1370133] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.480 xcodebuild[56213:1370988] Device 444575bf09ea978e65058c7ee7b69f045738daff received darwin note: MISProvisioningProfileInstalled
15:46:51.481 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.538 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.565 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.566 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.670 xcodebuild[56213:1370983] Device 444575bf09ea978e65058c7ee7b69f045738daff received darwin note: com.apple.mobile.application_installed
15:46:51.673 xcodebuild[56213:1370133] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.733 xcodebuild[56213:1370133] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.775 xcodebuild[56213:1370133] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.777 xcodebuild[56213:1370133] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.779 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.813 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.898 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:51.899 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.269 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.343 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.455 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.457 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.461 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> fetching applications...
15:46:52.464 xcodebuild[56213:1370133] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.497 xcodebuild[56213:1370133] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.596 xcodebuild[56213:1370133] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.598 xcodebuild[56213:1370133] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.602 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> done fetching applications...
15:46:52.603 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/72767112-E1B7-436A-9E83-42C793E1982C/XCTestWDUITests-Runner.app

15:46:52.603 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> configuring for testing on device
15:46:52.604 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> updating test configuration with device paths
15:46:52.606 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> updated test configuration at /Users/mac/Library/Developer/Xcode/DerivedData/XCTestWD-bsxumcgtysmhgreexssnycovvlgc/Logs/Test/Run-XCTestWDUITests-2019.07.22_15-46-29-+0800.xcresult/2_Test/Diagnostics/XCTestWDUITests-3FDC3104-64A4-4E39-889E-4064905F8E85/XCTestWDUITests-C693ED59-69FE-4CBF-BBC9-FEFD108EF33D/LaunchSessions/E197EB80-5378-4197-9F2F-639C0E529FDA/remote-container/tmp/XCTestWDUITests-E197EB80-5378-4197-9F2F-639C0E529FDA.xctestconfiguration with device paths: <XCTestConfiguration: 0x7f94ca2c1bf0>
testBundleURL:file:///private/var/containers/Bundle/Application/72767112-E1B7-436A-9E83-42C793E1982C/XCTestWDUITests-Runner.app/PlugIns/XCTestWDUITests.xctest
testBundleRelativePath:(null)
productModuleName:XCTestWDUITests
testsToSkip:(null)
testsToRun:(null)
reportResultsToIDE:YES
testsDrivenByIDE:no
sessionIdentifier:E197EB80-5378-4197-9F2F-639C0E529FDA
disablePerformanceMetrics:no
treatMissingBaselinesAsFailures:no
baselineFileURL:(null)
baselineFileRelativePath:(null)
targetApplicationPath:(null)
targetApplicationBundleID:(null)
testApplicationDependencies:
{
"com.apple.test.XCTestWDUITests-Runner" = "/Users/mac/Library/Developer/Xcode/DerivedData/XCTestWD-bsxumcgtysmhgreexssnycovvlgc/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app";
}
testApplicationUserOverrides:(null)
targetApplicationArguments:
targetApplicationEnvironment:(null)
reportActivities:YES
testsMustRunOnMainThread:YES
initializeForUITesting:YES
aggregateStatisticsBeforeCrash:
{
XCSuiteRecordsKey = {
};
}
automationFrameworkPath:/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
bridgedAutomationFrameworkPath:(null)
emitOSLogs:no
systemAttachmentLifetime:1
userAttachmentLifetime:1
gatherLocalizableStringsData:no
testExecutionOrdering:lexical
randomExecutionOrderingSeed:(null)

15:46:52.606 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> uploading test configuration to app container
15:46:52.608 xcodebuild[56213:1370133] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.643 xcodebuild[56213:1370133] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:52.893 xcodebuild[56213:1370990] Device 444575bf09ea978e65058c7ee7b69f045738daff received darwin note: com.apple.mobile.keybagd.lock_status
15:46:53.148 xcodebuild[56213:1370991] Device 444575bf09ea978e65058c7ee7b69f045738daff received darwin note: com.apple.mobile.keybagd.lock_status
15:46:54.193 xcodebuild[56213:1370133] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.195 xcodebuild[56213:1370133] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.199 xcodebuild[56213:1370991] Requesting 444575bf09ea978e65058c7ee7b69f045738daff: <DTDKCopyValueRequest: 0x7f94ca3321c0> { domain: (null), key: PasswordProtected}
15:46:54.200 xcodebuild[56213:1370991] Failed (will try again with session) 444575bf09ea978e65058c7ee7b69f045738daff: <DTDKCopyValueRequest: 0x7f94ca3321c0> { domain: (null), key: PasswordProtected}
15:46:54.221 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> updating test process environment variables
15:46:54.221 xcodebuild[56213:1370989] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> updated testing environment variables {
"DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/72767112-E1B7-436A-9E83-42C793E1982C/XCTestWDUITests-Runner.app/Frameworks:";
"DYLD_INSERT_LIBRARIES" = "/Developer/usr/lib/libMainThreadChecker.dylib";
"DYLD_LIBRARY_PATH" = "/usr/lib/swift:/private/var/containers/Bundle/Application/72767112-E1B7-436A-9E83-42C793E1982C/XCTestWDUITests-Runner.app/Frameworks";
"MTC_CRASH_ON_REPORT" = 1;
XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/CF005A9D-A78C-4222-82CB-A943393B6532/tmp/XCTestWDUITests-E197EB80-5378-4197-9F2F-639C0E529FDA.xctestconfiguration";
}
15:46:54.263 xcodebuild[56213:1370991] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.264 xcodebuild[56213:1370991] Requesting (with session) 444575bf09ea978e65058c7ee7b69f045738daff: <DTDKCopyValueRequest: 0x7f94ca3321c0> { domain: (null), key: PasswordProtected}
15:46:54.265 xcodebuild[56213:1370991] Request succeeded 444575bf09ea978e65058c7ee7b69f045738daff: <DTDKCopyValueRequest: 0x7f94ca3321c0> { domain: (null), key: PasswordProtected} (0)
15:46:54.265 xcodebuild[56213:1370991] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.269 xcodebuild[56213:1370983] Started connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.308 xcodebuild[56213:1370983] Started session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.313 xcodebuild[56213:1370983] Ending session with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.314 xcodebuild[56213:1370983] Ending connection with 444575bf09ea978e65058c7ee7b69f045738daff
15:46:54.385 xcodebuild[56213:1370983] 📱<DVTiOSDevice (0x7f94ca22f950), iphone8, iPhone, 12.2 (16E227), 444575bf09ea978e65058c7ee7b69f045738daff> ############## DID EXECUTE #################
15:46:54.387 xcodebuild[56213:1369918] <IDETestOperationCoordinator: 0x7f94ca2c4d80> finished receiving data from testing launch session
15:46:54.387 xcodebuild[56213:1369918] <IDETestOperationCoordinator: 0x7f94ca2c4d80>: _considerFlushingDelegateBlockQueue - nothing to flush
15:46:54.387 xcodebuild[56213:1369918] Test operation failure: Failed to install or launch the test runner
15:46:54.388 xcodebuild[56213:1369918] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=4 "Failed to install or launch the test runner" UserInfo={NSLocalizedDescription=Failed to install or launch the test runner, NSUnderlyingError=0x7f94ca655700 {Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.apple.test.XCTestWDUITests-Runner" UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.XCTestWDUITests-Runner, NSUnderlyingError=0x7f94ca3e42b0 {Error Domain=DTXMessage Code=1 "The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.apple.test.XCTestWDUITests-Runner'" UserInfo={NSLocalizedDescription=The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.apple.test.XCTestWDUITests-Runner'}}}}}

019-07-22 15:46:54.390 xcodebuild[56213:1369918] [MT] IDETestOperationsObserverDebug: 6.175 elapsed -- Testing started completed.
2019-07-22 15:46:54.390 xcodebuild[56213:1369918] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2019-07-22 15:46:54.390 xcodebuild[56213:1369918] [MT] IDETestOperationsObserverDebug: 6.175 sec, +6.175 sec -- end
2019-07-22 15:46:54.391 xcodebuild[56213:1369918] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.apple.test.XCTestWDUITests-Runner" UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.XCTestWDUITests-Runner, NSUnderlyingError=0x7f94ca3e42b0 {Error Domain=DTXMessage Code=1 "The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.apple.test.XCTestWDUITests-Runner'" UserInfo={NSLocalizedDescription=The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.apple.test.XCTestWDUITests-Runner'}}}

Testing failed:
XCTestWDUITests:
XCTestWDUITests-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.apple.test.XCTestWDUITests-Runner. (Underlying error: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.apple.test.XCTestWDUITests-Runner')))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions