• 楼主太厉害了

  • 请问你的问题解决了吗

  • appium-ios 自动化入门 at 2017年05月23日

    LilliandeMacBook-Pro:~ lillian$ cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

    LilliandeMacBook-Pro:WebDriverAgent lillian$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=a0d70c4a53bd51d9697ddb81e277c60092c3baf5' test

    2017-05-23 09:54:11.430 xcodebuild[1826:101977] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/lillian/Library/Developer/Xcode/DerivedData/WebDriverAgent-cugadjxaiofygzgpwawfegxnduse/Logs/Test/38051C82-0CF6-41CB-81E1-5BE763C54811/Session-WebDriverAgentRunner-2017-05-23_095411-cPp7z3.log
    2017-05-23 09:54:11.430 xcodebuild[1826:101940] [MT] IDETestOperationsObserverDebug: (E6AF1412-48F0-459B-BE39-AA8A13ECD1BF) Beginning test session WebDriverAgentRunner-E6AF1412-48F0-459B-BE39-AA8A13ECD1BF at 2017-05-23 09:54:11.430 with Xcode 8E2002 on target {
    deviceSerialNumber: FK4PQGTSG5QR
    identifier: a0d70c4a53bd51d9697ddb81e277c60092c3baf5
    deviceClass: iPhone
    deviceName: lillianiphone
    deviceIdentifier: a0d70c4a53bd51d9697ddb81e277c60092c3baf5
    productVersion: 10.0.2
    buildVersion: 14A456
    deviceSoftwareVersion: 10.0.2 (14A456)
    deviceArchitecture: arm64
    deviceTotalCapacity: 11920494592
    deviceAvailableCapacity: 833273856
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    isPasscodeLocked: YES
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    bootArgs:
    } (10.0.2 (14A456))
    === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

    Check dependencies

    === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

    Check dependencies
    Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    2017-05-23 09:54:12.142 xcodebuild[1826:101940] Error Domain=IDETestOperationsObserverErrorDomain Code=4 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/lillian/Library/Developer/Xcode/DerivedData/WebDriverAgent-cugadjxaiofygzgpwawfegxnduse/Logs/Test/38051C82-0CF6-41CB-81E1-5BE763C54811/Session-WebDriverAgentRunner-2017-05-23_095411-cPp7z3.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/lillian/Library/Developer/Xcode/DerivedData/WebDriverAgent-cugadjxaiofygzgpwawfegxnduse/Logs/Test/38051C82-0CF6-41CB-81E1-5BE763C54811/Session-WebDriverAgentRunner-2017-05-23_095411-cPp7z3.log}
    Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'

    Testing failed:
    Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/lillian/Library/Developer/Xcode/DerivedData/WebDriverAgent-cugadjxaiofygzgpwawfegxnduse/Logs/Test/38051C82-0CF6-41CB-81E1-5BE763C54811/Session-WebDriverAgentRunner-2017-05-23_095411-cPp7z3.log
    ** TEST FAILED **

    The following build commands failed:
    Check dependencies
    (1 failure)
    谁遇到这个问题吗,IOS 真机上不能运行,模拟器可以

  • Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'

    Testing failed:
    Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.3'
    Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/lillian/Library/Developer/Xcode/DerivedData/WebDriverAgent-cugadjxaiofygzgpwawfegxnduse/Logs/Test/57EE696B-0562-4594-8B40-65E6937EA3CC/Session-WebDriverAgentRunner-2017-05-23_090536-eJNiMH.log
    ** TEST FAILED **

    谁遇到过这个问题吗