appium-webdriveragent 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.4.1](https://github.com/appium/WebDriverAgent/compare/v5.4.0...v5.4.1) (2023-06-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Return default testmanagerd version if the info is not available ([#728](https://github.com/appium/WebDriverAgent/issues/728)) ([e6e2dbd](https://github.com/appium/WebDriverAgent/commit/e6e2dbd86fc0c48ae146905f0e69a6223360e856))
|
|
7
|
+
|
|
1
8
|
## [5.4.0](https://github.com/appium/WebDriverAgent/compare/v5.3.3...v5.4.0) (2023-06-09)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -123,12 +123,16 @@ NSInteger FBTestmanagerdVersion(void)
|
|
|
123
123
|
static NSInteger testmanagerdVersion;
|
|
124
124
|
dispatch_once(&getTestmanagerdVersion, ^{
|
|
125
125
|
id<XCTestManager_ManagerInterface> proxy = [FBXCTestDaemonsProxy testRunnerProxy];
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
if ([(NSObject *)proxy respondsToSelector:@selector(_XCT_exchangeProtocolVersion:reply:)]) {
|
|
127
|
+
[FBRunLoopSpinner spinUntilCompletion:^(void(^completion)(void)){
|
|
128
|
+
[proxy _XCT_exchangeProtocolVersion:testmanagerdVersion reply:^(unsigned long long code) {
|
|
129
|
+
testmanagerdVersion = (NSInteger) code;
|
|
130
|
+
completion();
|
|
131
|
+
}];
|
|
132
|
+
}];
|
|
133
|
+
} else {
|
|
134
|
+
testmanagerdVersion = 0xFFFF;
|
|
135
|
+
}
|
|
132
136
|
});
|
|
133
137
|
return testmanagerdVersion;
|
|
134
138
|
}
|