Git Product home page Git Product logo

fastmonkey's Issues

Error connecting to device

RT,运行真机monkey遇到问题,1,2已经跑通,也就是
build成功,并且测试app已经跑到真机上

第三步curl链接时候出现error:
第一个窗口:

accepted connection, fd = 4
waiting for connection
Number of available devices == 2
Requesting connecion to device handle == 303 (serial: b29c91c66e9046a561930a70b3181c2ab75f4109), port 8001
Error connecting to device!

第三个窗口:
curl: (56) Recv failure: Connection reset by peer

不过不影响使用,照样可以跑起来

执行完成后,test fail

xcode是 9.4.1
ios是11.4.1

我设置跑60秒,感觉60秒正常跑完后,还是报test failed,是为什么呢?

这是一个log的结束部分:

17:34:32.829 testmanagerd[1269:596394] Test process connection invalidated or interrupted, closing test session <XCTestSession: 0x100912230>.
17:34:39.813 Xcode[1416:102770] Test process exited with exit code 0
17:34:39.814 Xcode[1416:102770] ############## DID EXECUTE #################
17:34:32.830 testmanagerd[1269:596396] Closed <XCTestSession: 0x100912230>, removing from (
"<XCTestSession: 0x100912230>"
)
17:34:32.830 testmanagerd[1269:596396] Tearing down <XCTestSession: 0x100912230>.
17:34:32.830 testmanagerd[1269:596396] XCTestSession is responsible for cleaning up its socket from an XCIDESession
17:34:32.830 testmanagerd[1269:596396] Shutting down lockdown socket
17:34:32.831 testmanagerd[1269:596396] Disconnected lockdown socket
17:34:32.831 testmanagerd[1269:596396] Tearing down <XCTDApplicationMonitor: 0x1009122e0>.
17:34:32.831 testmanagerd[1269:596396] Tearing down <XCTDProcessAssertionManager: 0x100b10be0>.
17:34:32.831 testmanagerd[1269:596396] Tearing down <XCTDApplicationLauncher: 0x100c0bc90>.
17:34:32.831 testmanagerd[1269:596396] Tearing down <XCTDSiriInterface: 0x100c0d190>.
17:34:32.832 testmanagerd[1269:596396] Invalidating <XCAXManager_iOS: 0x100c06730>
17:34:32.832 testmanagerd[1269:596396] Invalidated <XCTDAccessibilitySessionToken: 0x100c0c0c0>. Remaining XCTDAccessibilitySessionToken instances: {(
)}
17:34:32.832 testmanagerd[1269:596396] Unloading accessibility
17:34:32.832 testmanagerd[1269:596396] Turning off automation
17:34:32.838 testmanagerd[1269:596394] offset 0.302
17:34:32.839 testmanagerd[1269:596394] before/after <XCPointerEvent:0x10071e260 type:3 coordinate:(38,406) pressure:0.0000 offset:0.30s> (null)
17:34:32.839 testmanagerd[1269:596394] touch up {37.5, 406}
17:34:32.839 testmanagerd[1269:596394] normalized {37.5, 406} to {0.10000000000000001, 0.5}
17:34:32.839 testmanagerd[1269:596394] Waiting for touches complete.
17:34:32.839 testmanagerd[1269:596394] Gesture complete, replying to client.
17:34:32.857 testmanagerd[1269:579607] AX Notification 4002 (0x100c06730)
17:34:32.862 testmanagerd[1269:596396] Session summary: 0 test sessions, 0 sessions with identifiers, 0 unidentified sessions, has control sessions
17:34:32.862 testmanagerd[1269:596396] Control sessions: (
"<XCIDESession: 0x10080d980> (socket 5) created 2018\U5e749\U670818\U65e5 \U661f\U671f\U4e8c \U4e2d\U56fd\U6807\U51c6\U65f6\U95f4 \U4e0b\U53485:33:23"
)
17:34:32.870 testmanagerd[1269:579607] Calling handler for AX notification 4002:{
event = TouchEventsCompleted;
}
17:34:32.871 testmanagerd[1269:579607] Got user testing notification with payload {
event = TouchEventsCompleted;
}
17:34:40.075 Xcode[1416:102770] <IDETestOperationCoordinator: 0x7fced47558a0> finished receiving data from <IDEConsoleAdaptor: 0x7fced31bf5e0 'target' stdin: (null) 0 stdout: (null) 0 stderr: (null) 0>
17:34:40.075 Xcode[1416:102770] <IDETestOperationCoordinator: 0x7fced47558a0>: _considerFlushingDelegateBlockQueue - nothing to flush
17:34:42.006 Xcode[1416:102770] Test operation failure: Test session exited(0) without completing.
17:34:42.006 Xcode[1416:102770] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Test session exited(0) without completing." UserInfo={NSLocalizedDescription=Test session exited(0) without completing.}`

另一个log里就显示test fail了:

2018-09-18 17:34:41.871184+0800 XCTestWDUITests-Runner[1347:597186] +[CATransaction synchronize] called within transaction
2018-09-18 17:34:41.967168+0800 XCTestWDUITests-Runner[1347:597186] Running tests...
2018-09-18 17:34:44.434253+0800 XCTestWDUITests-Runner[1347:597186] Continuing to run tests in the background with task ID 1

Restarting after unexpected exit or crash in XCTextWDRunner/testRunner(); summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2018-09-18 17:34:45.130
17:34:45.130 XCTestWDUITests-Runner[1347:597186] -[XCTRunnerIDESession testSuiteWillStart:]
17:34:52.107 Xcode[1416:543922] <IDETestOperationCoordinator: 0x7fced4662fc0>: parseConsoleOutputFromOriginalOutput: called, 195 bytes written out to StandardOutputAndStandardError
17:34:52.107 Xcode[1416:102770] _XCT_testSuite:Selected tests didStartAt:2018-09-18 09:34:45 +0000
17:34:45.131 XCTestWDUITests-Runner[1347:597186] -[XCTRunnerIDESession testSuiteWillStart:]
17:34:52.108 Xcode[1416:102770] _XCT_testSuite:XCTestWDUITests.xctest didStartAt:2018-09-18 09:34:45 +0000
17:34:45.131 XCTestWDUITests-Runner[1347:597186] -[XCTRunnerIDESession testSuiteDidFinish:]
Test Suite 'XCTestWDUITests.xctest' started at 2018-09-18 17:34:45.130
Test Suite 'XCTestWDUITests.xctest' failed at 2018-09-18 17:34:45.131.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'Selected tests' failed at 2018-09-18 17:34:45.131.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.001) seconds

在Xcode10.2中运行报错

image

我把runscript中的shell删除了 没删除之前编译报错 删除之后报上面图中的错误,在调用oc方法时说找不到方法(是在启动了目标应用之后 执行到这里报错的)

(环境部署) Missing required module 'libxml2' 异常.

环境 : xcode 9.2,模拟器 iPhone8(ios 11.2)

步骤:当执行Test后,报错如下.

/Users/james/Desktop/Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/server/models/extensions/XCTestWDAccessibility.swift:10:8: Missing required module 'libxml2'

工程编译不通过,定义的XCUIApplicationState无法识别

第一次接触IOS工程,编译引入第三方库后,解决若干问题后,遇到一个问题怎么也解决不了了:
问题1:@Property XCUIApplicationState state;报错
/Users/XXX/git/Fastmonkey-master 2/XCTestWD-master/XCTestWD/XCTestWDUITests/PrivateHeaders/XCUIApplication.h:37:11: Unknown type name 'XCUIApplicationState'; did you mean 'UIApplicationState'?
问题2:注视掉报错的上一个问题中的定义之后:
/Users/longmin.shang/git/Fastmonkey-master 2/XCTestWD-master/XCTestWD/XCTestWDUITests/server/models/XCTestWDSession.swift:115:63: Value of type 'XCUIApplication' has no member 'state'和'activate'
求楼主帮忙解答一下!万分感谢

LoginAction不能正常进入

Swift新手用户,Debug的时候在进入Login Action的时候,每当运行到下面的代码,就直接跳转到return了,没有执行第二个if的内部逻辑。

if let element = element {
                    if let element = element {
                        
                        NSLog("XCTestWDSetup->loginuser find?\(String(describing: element))<-XCTestWDSetup")
                        let value = "at01"
                        let rect = element.wdRect()
                        let point = CGPoint(x:rect["x"]!,y:rect["y"]!)
                        let locations = [point]
                        let semaphore = DispatchSemaphore(value: 0)
                        let numberOfTaps = 1
                        self!.sharedXCEventGenerator.tapAtTouchLocations(locations, numberOfTaps: UInt(numberOfTaps), orientation: orientationValue) {
                            semaphore.signal()
                        }
                        semaphore.wait()
                        self?.sleep(1)
                        XCTestDaemonsProxy.testRunnerProxy()._XCT_send(value, maximumFrequency: 60) { (error) in
                            semaphore.signal()
                            if error != nil {
                                NSLog("Error occured in sending key: \(error.debugDescription)")
                            }
                        }
                        semaphore.wait()
                    }
                    else{
                        return
                    }
                }

element是用Appium Inspector查出来元素的XPath,在执行var element = try? XCTestWDFindElementUtils.filterElement(usingText: usage, withvalue: username, underElement: root!)这段代码的时候,element是有值得,一个地址,但是没有列出来具体是什么,执行了上述代码两个if之后,就变成了nil,之后就直接跳转到return了。
不知道是不是个issue,现在一直调不通,指教下!

(P2 BUG)IOS 10.3.3报This coder is only encodes objects that adopt NSSecurecoding

XCode9.2,在IOS 11.2的机器中完美运行,但在IOS 10.3.3下报这个错误
d12d01103a0e5242bef0e9de80336e39

t =    36.50s     Find: Descendants matching type Any
t =    36.52s     Find: Element at index 0
t =    36.54s Find the Application "com.pupumall.customer.test" 0x19699d00
t =    36.54s     Snapshot accessibility hierarchy for app with pid 245
t =    37.50s Find the Application "com.pupumall.customer.test" 0x19699d00
t =    37.51s     Snapshot accessibility hierarchy for app with pid 245

2018-01-05 15:42:53.980312+0800 XCTestWDUITests-Runner[239:20342] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSXPCEncoder _checkObject:]: This coder only encodes objects that adopt NSSecureCoding (object is of class 'NSMallocBlock').'
*** First throw call stack:
(0x1c59bb3d 0x1b823067 0x1c59ba85 0x1cdf6ecd 0x1cdf6c2f 0x299cbb 0x1cdf7421 0x1cdf7833 0x1cdf7597 0x1cdf7421 0x1cfd715f 0x1cfd6883 0x1cdf6809 0x1c59ef63 0x1c4c7dc8 0x2adcff 0x24761c0 0x24b4450 0x24b44d4 0x24b34ec 0x24b2b24 0x24b1bb0 0x1bc74067 0x1bc78d77 0x1bc69783 0x1bc6dd05 0x1c557d69 0x1c555e19 0x1c4a91af 0x1c4a8fd1 0x1cdfdaf5 0x1ce4adb9 0x2486634 0x24c16a8 0x24c17d4 0x1c5a0354 0x1c4c42b9 0x2a05e5 0x2eb155 0x2a0355 0x2e43b7 0x2a000b 0x2a1107 0x2e8bd9 0x2a0b43 0x29cde1 0x29c6e7 0x29c97f 0x29cde1 0x29c6e7 0x29c97f 0x29cde1 0x29c6e7 0x29c97f 0x2f1ed9 0x2afacf 0x2f1d71 0x28cadb 0x2e7e0d 0x1c557f15 0x1c557925 0x1c555f47 0x1c4a91af 0x1c4a8fd1 0x1dc53b41 0x21831a53 0xbef69 0x1bc964eb)
libc++abi.dylib: terminating with uncaught exception of type NSException

XCTestWDRunner报错

Build settings from command line:
XCTESTWD_PORT = 8001

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: No profiles for 'XCTestWDRunner.XCTestWDRunner.Ali-71875N.ee.local' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'XCTestWDRunner.XCTestWDRunner.Ali-71875N.ee.local'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'XCTestWDUITests')

** BUILD FAILED **

询问一下Fastmonkey工具的升级计划

Fastmonkey由于是非插装的工具,非常适合我们公司使用,但是现在工具只能支持到xcode10.1,而IOS系统已经升级到12.3,并且IOS 13 BETA版也已经出来了,想询问一下近期是否有计划可以支持到xcode10.2以及后续可以随着xcode版本更新持续维护

(P3 BUG)登录方法获取到的坐标不是控件中心的坐标

let point = CGPoint(x:rect["x"]!,y:rect["y"]!)
这个方法获取的是控件的左上角顶点坐标而不是控件中心的坐标,可以修改一下哈
let point = CGPoint(x:(rect["x"]!+rect["width"]!/2),y:(rect["y"]!+rect["height"]!/2))
改成这样应该是对的,最好能够抽象出来一个方法,不需要每新增一个action都需要写一遍类似登录的方法,可以以传参的方式抽象出来,这样使用起来可能更方便一些(不过登录方法的这个实例不要删除哈,有实例更方便人理解,可以把登录方法抽象一个通用的方法)

Xcode 9.4 Build Failed

Xcode 9.4

执行 carthage update 报错:

*** xcodebuild output can be found in /var/folders/j8/q4h1wb4d6t7g2cj2f5c9by300000gn/T/carthage-xcodebuild.Ij1ObQ.log
*** Building scheme "AEXML iOS" in AEXML.xcodeproj
*** Building scheme "CocoaLumberjack" in Demos.xcworkspace
*** Building scheme "CocoaLumberjackSwift" in Demos.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/admin/ws/git/Fastmonkey/XCTestWD-master/Carthage/Checkouts/CocoaLumberjack/Demos/Demos.xcworkspace -scheme CocoaLumberjackSwift -configuration Release -derivedDataPath /Users/admin/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/CocoaLumberjack/3.5.3 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/j8/q4h1wb4d6t7g2cj2f5c9by300000gn/T/CocoaLumberjack SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/admin/ws/git/Fastmonkey/XCTestWD-master/Carthage/Checkouts/CocoaLumberjack)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/j8/q4h1wb4d6t7g2cj2f5c9by300000gn/T/carthage-xcodebuild.Ij1ObQ.log

报错文件内容如下

cd /Users/admin/ws/git/Fastmonkey/XCTestWD-master/Carthage/Checkouts/CocoaLumberjack
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/admin/.rvm/gems/ruby-2.6.0/bin:/Users/admin/.rvm/gems/ruby-2.6.0@global/bin:/Users/admin/.rvm/rubies/ruby-2.6.0/bin:/usr/local/opt/gettext/bin:/Users/admin/ws/local/gradle-4.9/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Users/admin/ws/local/sdk/tools:/Users/admin/ws/local/sdk/platform-tools:/Users/admin/ws/local/apache-maven-3.6.0/bin:/Users/admin/ws/ssh:/Users/admin/.rvm/bin"
/bin/chmod -RH u+w,go-w,a+rX /Users/admin/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/CocoaLumberjack/3.5.3/Build/Intermediates.noindex/ArchiveIntermediates/CocoaLumberjackSwift/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaLumberjack.framework

=== BUILD TARGET CocoaLumberjackSwift OF PROJECT Lumberjack WITH CONFIGURATION Release ===

Check dependencies
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)

给monkey加小手显示,OC项目使用monkeyPaws

代码入库

  • 简单粗暴的:
    monkeyPaws中的四个.swift拖到项目中

  • pod安装,但是坑略多, 真的踩坑了再at我吧~

修改如下代码

1.在AppDelegate.m:

  • 导入#import "YouProjectName-Swift.h" YouProjectName是你项目的名称
  • @interface 里新增属性@property (strong, nonatomic) MonkeyPaws *paws;
  • didFinishLaunchingWithOptions启动回调里加入代码self.paws = [[MonkeyPaws alloc] initWithView:self.window tapUIApplication:true];

2.在MonkeyPaws.swift:

  • MonkeyPaws该类需要被@objc修饰
  • 修改初始化方法init, 把参数有默认值的直接就在init内部赋值, 不要在形参占坑

改前:
image
改后:
image

嗯~ 然后呢, 其他问题看图(来自OC和Swift混编开发配置):
image

重点: 然后先别管报错, 直接试着撸起来

在命令行执行xcodebuild就开始安装和执行monkey,且最后还报错了!另外执行curl是也是出错了

  1. 大神,你好,在执行完monkey之后出现如下错误
    )}, isUniversal: 0, isXcodeManaged: 0, platforms: {(
    <0x7fa0515441c0:>>,
    <0x7fa051539ef0:>>
    )}, filePath: <0x7fa054141ad0: profiles>>
    )}
    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    bootArgs:
    connected: yes
    isWirelessEnabled: no
    connectionType: direct
    } (11.2.6 (15D100))
    MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
    state->old_bundle: /var/folders/pm/cw2vmzgx4fgbr69h7zl9fx1w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/bc0dfc406daf17d162760c73af6a35fc/1fd2561c180fc6838fa7565de169960e965e9ec3/XCTestWDUITests-Runner.app
    state->new_bundle: /Users/dengjian/Library/Developer/Xcode/DerivedData/XCTestWD-fnuhsnwpyzwltgcbbdpzwgexyhef/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app
    state->dst_bundle: /var/folders/pm/cw2vmzgx4fgbr69h7zl9fx1w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.MpJNkW/XCTestWDUITests-Runner.app_sparse.ipa/Payload//XCTestWDUITests-Runner.app, binaryDiff flag: FALSE
    dst_ipa: /var/folders/pm/cw2vmzgx4fgbr69h7zl9fx1w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.MpJNkW/XCTestWDUITests-Runner.app_sparse.ipa
    MDMDirectoryDiff_block_invoke:1473 calling writeDictToFile with: /var/folders/pm/cw2vmzgx4fgbr69h7zl9fx1w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.MpJNkW/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist
    writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/pm/cw2vmzgx4fgbr69h7zl9fx1w0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/XCTestWDUITests-Runner.app.MpJNkW/XCTestWDUITests-Runner.app_sparse.ipa/ManifestCache.plist
    2018-04-16 15:51:17.282802+0800 XCTestWDUITests-Runner[1989:456280] +[CATransaction synchronize] called within transaction
    2018-04-16 15:51:17.499111+0800 XCTestWDUITests-Runner[1989:456280] Running tests...
    2018-04-16 15:51:18.797476+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl accessibilityLabel]
    2018-04-16 15:51:18.797842+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl accessibilityValue]
    2018-04-16 15:51:18.797943+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl accessibilityTraits]
    2018-04-16 15:51:18.798116+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl isAccessibilityElement]
    2018-04-16 15:51:18.798203+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl accessibilityIncrement]
    2018-04-16 15:51:18.798277+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[CAMLightingControl accessibilityDecrement]
    2018-04-16 15:51:18.798354+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding +[CAMLightingControl safeCategoryBaseClass]
    2018-04-16 15:51:18.798614+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[PHAsset accessibilityLabel]
    2018-04-16 15:51:18.798698+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[PHAsset accessibilityValue]
    2018-04-16 15:51:18.798766+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[PHAsset accessibilityTraits]
    2018-04-16 15:51:18.799456+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding -[PHAsset _accessibilitySavePhotoLabel:]
    2018-04-16 15:51:18.799583+0800 XCTestWDUITests-Runner[1989:456280] [AXValidations] UIAccessibility Error adding +[PHAsset safeCategoryBaseClass]
    2018-04-16 15:51:18.841197+0800 XCTestWDUITests-Runner[1989:456280] Continuing to run tests in the background with task ID 1

Restarting after unexpected exit or crash in XCTextWDRunner/testRunner(); summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2018-04-16 15:51:19.698
Test Suite 'XCTestWDUITests.xctest' started at 2018-04-16 15:51:19.701
Test Suite 'XCTestWDUITests.xctest' failed at 2018-04-16 15:51:19.702.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.001) seconds
Test Suite 'Selected tests' failed at 2018-04-16 15:51:19.704.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.006) seconds
** TEST FAILED **

(IOS系统 BUG)xcode升级为9.1版本,测试机为ios11,无法启动XCTestXDRunner(特定部分ios版本 备忘)

启动之后,XCTestXDRunner可以安装但是无法启动,
xcode启动项目报错如下:
dyld: Symbol not found: _SCNSceneExportPresentationTree
Referenced from: /Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Expected in: /System/Library/Frameworks/SceneKit.framework/SceneKit
in /Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
xcodebuild启动一直卡在:
/usr/bin/codesign --force --sign 30BB68AFAE93F12348FF0D0A64FD07322AEBF665 --deep --entitlements /Users/qa/Library/Developer/Xcode/DerivedData/XCTestWD-hcmeyhsaktyavzcgmjezzeiciuxt/Build/Intermediates.noindex/XCTestWD.build/Debug-iphoneos/XCTestWDUITests.build/XCTestWDUITests.xctest.xcent --timestamp=none /Users/qa/Library/Developer/Xcode/DerivedData/XCTestWD-hcmeyhsaktyavzcgmjezzeiciuxt/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app
/Users/qa/Library/Developer/Xcode/DerivedData/XCTestWD-hcmeyhsaktyavzcgmjezzeiciuxt/Build/Products/Debug-iphoneos/XCTestWDUITests-Runner.app: replacing existing signature

writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/jb/qpv_lq397pjcv0qdp9myf5740000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/5803727a645464263f3c28a371c6e704/c0aca69435d83a3173d700f10054905eaea07c3c/ManifestCache.plist

(环境问题)更新代码的同学:xcode8.3,更新master后变为支持9.0的代码,切回xcode8.3的branch后,carthage update失败

*** Building scheme "AEXML iOS" in AEXML.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/sunsujun/Desktop/liufan/Fastmonkey83/Fastmonkey/XCTestWD-master/Carthage/Checkouts/AEXML/AEXML.xcodeproj -scheme AEXML\ iOS -configuration Release -derivedDataPath /Users/sunsujun/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3_8E162/AEXML/4.2.2 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath ./ SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/sunsujun/Desktop/liufan/Fastmonkey83/Fastmonkey/XCTestWD-master/Carthage/Checkouts/AEXML)

原因是git上默认的cartfile中AEXML版本没有指定,默认co了最新的4.2.2版本。
改为指定4.1.0后,安装编译通过

(P3 BUG)分别通过设置执行次数actionMax 和 时长elapsedTime,跑完限制的次数和时长后,总会提示截图错误

2018-03-07 17:12:03.691539+0800 XCTestWDUITests-Runner[403:56820] Running tests...
2018-03-07 17:12:05.764757+0800 XCTestWDUITests-Runner[403:56820] Continuing to run tests in the background with task ID 1

Restarting after unexpected exit or crash in XCTextWDRunner/testRunner(); summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2018-03-07 17:12:07.767
Test Suite 'XCTestWDUITests.xctest' started at 2018-03-07 17:12:07.773
Test Suite 'XCTestWDUITests.xctest' failed at 2018-03-07 17:12:07.778.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.004) seconds
Test Suite 'Selected tests' failed at 2018-03-07 17:12:07.783.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.016) seconds
LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted
LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted

Test session log:
/var/folders/tx/156l390d6l1db1nxds2f8_z00000gn/T/com.apple.dt.XCTest/IDETestRunSession-A712E8E9-A5E4-4FFE-821F-18220C851315/XCTestWDUITests-7619B079-E994-482D-80E0-0B7856394F33/Session-XCTestWDUITests-2018-03-07_171155-rwfDRD.log

image

recordFailure

catching internal failure: Unable to update application state promptly for Application 'com. xx'. in file: Fastmonkey/XCTestWD-master/XCTestWD/XCTestWDUITests/XCTestWDRunner.swift at line: 43

问下什么失败会触发这个方法。

line 43: _ = self.monkey?.startMonkey()

FastMonkey中添加网络请求代码会失败

比如添加如下网络请求的代码会出现错误,请问这种情况有遇到过吗?

url  = "http://www.baidu.com"
request(url).response { (response) in
    debugPrint("reponse=\(response)");
}
2020-01-22 15:14:09.468567+0800 XCTestWDUITests-Runner[1202:315679] Task <8325DA0F-DF48-4B54-998D-449B10013EB0>.<41> load failed with error Error Domain=NSURLErrorDomain Code=-1009 "似乎已断开与互联网的连接。" UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x281de43f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <8325DA0F-DF48-4B54-998D-449B10013EB0>.<41>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <8325DA0F-DF48-4B54-998D-449B10013EB0>.<41>"
), NSLocalizedDescription=似乎已断开与互联网的连接。, NSErrorFailingURLStringKey=http://www.baidu.com/, NSErrorFailingURLKey=http://www.baidu.com/, _kCFStreamErrorDomainKey=1} [-1009]
    t =   188.64s Get number of matches for: Descendants matching type TabBar
"reponse=DefaultDataResponse(request: Optional(http://www.baidu.com), response: nil, data: Optional(0 bytes), error: Optional(Error Domain=NSURLErrorDomain Code=-1009 \"似乎已断开与互联网的连接。\" UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x281de43f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 \"(null)\" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <8325DA0F-DF48-4B54-998D-449B10013EB0>.<41>, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <8325DA0F-DF48-4B54-998D-449B10013EB0>.<41>\"\n), NSLocalizedDescription=似乎已断开与互联网的连接。, NSErrorFailingURLStringKey=http://www.baidu.com/, NSErrorFailingURLKey=http://www.baidu.com/, _kCFStreamErrorDomainKey=1}), timeline: Timeline: { \"Request Start Time\": 601370049.459, \"Initial Response Time\": 601370049.470, \"Request Completed Time\": 601370049.470, \"Serialization Completed Time\": 601370053.472, \"Latency\": 0.011 secs, \"Request Duration\": 0.011 secs, \"Serialization Duration\": 4.002 secs, \"Total Duration\": 4.013 secs }, _metrics: Optional((Task Interval) <_NSConcreteDateInterval: 0x2813df1c0> (Start Date) 2020-01-22 07:14:09 +0000 + (Duration) 0.008916 seconds = (End Date) 2020-01-22 07:14:09 +0000\n(Redirect Count) 0\n(Transaction Metrics) (Request) <NSURLRequest: 0x28119a5e0> { URL: http://www.baidu.com/ }\n(Response) (null)\n(Fetch Start) 2020-01-22 07:14:09 +0000\n(Domain Lookup Start) (null)\n(Domain Lookup End) (null)\n(Connect Start) (null)\n(Secure Connection Start) (null)\n(Secure Connection End) (null)\n(Connect End) (null)\n(Request Start) 2020-01-22 07:14:09 +0000\n(Request End) 2020-01-22 07:14:09 +0000\n(Response Start) 2020-01-22 07:14:09 +0000\n(Response End) (null)\n(Protocol Name) (null)\n(Proxy Connection) NO\n(Reused Connection) YES\n(Fetch Type) Unknown\n\n))"

关于Monkey日志的保存路径如何自定义的问题

请问作者,以下这个log的日志路径要如何自定义?/Users/xxx/Library/Developer/Xcode/DerivedData/XCTestWD-xxx/Logs/Test/Run-XCTestWDUITests-xxx.xcresult/2_Test/Diagnostics/XCTestWDUITests-xxx/XCTestWDUITests-xxx/Session-XCTestWDUITests-xxx.log

Xcode9.4 carthage update failed

carthage update
*** Fetching AEXML
*** Fetching SwiftyJSON
*** Fetching Fuzi
*** Fetching swifter
*** Checking out swifter at "1.3.3"
*** Checking out Fuzi at "1.0.1"
*** Checking out SwiftyJSON at "3.1.4"
*** Checking out AEXML at "4.1.0"
*** xcodebuild output can be found in /var/folders/x7/vf177lbx39g8lz_mb4lr7bhw0000gp/T/carthage-xcodebuild.j6T3Ro.log
*** Building scheme "AEXML OSX" in AEXML.xcodeproj
*** Building scheme "AEXML watchOS" in AEXML.xcodeproj
*** Building scheme "AEXML iOS" in AEXML.xcodeproj
*** Building scheme "AEXML tvOS" in AEXML.xcodeproj
*** Building scheme "Fuzi" in Fuzi.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/gg/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Fuzi.xcworkspace -scheme Fuzi -configuration Release -derivedDataPath /Users/gg/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1 -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/x7/vf177lbx39g8lz_mb4lr7bhw0000gp/T/Fuzi SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/gg/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi)

详细日志:

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/x7/vf177lbx39g8lz_mb4lr7bhw0000gp/T/carthage-xcodebuild.j6T3Ro.log

90 was NULL
=== BUILD TARGET AEXML tvOS OF PROJECT AEXML WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/AEXML/4.1.0/Build/Intermediates.noindex/AEXML.build/all-product-headers.yaml

** BUILD SUCCEEDED **

/usr/bin/xcrun xcodebuild -workspace /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Fuzi.xcworkspace -scheme Fuzi -configuration Release -derivedDataPath /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1 -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/x7/vf177lbx39g8lz_mb4lr7bhw0000gp/T/Fuzi SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi)User defaults from command line:
IDEArchivePathOverride = /var/folders/x7/vf177lbx39g8lz_mb4lr7bhw0000gp/T/Fuzi
IDEDerivedDataPathOverride = /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1

Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = watchos4.3
SKIP_INSTALL = YES
STRIP_INSTALLED_PRODUCT = NO

2018-06-11 15:06:12.228 xcodebuild[45696:5727760] DTDeviceKit: deviceType from 11d20d34cc35c4acb3ee9d6bdc3bae6d402fd890 was NULL
=== BUILD TARGET Fuzi OF PROJECT Fuzi WITH CONFIGURATION Release ===

Check dependencies
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Sources/Info.plist'.

Write auxiliary files
/bin/mkdir -p /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi.LinkFileList
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/all-product-headers.yaml
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-project-headers.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-generated-files.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-all-non-framework-target-headers.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/unextended-module.modulemap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/module.modulemap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/swift-overrides.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-all-target-headers.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi-OutputFileMap.json
/bin/mkdir -p /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources/Fuzi_vers.c
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/unextended-module-overlay.yaml
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi.hmap
write-file /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-own-target-headers.hmap

Create product structure
/bin/mkdir -p /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework/Modules
/bin/mkdir -p /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework/Headers

ProcessInfoPlistFile /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework/Info.plist Sources/Info.plist
cd /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0@global/bin:/Users/gaohailong/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/gaohailong/Library/Android/sdk/tools/bin:/Users/gaohailong/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin:/Users/gaohailong/.rvm/bin"
builtin-infoPlistUtility /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Info.plist -expandbuildsettings -format binary -platform watchos -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework/Info.plist

CopyPlistFile /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework/Info.plist Sources/Info.plist
cd /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0@global/bin:/Users/gaohailong/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/gaohailong/Library/Android/sdk/tools/bin:/Users/gaohailong/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin:/Users/gaohailong/.rvm/bin"
builtin-copyPlist --convert binary1 --outdir /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework -- Sources/Info.plist

SymLink /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos/Fuzi.framework /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework
cd /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0@global/bin:/Users/gaohailong/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/gaohailong/Library/Android/sdk/tools/bin:/Users/gaohailong/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin:/Users/gaohailong/.rvm/bin"
/bin/ln -sfh /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/UninstalledProducts/watchos/Fuzi.framework /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos/Fuzi.framework

CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
cd /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0/bin:/Users/gaohailong/.rvm/gems/ruby-2.3.0@global/bin:/Users/gaohailong/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/gaohailong/Library/Android/sdk/tools/bin:/Users/gaohailong/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin:/Users/gaohailong/.rvm/bin"
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name Fuzi -O -whole-module-optimization -sdk /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk -target armv7k-apple-watchos2.0 -g -module-cache-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/ModuleCache.noindex -Xfrontend -serialize-debugging-options -application-extension -embed-bitcode -swift-version 3 -I /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos -I /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2 -F /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos -c -num-threads 4 /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Element.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Node.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/NodeSet.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Error.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Document.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Helpers.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Queryable.swift -output-file-map /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi.swiftmodule -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-generated-files.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-own-target-headers.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-project-headers.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2 -Xcc -I/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Fuzi -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources/armv7k -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi

CompileSwift normal armv7k
cd /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -emit-bc /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Element.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Node.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/NodeSet.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Error.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Document.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Helpers.swift /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Queryable.swift -target armv7k-apple-watchos2.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk -I /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos -I /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2 -F /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos -application-extension -g -import-underlying-module -module-cache-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/ModuleCache.noindex -swift-version 3 -O -serialize-debugging-options -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-generated-files.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-own-target-headers.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Fuzi-project-headers.hmap -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/BuildProductsPath/Release-watchos/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2 -Xcc -I/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Fuzi -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources/armv7k -Xcc -I/Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/DerivedSources -Xcc -ivfsoverlay -Xcc /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi -emit-module-doc-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi.swiftdoc -serialize-diagnostics-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Element.dia -module-name Fuzi -emit-module-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi.swiftmodule -emit-objc-header-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Fuzi-Swift.h -emit-dependencies-path /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Element.d -num-threads 4 -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Element.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Node.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/NodeSet.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Error.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Document.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Helpers.bc -o /Users/gaohailong/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4_9F1027a/Fuzi/1.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Fuzi/IntermediateBuildFilesPath/Fuzi.build/Release-watchos/Fuzi.build/Objects-normal/armv7k/Queryable.bc
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: note: while building module 'Foundation' imported from /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:
#import <Foundation/Foundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: note: while building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
#include <dispatch/dispatch.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/dispatch/dispatch.h:59:10: note: while building module 'os_object' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/dispatch/dispatch.h:59:
#include <os/object.h>
^
:1:9: note: in file included from :1:
#import "os/object.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/os/object.h:101:9: error: could not build module 'ObjectiveC'
#import <objc/NSObject.h>
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: note: while building module 'Foundation' imported from /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:
#import <Foundation/Foundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: note: while building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
#include <dispatch/dispatch.h>
^
:1:9: note: in file included from :1:
#import "dispatch.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/dispatch/dispatch.h:59:10: error: could not build module 'os_object'
#include <os/object.h>
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: note: while building module 'Foundation' imported from /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:
#import <Foundation/Foundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreFoundation.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:60:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:60:
#include <CoreFoundation/CFPropertyList.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:17:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:17:
#include <CoreFoundation/CFStream.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: error: could not build module 'Dispatch'
#include <dispatch/dispatch.h>
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: note: while building module 'Foundation' imported from /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:
#import <Foundation/Foundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/Foundation.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: note: while building module 'Foundation' imported from /Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:
#import <Foundation/Foundation.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:9: note: while building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
#import <Security/Security.h>
^
:1:9: note: in file included from :1:
#import "Headers/Security.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:
#include <Security/SecBase.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS4.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CFBase.h>
^
:1:9: note: in file included from :1:
#import "Headers/Fuzi.h"
^
/Users/gaohailong/Fastmonkey/XCTestWD-master/Carthage/Checkouts/Fuzi/Sources/Fuzi.h:22:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
:0: error: could not build Objective-C module 'Fuzi'

** ARCHIVE FAILED **

The following build commands failed:
CompileSwift normal armv7k
CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)

(P1 BUG)xcode8.3 monkey存在几率性崩溃

t =  1606.79s             Assertion Failure: MonkeyXCTest.swift:47: Failed to get snapshot within 15.0s

2017-09-11 14:20:27.249872+0800 XCTRunner[485:38861] *** Terminating app due to uncaught exception '_XCTestCaseInterruptionException', reason: 'Interrupting test'
*** First throw call stack:
(0x1835d6fe0 0x182038538 0x1835d6f28 0x1001df1f0 0x1001f57c0 0x10021b69c 0x1001e5d2c 0x10021b484 0x10021a748 0x100218214 0x1001e5d2c 0x100218174 0x106e5c8c0 0x106e880c0 0x106e8744c 0x106e86d20 0x106e4e8a8 0x18249a43c 0x18248e9a0 0x18249f7a8 0x18248e9a0 0x1824935e8 0x1835850c8 0x183582ce4 0x1834b2da4 0x183fcddb4 0x184022704 0x106e649e4 0x106e92e60 0x106e92f6c 0x1835dce80 0x1834d22c4 0x1001e0a30 0x100224aac 0x1001e067c 0x10021bdac 0x1001e0430 0x1001e0d80 0x1001ddf44 0x1001ddb64 0x1001ddd54 0x1001ddf44 0x1001ddb64 0x1001ddd54 0x1001ddf44 0x1001ddb64 0x1001ddd54 0x100229a14 0x1001ec8dc 0x100229894 0x1001c8f70 0x10021f6f8 0x18358530c 0x183584b28 0x183582998 0x1834b2da4 0x184f1d074 0x18976dc9c 0x100034474 0x1824c159c)
libc++abi.dylib: terminating with uncaught exception of type _XCTestCaseInterruptionException
(lldb)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.