inspector doesn't start, it gets stuck at XCTestWD version.
I'm trying to start the app inspector but it doesn't get to the point of starting the inspector. Attaching logs. I'm only using this for my iOS simulator for a native iOS app so can ignore the Android checklist. and it was working fine before so "ios_webkit_debug_proxy is uninstalled" shouldn't be an issue
Environment check:
$ npm i macaca-cli -g && macaca doctor
macaca-doctor version: 2.0.18
Node.js checklist:
node env: /usr/local/bin/node
node version: v14.16.0
iOS checklist:
macOS version: 11.5.2
Xcode Command Line Tools is ready, version: 2384.
xcodebuild version: 12.5.1
iproxy[usbmuxd] is installed at: `/usr/local/bin/iproxy`
Command Line Tools: ios_webkit_debug_proxy is uninstalled
Android checklist:
JAVA version is `1.8`
JAVA_HOME is set to `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home`
ANDROID_HOME is set to `/Users/ankurgollen/Library/Android/sdk`
Platforms is set to `/Users/ankurgollen/Library/Android/sdk/platforms/android-30`
ADB tool is set to `/Users/ankurgollen/Library/Android/sdk/platform-tools/adb`
Command Line Tools: gradle is uninstalled
Installed driver list:
ios: 2.1.0
location: /usr/local/lib/node_modules/macaca-ios
-
app inspector version / 版本号: 2.0.29
-
os version / 系统: macOS 11.5.2
-
device information / 设备版本: simulator iOS 14.5
-
terminal log / 终端输出信息:
>> xctest-client.js:222:18 [master] pid:31078 Testing failed:
XCTestWD:
Module compiled with Swift 5.3.1 cannot be imported by the Swift 5.4.2 compiler: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/../Carthage/Build/iOS/Swifter.framework/Modules/Swifter.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
Testing cancelled because the build failed.
** TEST FAILED **
The following build commands failed:
CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/XCTestWDController.swift
CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDAlertController.swift
CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDElementController.swift
CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDScreensh...
>> xctest-client.js:233:20 [master] pid:31078 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:329:14 [master] pid:31078 killing runnerProc pid: 31081
>> xctest-client.js:245:16 [master] pid:31078 xctest client exit with code: 65, signal: null
try
app-inspector -u xxxx --verbosefor more log detail.
This is the translated issue:
inspector doesn't start, it gets stuck at XCTestWD version.
I'm trying to start the app inspector but it does not get to the point of starting the inspector. Attaching logs. I'm only using this for my iOS simulator for a native iOS app so can ignore the Android checklist. And it was working fine before so "ios_webkit_debug_proxy is uninstalled" should not be an issue
Environment check:
`Bash $ Npm i macaca-cli -g && macaca doctor ``
macaca-doctor version: 2.0.18
Node.js checklist:
node env: / usr / local / bin / node node version: v14.16.0
iOS checklist:
macOS version: 11.5.2
Xcode Command Line Tools Is Ready, Version: 2384.
xcodebuild version: 12.5.1
iproxy [usbmuxd] is installed at: / usr / local / bin / iproxy
Command Line Tools: ios_webkit_debug_proxy is uninstalled
Android checklist:
JAVA version is 1.8
JAVA_HOME is set to / Library / Internet Plug-Ins / JavaAppletPlugin.plugin / Contents / Home
ANDROID_HOME is set to / Users / ankurgollen / Library / Android / sdk
Platforms is set to / Users / ankurgollen / Library / Android / sdk / platforms / android-30
ADB tool is set to / Users / ankurgollen / Library / Android / sdk / platform-tools / adb
Command Line Tools: gradle is uninstalled
Installed driver list:
ios: 2.1.0 location: / usr / local / lib / node_modules / macaca-ios
`` `
-
app inspector version / Version: 2.0.29
-
os version / system: macOS 11.5.2
-
device information / device version: simulator iOS 14.5
-
terminal log / output terminals: `` `
xctest-client.js: 222: 18 [master] pid: 31078 Testing failed: XCTestWD: Module compiled with Swift 5.3.1 can not be imported by the Swift 5.4.2 compiler: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/../Carthage/Build/iOS/Swifter.framework/ Modules / Swifter.swiftmodule / x86_64-apple-ios-simulator.swiftmodule Testing cancelled because the build failed.
** TEST FAILED **
The following build commands failed: CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/XCTestWDController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDAlertController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDElementController.swift CompileSwift normal x86_64 / usr / local / lib / node_modules / app-inspector / node_modules / xctestwd / XCTestWD / XCTestWD / Server / Controllers / XCTestWDScreensh ...
xctest-client.js: 233: 20 [master] pid: 31078 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 329: 14 [master] pid: 31078 killing runnerProc pid: 31081 xctest-client.js: 245: 16 [master] pid: 31078 xctest client exit with code: 65, signal: null ``
Tryapp-inspector -u xxxx --verbose` for more log detail.