有解吗?
怎么更新?
autotest-ios:WebDriverAgent admin$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=2a7cd84d5d266bdb2558972eb894aadbd8393481 test
2017-04-11 11:12:45.541 xcodebuild[5862:2495176] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Logs/Test/9A4CA41F-2763-4112-AE20-02EA341C4C9A/Session-WebDriverAgentRunner-2017-04-11_111245-tEciTq.log
2017-04-11 11:12:45.541 xcodebuild[5862:2495089] [MT] IDETestOperationsObserverDebug: (43A30FB3-98FA-42FD-8C6F-9C36A2018879) Beginning test session WebDriverAgentRunner-43A30FB3-98FA-42FD-8C6F-9C36A2018879 at 2017-04-11 11:12:45.541 with Xcode 8E162 on target {
deviceSerialNumber: C8QLD5B1FFHR
identifier: 2a7cd84d5d266bdb2558972eb894aadbd8393481
deviceClass: iPhone
deviceName: iPhone5c 10.1
deviceIdentifier: 2a7cd84d5d266bdb2558972eb894aadbd8393481
productVersion: 10.2.1
buildVersion: 14D27
deviceSoftwareVersion: 10.2.1 (14D27)
deviceArchitecture: armv7s
deviceTotalCapacity: 13087301632
deviceAvailableCapacity: 7095791616
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType:
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
activityProgress: -2
activityTitle:
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs:
} (10.2.1 (14D27))
=== BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET IntegrationApp OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
Validate /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/IntegrationApp.app
cd "/usr/local/lib/node_modules/appium/node_modules/._appium-xcuitest-driver@2.27.2@appium-xcuitest-driver/WebDriverAgent"
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/appium/nodejs/bin:/Users/admin/.rvm/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/java/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/java/jre/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/tools:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/platform-tools:/Users/admin/Desktop/WXJ_IOS/android-sdk-macosx/build-tools/25.0.2:"
export PRODUCT_TYPE=com.apple.product-type.application
builtin-validationUtility /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/IntegrationApp.app
=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/045d1d24e6381edd91309c864f77f536/2a7cd84d5d266bdb2558972eb894aadbd8393481/WebDriverAgentRunner-Runner.app
state->new_bundle: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-cawmfybafmqbwbbksnlvaaamrjla/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
state->dst_bundle: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
dst_ipa: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa
__MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/b2/xryd_gbj04b2g5_r1yxsv7cm0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.oDauLw/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
Test Suite 'All tests' started at 2017-04-11 11:12:56.159
Test Suite 'WebDriverAgentRunner.xctest' started at 2017-04-11 11:12:56.164
Test Suite 'UITestingUITests' started at 2017-04-11 11:12:56.166
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2017-04-11 11:12:56.170
t = 0.01s Set Up
Z
[3]+ Stopped xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=2a7cd84d5d266bdb2558972eb894aadbd8393481 test
一直卡在 t = 0.01s Set Up
这个情况解决了吗?
我不行,后来怎么解决的?[debug] [XCUITest] Failed to create WDA session. Retrying...
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1491644589377 (17:43:09 GMT+0800 (CST))
[debug] [XCUITest] Sending createSession command to WDA
一直这样
解决了吗?
是 carthage 没装好
appium1.5.3 不是一值报 Errno 61 吗?
log4j:ERROR Could not read configuration file [/Users/admin/Desktop/src/log4j.properties].
java.io.FileNotFoundException: /Users/admin/Desktop/src/log4j.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:306)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)
at pers.traveler.log.Log.(Log.java:17)
at pers.traveler.robot.Robot.travel(Robot.java:172)
at pers.traveler.test.Main.main(Main.java:21)
log4j:ERROR Ignoring configuration file [/Users/admin/Desktop/src/log4j.properties].
该怎么搞啊?
192.168.56.101:5555,这个是啥?