appium-webdriveragent 3.16.0 → 4.1.4
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/PrivateHeaders/XCTest/XCAXClient_iOS.h +0 -7
- package/PrivateHeaders/XCTest/XCAccessibilityElement.h +2 -0
- package/PrivateHeaders/XCTest/XCElementSnapshot.h +0 -7
- package/PrivateHeaders/XCTest/XCPointerEventPath.h +0 -2
- package/PrivateHeaders/XCTest/XCTestCaseRun.h +0 -2
- package/PrivateHeaders/XCTest/XCTestDriver.h +0 -6
- package/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h +0 -2
- package/PrivateHeaders/XCTest/XCUIApplication.h +0 -3
- package/PrivateHeaders/XCTest/XCUIDevice.h +0 -2
- package/PrivateHeaders/XCTest/XCUIElement.h +0 -5
- package/PrivateHeaders/XCTest/XCUIElementQuery.h +0 -2
- package/README.md +6 -0
- package/Scripts/build-webdriveragent.js +1 -1
- package/Scripts/build.sh +7 -2
- package/Scripts/fetch-prebuilt-wda.js +1 -1
- package/WebDriverAgent.xcodeproj/project.pbxproj +10 -33
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationApp.xcscheme +3 -7
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_1.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_2.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/IntegrationTests_3.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentLib.xcscheme +10 -14
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentLib_tvOS.xcscheme +10 -14
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner-nodebug.xcscheme +3 -7
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner.xcscheme +1 -1
- package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner_tvOS.xcscheme +1 -1
- package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.h +0 -9
- package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +0 -16
- package/WebDriverAgentLib/Categories/XCUIElement+FBSwiping.h +1 -2
- package/WebDriverAgentLib/Categories/XCUIElement+FBSwiping.m +1 -5
- package/WebDriverAgentLib/Categories/XCUIElement+FBUtilities.m +1 -7
- package/WebDriverAgentLib/Commands/FBAlertViewCommands.m +6 -6
- package/WebDriverAgentLib/Commands/FBCustomCommands.m +1 -5
- package/WebDriverAgentLib/FBAlert.m +1 -0
- package/WebDriverAgentLib/FBApplication.m +1 -12
- package/WebDriverAgentLib/Utilities/FBFailureProofTestCase.m +7 -10
- package/WebDriverAgentLib/Utilities/FBScreen.m +3 -1
- package/WebDriverAgentLib/Utilities/FBW3CActionsSynthesizer.m +4 -16
- package/WebDriverAgentLib/Utilities/FBXCAXClientProxy.h +0 -2
- package/WebDriverAgentLib/Utilities/FBXCAXClientProxy.m +15 -37
- package/WebDriverAgentLib/Utilities/FBXCTestDaemonsProxy.m +4 -15
- package/WebDriverAgentLib/Utilities/FBXCodeCompatibility.h +0 -17
- package/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m +1 -55
- package/WebDriverAgentRunner-Runner.app.zip +0 -0
- package/WebDriverAgentTests/IntegrationTests/FBAlertTests.m +5 -0
- package/WebDriverAgentTests/IntegrationTests/FBAppiumMultiTouchActionsIntegrationTests.m +7 -0
- package/WebDriverAgentTests/IntegrationTests/FBAppiumTouchActionsIntegrationTests.m +19 -0
- package/WebDriverAgentTests/IntegrationTests/FBElementScreenshotTests.m +4 -0
- package/WebDriverAgentTests/IntegrationTests/FBElementSwipingTests.m +71 -6
- package/WebDriverAgentTests/IntegrationTests/FBElementVisibilityTests.m +3 -1
- package/WebDriverAgentTests/IntegrationTests/FBForceTouchTests.m +6 -0
- package/WebDriverAgentTests/IntegrationTests/FBIntegrationTestCase.m +2 -1
- package/WebDriverAgentTests/IntegrationTests/FBKeyboardTests.m +19 -0
- package/WebDriverAgentTests/IntegrationTests/FBW3CTouchActionsIntegrationTests.m +15 -0
- package/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m +1 -1
- package/WebDriverAgentTests/IntegrationTests/XCUIElementFBFindTests.m +1 -1
- package/build/index.js +6 -6
- package/build/lib/check-dependencies.js +4 -4
- package/build/lib/constants.js +2 -4
- package/build/lib/logger.js +3 -3
- package/build/lib/no-session-proxy.js +3 -3
- package/build/lib/utils.js +25 -25
- package/build/lib/webdriveragent.js +17 -17
- package/build/lib/xcodebuild.js +5 -5
- package/index.js +2 -2
- package/lib/check-dependencies.js +1 -1
- package/lib/constants.js +1 -2
- package/lib/logger.js +1 -1
- package/lib/no-session-proxy.js +1 -1
- package/lib/utils.js +1 -1
- package/lib/webdriveragent.js +2 -2
- package/lib/xcodebuild.js +1 -1
- package/package.json +13 -12
- package/PrivateHeaders/.DS_Store +0 -0
- package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/elf.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -91
- package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcschemes/xcschememanagement.plist +0 -59
- package/WebDriverAgentLib/.DS_Store +0 -0
- package/WebDriverAgentLib/Utilities/LRUCache/.DS_Store +0 -0
- package/WebDriverAgentLib/Vendor/.DS_Store +0 -0
- package/WebDriverAgentRunner/.DS_Store +0 -0
- package/WebDriverAgentTests/IntegrationApp/Resources/.DS_Store +0 -0
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
}
|
|
20
20
|
@property double AXTimeout;
|
|
21
21
|
|
|
22
|
-
// Removed since Xcode10.2
|
|
23
|
-
+ (id)sharedClient;
|
|
24
|
-
|
|
25
22
|
// Added since Xcode 10.2
|
|
26
23
|
@property(readonly) id applicationProcessTracker;
|
|
27
24
|
|
|
@@ -30,8 +27,6 @@
|
|
|
30
27
|
- (BOOL)performAction:(int)arg1 onElement:(id)arg2 value:(id)arg3 error:(id *)arg4;
|
|
31
28
|
- (id)parameterizedAttributeForElement:(id)arg1 attribute:(id)arg2 parameter:(id)arg3;
|
|
32
29
|
- (BOOL)setAttribute:(id)arg1 value:(id)arg2 element:(id)arg3 outError:(id *)arg4;
|
|
33
|
-
// Removed in Xcode 10.2
|
|
34
|
-
- (id)attributesForElement:(id)arg1 attributes:(id)arg2;
|
|
35
30
|
// since Xcode10
|
|
36
31
|
- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3;
|
|
37
32
|
- (id)attributesForElementSnapshot:(id)arg1 attributeList:(id)arg2;
|
|
@@ -54,8 +49,6 @@
|
|
|
54
49
|
- (BOOL)loadAccessibility:(id *)arg1;
|
|
55
50
|
- (BOOL)_registerForAXNotification:(int)arg1 error:(id *)arg2;
|
|
56
51
|
- (BOOL)_loadAccessibility:(id *)arg1;
|
|
57
|
-
// Before Xcode 11
|
|
58
|
-
- (id)snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(NSError **)arg4;
|
|
59
52
|
// Since Xcode 11
|
|
60
53
|
- (id)requestSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(NSError **)arg4;
|
|
61
54
|
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
|
|
5
5
|
//
|
|
6
6
|
|
|
7
|
+
// FIXME: Probably we can remove here. instead, probably we should follow only XCElementSnapshot
|
|
8
|
+
|
|
7
9
|
@class NSString;
|
|
8
10
|
|
|
9
11
|
@interface XCAccessibilityElement : NSObject <NSCopying, NSSecureCoding>
|
|
@@ -89,16 +89,9 @@
|
|
|
89
89
|
- (struct CGPoint)_transformPoint:(struct CGPoint)arg1 windowContextID:(id)arg2 windowDisplayID:(id)arg3;
|
|
90
90
|
- (id)hitTest:(struct CGPoint)arg1;
|
|
91
91
|
|
|
92
|
-
/*! DO NOT USE DIRECTLY! Please use fb_rootElement instead */
|
|
93
|
-
- (XCElementSnapshot *)_rootElement;
|
|
94
|
-
/*! DO NOT USE DIRECTLY! Please use fb_rootElement instead */
|
|
95
|
-
- (XCElementSnapshot *)rootElement;
|
|
96
|
-
|
|
97
92
|
// Available since Xcode 10
|
|
98
93
|
- (id)hitPoint:(NSError **)error;
|
|
99
94
|
|
|
100
|
-
// Available only in Xcode 9.0
|
|
101
|
-
+ (id)snapshotAttributesForElementSnapshotKeyPaths:(id)arg1;
|
|
102
95
|
// Available since Xcode 10.0-beta4 on
|
|
103
96
|
+ (id)axAttributesForElementSnapshotKeyPaths:(id)arg1;
|
|
104
97
|
// Since Xcode 10.2
|
|
@@ -31,8 +31,6 @@
|
|
|
31
31
|
- (id)initForTouchAtPoint:(CGPoint)arg1 offset:(double)arg2;
|
|
32
32
|
// Since Xcode 10.2
|
|
33
33
|
- (void)typeKey:(id)arg1 modifiers:(unsigned long long)arg2 atOffset:(double)arg3;
|
|
34
|
-
// Since Xcode 10.2
|
|
35
|
-
- (void)typeText:(id)arg1 atOffset:(double)arg2 typingSpeed:(unsigned long long)arg3;
|
|
36
34
|
// Since Xcode 12.beta5
|
|
37
35
|
- (void)typeText:(id)arg1 atOffset:(double)arg2 typingSpeed:(unsigned long long)arg3 shouldRedact:(_Bool)arg4;
|
|
38
36
|
// Since Xcode 10.2
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12;
|
|
14
|
-
// Removed since Xcode 12.0
|
|
15
|
-
- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(BOOL)arg4;
|
|
16
14
|
- (void)recordFailureInTest:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4 expected:(BOOL)arg5;
|
|
17
15
|
- (void)stop;
|
|
18
16
|
- (void)start;
|
|
@@ -26,9 +26,6 @@
|
|
|
26
26
|
@property(retain) NSObject<OS_dispatch_queue> *queue; // @synthesize queue=_queue;
|
|
27
27
|
@property(readonly) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration;
|
|
28
28
|
|
|
29
|
-
// Removed since Xcode 12.0
|
|
30
|
-
+ (instancetype)sharedTestDriver;
|
|
31
|
-
|
|
32
29
|
- (void)runTestConfiguration:(id)arg1 completionHandler:(CDUnknownBlockType)arg2;
|
|
33
30
|
- (void)runTestSuite:(id)arg1 completionHandler:(CDUnknownBlockType)arg2;
|
|
34
31
|
- (void)reportStallOnMainThreadInTestCase:(id)arg1 method:(id)arg2 file:(id)arg3 line:(unsigned long long)arg4;
|
|
@@ -38,7 +35,4 @@
|
|
|
38
35
|
- (void)logDebugMessage:(id)arg1;
|
|
39
36
|
- (id)initWithTestConfiguration:(id)arg1;
|
|
40
37
|
|
|
41
|
-
// Removed with iOS 10.3
|
|
42
|
-
@property(readonly) id <XCTestManager_ManagerInterface> managerProxy;
|
|
43
|
-
|
|
44
38
|
@end
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
- (void)_XCT_fetchParameterizedAttributeForElement:(XCAccessibilityElement *)arg1 attributes:(NSNumber *)arg2 parameter:(id)arg3 reply:(void (^)(id, NSError *))arg4;
|
|
29
29
|
- (void)_XCT_setAttribute:(NSNumber *)arg1 value:(id)arg2 element:(XCAccessibilityElement *)arg3 reply:(void (^)(BOOL, NSError *))arg4;
|
|
30
30
|
- (void)_XCT_fetchAttributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3;
|
|
31
|
-
// Deprecated with Xcode11
|
|
32
|
-
- (void)_XCT_snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4;
|
|
33
31
|
- (void)_XCT_terminateApplicationWithBundleID:(NSString *)arg1 completion:(void (^)(NSError *))arg2;
|
|
34
32
|
- (void)_XCT_performAccessibilityAction:(int)arg1 onElement:(XCAccessibilityElement *)arg2 withValue:(id)arg3 reply:(void (^)(NSError *))arg4;
|
|
35
33
|
- (void)_XCT_unregisterForAccessibilityNotification:(int)arg1 withRegistrationToken:(NSNumber *)arg2 reply:(void (^)(NSError *))arg3;
|
|
@@ -38,9 +38,6 @@
|
|
|
38
38
|
@property(nonatomic) pid_t processID; // @synthesize processID=_processID;
|
|
39
39
|
@property(readonly) XCAccessibilityElement *accessibilityElement;
|
|
40
40
|
|
|
41
|
-
/*! DO NOT USE DIRECTLY! Please use fb_applicationWithPID instead */
|
|
42
|
-
+ (instancetype)appWithPID:(pid_t)processID;
|
|
43
|
-
/*! DO NOT USE DIRECTLY! Please use fb_applicationWithPID instead */
|
|
44
41
|
+ (instancetype)applicationWithPID:(pid_t)processID;
|
|
45
42
|
/*! DO NOT USE DIRECTLY! Please use fb_activate instead */
|
|
46
43
|
- (void)activate;
|
|
@@ -17,7 +17,5 @@
|
|
|
17
17
|
- (void)pressLockButton;
|
|
18
18
|
- (void)holdHomeButtonForDuration:(double)arg1;
|
|
19
19
|
- (void)_silentPressButton:(long long)arg1;
|
|
20
|
-
// Removed in Xcode 10.2
|
|
21
|
-
- (void)_dispatchEventWithPage:(unsigned int)arg1 usage:(unsigned int)arg2 duration:(double)arg3;
|
|
22
20
|
|
|
23
21
|
@end
|
|
@@ -35,11 +35,6 @@
|
|
|
35
35
|
|
|
36
36
|
- (unsigned long long)traits;
|
|
37
37
|
- (void)resolveHandleUIInterruption:(BOOL)arg1;
|
|
38
|
-
// !!! These both methods are deprecated since Xcode 11.0
|
|
39
|
-
// before 10.2
|
|
40
|
-
- (void)resolve;
|
|
41
|
-
// XCode 10.2 .. Xcode 11.0
|
|
42
|
-
- (_Bool)resolve:(id *)arg1;
|
|
43
38
|
- (BOOL)waitForExistenceWithTimeout:(double)arg1;
|
|
44
39
|
- (BOOL)_waitForExistenceWithTimeout:(double)arg1;
|
|
45
40
|
- (BOOL)evaluatePredicateForExpectation:(id)arg1 debugMessage:(id *)arg2;
|
|
@@ -60,8 +60,6 @@
|
|
|
60
60
|
- (unsigned long long)_derivedExpressedType;
|
|
61
61
|
- (id)initWithInputQuery:(id)arg1 queryDescription:(id)arg2 filter:(CDUnknownBlockType)arg3;
|
|
62
62
|
|
|
63
|
-
// Deprecated since Xcode 11.0
|
|
64
|
-
- (XCElementSnapshot *)elementSnapshotForDebugDescription;
|
|
65
63
|
// Added since Xcode 11.0
|
|
66
64
|
- (XCElementSnapshot *)elementSnapshotForDebugDescriptionWithNoMatchesMessage:(id *)arg1;
|
|
67
65
|
// Added since Xcode 11.0
|
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# WebDriverAgent
|
|
2
2
|
|
|
3
|
+
[](https://npmjs.org/package/appium-webdriveragent)
|
|
4
|
+
[](https://npmjs.org/package/appium-webdriveragent)
|
|
5
|
+
|
|
6
|
+
[](https://github.com/appium/WebDriverAgent/actions/workflows/publish.js.yml)
|
|
7
|
+
|
|
3
8
|
[](LICENSE)
|
|
4
9
|
|
|
5
10
|
WebDriverAgent is a [WebDriver server](https://w3c.github.io/webdriver/webdriver-spec.html) implementation for iOS that can be used to remote control iOS devices. It allows you to launch & kill applications, tap & scroll views or confirm view presence on a screen. This makes it a perfect tool for application end-to-end testing or general purpose device automation. It works by linking `XCTest.framework` and calling Apple's API to execute commands directly on a device. WebDriverAgent is developed for end-to-end testing and is successfully adopted by [Appium](http://appium.io) via [XCUITest driver](https://github.com/appium/appium-xcuitest-driver).
|
|
@@ -46,3 +51,4 @@ projects has been integrated directly in the WebDriverAgent source tree.
|
|
|
46
51
|
You can find the source files and their licenses in the `WebDriverAgentLib/Vendor` directory.
|
|
47
52
|
|
|
48
53
|
Have fun!
|
|
54
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const os = require('os');
|
|
3
3
|
const { asyncify } = require('asyncbox');
|
|
4
|
-
const { logger, fs, mkdirp, zip } = require('appium
|
|
4
|
+
const { logger, fs, mkdirp, zip } = require('@appium/support');
|
|
5
5
|
const { exec } = require('teen_process');
|
|
6
6
|
const xcode = require('appium-xcode');
|
|
7
7
|
|
package/Scripts/build.sh
CHANGED
|
@@ -86,10 +86,15 @@ function xcbuild() {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
function fastlane_test() {
|
|
89
|
+
if ! command -v fastlane $> /dev/null ; then
|
|
90
|
+
echo "Please install fastlane with 'gem install fastlane' or 'bundle install'"
|
|
91
|
+
exit 1
|
|
92
|
+
fi
|
|
93
|
+
|
|
89
94
|
if [[ -n "$XC_DESTINATION" ]]; then
|
|
90
|
-
SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1"
|
|
95
|
+
SDK="$XC_SDK" DEST="$XC_DESTINATION" SCHEME="$1" fastlane test
|
|
91
96
|
else
|
|
92
|
-
SDK="$XC_SDK" SCHEME="$1"
|
|
97
|
+
SDK="$XC_SDK" SCHEME="$1" fastlane test
|
|
93
98
|
fi
|
|
94
99
|
}
|
|
95
100
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const axios = require('axios');
|
|
3
3
|
const { asyncify } = require('asyncbox');
|
|
4
|
-
const { logger, fs, mkdirp, net } = require('appium
|
|
4
|
+
const { logger, fs, mkdirp, net } = require('@appium/support');
|
|
5
5
|
const _ = require('lodash');
|
|
6
6
|
const B = require('bluebird');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
archiveVersion = 1;
|
|
4
4
|
classes = {
|
|
5
5
|
};
|
|
6
|
-
objectVersion =
|
|
6
|
+
objectVersion = 54;
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
@@ -382,12 +382,6 @@
|
|
|
382
382
|
715D5774224DE05400DA2D99 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 716C9345224D540C004B8542 /* libxml2.tbd */; };
|
|
383
383
|
715D5775224DE05C00DA2D99 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 716C9345224D540C004B8542 /* libxml2.tbd */; };
|
|
384
384
|
715D5776224DE06500DA2D99 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 716C9345224D540C004B8542 /* libxml2.tbd */; };
|
|
385
|
-
71649EC92518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
386
|
-
71649ECA2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
387
|
-
71649ECB2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
388
|
-
71649ECC2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
389
|
-
71649ECD2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
390
|
-
71649ECE2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 71649EC82518C19C0087F212 /* IOSTestSettings.xcconfig */; };
|
|
391
385
|
716C9346224D540C004B8542 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 716C9345224D540C004B8542 /* libxml2.tbd */; };
|
|
392
386
|
716C9347224D540C004B8542 /* libxml2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 716C9345224D540C004B8542 /* libxml2.tbd */; };
|
|
393
387
|
716C9DFA27315D21005AD475 /* FBReflectionUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 716C9DF827315D21005AD475 /* FBReflectionUtils.h */; };
|
|
@@ -401,12 +395,6 @@
|
|
|
401
395
|
716E0BCE1E917E810087A825 /* NSString+FBXMLSafeString.h in Headers */ = {isa = PBXBuildFile; fileRef = 716E0BCC1E917E810087A825 /* NSString+FBXMLSafeString.h */; };
|
|
402
396
|
716E0BCF1E917E810087A825 /* NSString+FBXMLSafeString.m in Sources */ = {isa = PBXBuildFile; fileRef = 716E0BCD1E917E810087A825 /* NSString+FBXMLSafeString.m */; };
|
|
403
397
|
716E0BD11E917F260087A825 /* FBXMLSafeStringTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 716E0BD01E917F260087A825 /* FBXMLSafeStringTests.m */; };
|
|
404
|
-
717C0D712518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D702518ED2800CAA6EC /* TVOSSettings.xcconfig */; };
|
|
405
|
-
717C0D722518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D702518ED2800CAA6EC /* TVOSSettings.xcconfig */; };
|
|
406
|
-
717C0D732518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D702518ED2800CAA6EC /* TVOSSettings.xcconfig */; };
|
|
407
|
-
717C0D872518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D862518ED7000CAA6EC /* TVOSTestSettings.xcconfig */; };
|
|
408
|
-
717C0D882518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D862518ED7000CAA6EC /* TVOSTestSettings.xcconfig */; };
|
|
409
|
-
717C0D892518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 717C0D862518ED7000CAA6EC /* TVOSTestSettings.xcconfig */; };
|
|
410
398
|
718226CA2587443700661B83 /* GCDAsyncUdpSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 718226C62587443600661B83 /* GCDAsyncUdpSocket.h */; };
|
|
411
399
|
718226CB2587443700661B83 /* GCDAsyncUdpSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 718226C62587443600661B83 /* GCDAsyncUdpSocket.h */; };
|
|
412
400
|
718226CC2587443700661B83 /* GCDAsyncSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 718226C72587443600661B83 /* GCDAsyncSocket.h */; };
|
|
@@ -2929,7 +2917,7 @@
|
|
|
2929
2917
|
isa = PBXProject;
|
|
2930
2918
|
attributes = {
|
|
2931
2919
|
LastSwiftUpdateCheck = 1020;
|
|
2932
|
-
LastUpgradeCheck =
|
|
2920
|
+
LastUpgradeCheck = 1310;
|
|
2933
2921
|
ORGANIZATIONNAME = Facebook;
|
|
2934
2922
|
TargetAttributes = {
|
|
2935
2923
|
641EE2D92240BBE300173FCB = {
|
|
@@ -2960,13 +2948,12 @@
|
|
|
2960
2948
|
};
|
|
2961
2949
|
};
|
|
2962
2950
|
buildConfigurationList = 91F9DAE41B99DBC2001349B2 /* Build configuration list for PBXProject "WebDriverAgent" */;
|
|
2963
|
-
compatibilityVersion = "Xcode
|
|
2964
|
-
developmentRegion =
|
|
2951
|
+
compatibilityVersion = "Xcode 12.0";
|
|
2952
|
+
developmentRegion = en;
|
|
2965
2953
|
hasScannedForEncodings = 0;
|
|
2966
2954
|
knownRegions = (
|
|
2967
2955
|
en,
|
|
2968
2956
|
Base,
|
|
2969
|
-
English,
|
|
2970
2957
|
);
|
|
2971
2958
|
mainGroup = 91F9DAE01B99DBC2001349B2;
|
|
2972
2959
|
productRefGroup = 91F9DAEA1B99DBC2001349B2 /* Products */;
|
|
@@ -2992,8 +2979,6 @@
|
|
|
2992
2979
|
isa = PBXResourcesBuildPhase;
|
|
2993
2980
|
buildActionMask = 2147483647;
|
|
2994
2981
|
files = (
|
|
2995
|
-
717C0D722518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */,
|
|
2996
|
-
717C0D882518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */,
|
|
2997
2982
|
);
|
|
2998
2983
|
runOnlyForDeploymentPostprocessing = 0;
|
|
2999
2984
|
};
|
|
@@ -3001,8 +2986,6 @@
|
|
|
3001
2986
|
isa = PBXResourcesBuildPhase;
|
|
3002
2987
|
buildActionMask = 2147483647;
|
|
3003
2988
|
files = (
|
|
3004
|
-
717C0D712518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */,
|
|
3005
|
-
717C0D872518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */,
|
|
3006
2989
|
);
|
|
3007
2990
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3008
2991
|
};
|
|
@@ -3010,9 +2993,6 @@
|
|
|
3010
2993
|
isa = PBXResourcesBuildPhase;
|
|
3011
2994
|
buildActionMask = 2147483647;
|
|
3012
2995
|
files = (
|
|
3013
|
-
717C0D892518ED7000CAA6EC /* TVOSTestSettings.xcconfig in Resources */,
|
|
3014
|
-
71649ECA2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3015
|
-
717C0D732518ED2800CAA6EC /* TVOSSettings.xcconfig in Resources */,
|
|
3016
2996
|
);
|
|
3017
2997
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3018
2998
|
};
|
|
@@ -3027,7 +3007,6 @@
|
|
|
3027
3007
|
isa = PBXResourcesBuildPhase;
|
|
3028
3008
|
buildActionMask = 2147483647;
|
|
3029
3009
|
files = (
|
|
3030
|
-
71649ECD2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3031
3010
|
);
|
|
3032
3011
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3033
3012
|
};
|
|
@@ -3035,7 +3014,6 @@
|
|
|
3035
3014
|
isa = PBXResourcesBuildPhase;
|
|
3036
3015
|
buildActionMask = 2147483647;
|
|
3037
3016
|
files = (
|
|
3038
|
-
71649ECC2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3039
3017
|
);
|
|
3040
3018
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3041
3019
|
};
|
|
@@ -3043,7 +3021,6 @@
|
|
|
3043
3021
|
isa = PBXResourcesBuildPhase;
|
|
3044
3022
|
buildActionMask = 2147483647;
|
|
3045
3023
|
files = (
|
|
3046
|
-
71649EC92518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3047
3024
|
);
|
|
3048
3025
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3049
3026
|
};
|
|
@@ -3052,7 +3029,6 @@
|
|
|
3052
3029
|
buildActionMask = 2147483647;
|
|
3053
3030
|
files = (
|
|
3054
3031
|
EE9B76941CF7997600275851 /* Main.storyboard in Resources */,
|
|
3055
|
-
71649ECE2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3056
3032
|
);
|
|
3057
3033
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3058
3034
|
};
|
|
@@ -3060,7 +3036,6 @@
|
|
|
3060
3036
|
isa = PBXResourcesBuildPhase;
|
|
3061
3037
|
buildActionMask = 2147483647;
|
|
3062
3038
|
files = (
|
|
3063
|
-
71649ECB2518C19C0087F212 /* IOSTestSettings.xcconfig in Resources */,
|
|
3064
3039
|
);
|
|
3065
3040
|
runOnlyForDeploymentPostprocessing = 0;
|
|
3066
3041
|
};
|
|
@@ -3830,6 +3805,7 @@
|
|
|
3830
3805
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
3831
3806
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
3832
3807
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
3808
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
3833
3809
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
3834
3810
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
3835
3811
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
@@ -3862,12 +3838,12 @@
|
|
|
3862
3838
|
"$(SDKROOT)/usr/include/libxml2",
|
|
3863
3839
|
"$(SRCROOT)/Modules",
|
|
3864
3840
|
);
|
|
3865
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
3841
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
3866
3842
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
3867
3843
|
ONLY_ACTIVE_ARCH = YES;
|
|
3868
3844
|
SDKROOT = iphoneos;
|
|
3869
3845
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
3870
|
-
TVOS_DEPLOYMENT_TARGET =
|
|
3846
|
+
TVOS_DEPLOYMENT_TARGET = 12.0;
|
|
3871
3847
|
VALIDATE_WORKSPACE = NO;
|
|
3872
3848
|
};
|
|
3873
3849
|
name = Debug;
|
|
@@ -3896,6 +3872,7 @@
|
|
|
3896
3872
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
3897
3873
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
3898
3874
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
3875
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
3899
3876
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
3900
3877
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
3901
3878
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
@@ -3922,11 +3899,11 @@
|
|
|
3922
3899
|
"$(SDKROOT)/usr/include/libxml2",
|
|
3923
3900
|
"$(SRCROOT)/Modules",
|
|
3924
3901
|
);
|
|
3925
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
3902
|
+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
|
3926
3903
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
3927
3904
|
SDKROOT = iphoneos;
|
|
3928
3905
|
TARGETED_DEVICE_FAMILY = "1,2";
|
|
3929
|
-
TVOS_DEPLOYMENT_TARGET =
|
|
3906
|
+
TVOS_DEPLOYMENT_TARGET = 12.0;
|
|
3930
3907
|
VALIDATE_PRODUCT = YES;
|
|
3931
3908
|
VALIDATE_WORKSPACE = NO;
|
|
3932
3909
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1310"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -27,8 +27,6 @@
|
|
|
27
27
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
28
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
-
<Testables>
|
|
31
|
-
</Testables>
|
|
32
30
|
<MacroExpansion>
|
|
33
31
|
<BuildableReference
|
|
34
32
|
BuildableIdentifier = "primary"
|
|
@@ -38,8 +36,8 @@
|
|
|
38
36
|
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
39
37
|
</BuildableReference>
|
|
40
38
|
</MacroExpansion>
|
|
41
|
-
<
|
|
42
|
-
</
|
|
39
|
+
<Testables>
|
|
40
|
+
</Testables>
|
|
43
41
|
</TestAction>
|
|
44
42
|
<LaunchAction
|
|
45
43
|
buildConfiguration = "Debug"
|
|
@@ -61,8 +59,6 @@
|
|
|
61
59
|
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
62
60
|
</BuildableReference>
|
|
63
61
|
</BuildableProductRunnable>
|
|
64
|
-
<AdditionalOptions>
|
|
65
|
-
</AdditionalOptions>
|
|
66
62
|
</LaunchAction>
|
|
67
63
|
<ProfileAction
|
|
68
64
|
buildConfiguration = "Release"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1310"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -27,6 +27,15 @@
|
|
|
27
27
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
28
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
+
<MacroExpansion>
|
|
31
|
+
<BuildableReference
|
|
32
|
+
BuildableIdentifier = "primary"
|
|
33
|
+
BlueprintIdentifier = "EE158A981CBD452B00A3E3F0"
|
|
34
|
+
BuildableName = "WebDriverAgentLib.framework"
|
|
35
|
+
BlueprintName = "WebDriverAgentLib"
|
|
36
|
+
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
37
|
+
</BuildableReference>
|
|
38
|
+
</MacroExpansion>
|
|
30
39
|
<Testables>
|
|
31
40
|
<TestableReference
|
|
32
41
|
skipped = "NO">
|
|
@@ -69,17 +78,6 @@
|
|
|
69
78
|
</BuildableReference>
|
|
70
79
|
</TestableReference>
|
|
71
80
|
</Testables>
|
|
72
|
-
<MacroExpansion>
|
|
73
|
-
<BuildableReference
|
|
74
|
-
BuildableIdentifier = "primary"
|
|
75
|
-
BlueprintIdentifier = "EE158A981CBD452B00A3E3F0"
|
|
76
|
-
BuildableName = "WebDriverAgentLib.framework"
|
|
77
|
-
BlueprintName = "WebDriverAgentLib"
|
|
78
|
-
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
79
|
-
</BuildableReference>
|
|
80
|
-
</MacroExpansion>
|
|
81
|
-
<AdditionalOptions>
|
|
82
|
-
</AdditionalOptions>
|
|
83
81
|
</TestAction>
|
|
84
82
|
<LaunchAction
|
|
85
83
|
buildConfiguration = "Debug"
|
|
@@ -100,8 +98,6 @@
|
|
|
100
98
|
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
101
99
|
</BuildableReference>
|
|
102
100
|
</MacroExpansion>
|
|
103
|
-
<AdditionalOptions>
|
|
104
|
-
</AdditionalOptions>
|
|
105
101
|
</LaunchAction>
|
|
106
102
|
<ProfileAction
|
|
107
103
|
buildConfiguration = "Release"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1310"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -27,6 +27,15 @@
|
|
|
27
27
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
28
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
+
<MacroExpansion>
|
|
31
|
+
<BuildableReference
|
|
32
|
+
BuildableIdentifier = "primary"
|
|
33
|
+
BlueprintIdentifier = "641EE5D52240C5CA00173FCB"
|
|
34
|
+
BuildableName = "WebDriverAgentLib_tvOS.framework"
|
|
35
|
+
BlueprintName = "WebDriverAgentLib_tvOS"
|
|
36
|
+
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
37
|
+
</BuildableReference>
|
|
38
|
+
</MacroExpansion>
|
|
30
39
|
<Testables>
|
|
31
40
|
<TestableReference
|
|
32
41
|
skipped = "NO">
|
|
@@ -39,17 +48,6 @@
|
|
|
39
48
|
</BuildableReference>
|
|
40
49
|
</TestableReference>
|
|
41
50
|
</Testables>
|
|
42
|
-
<MacroExpansion>
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "641EE5D52240C5CA00173FCB"
|
|
46
|
-
BuildableName = "WebDriverAgentLib_tvOS.framework"
|
|
47
|
-
BlueprintName = "WebDriverAgentLib_tvOS"
|
|
48
|
-
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</MacroExpansion>
|
|
51
|
-
<AdditionalOptions>
|
|
52
|
-
</AdditionalOptions>
|
|
53
51
|
</TestAction>
|
|
54
52
|
<LaunchAction
|
|
55
53
|
buildConfiguration = "Debug"
|
|
@@ -70,8 +68,6 @@
|
|
|
70
68
|
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
71
69
|
</BuildableReference>
|
|
72
70
|
</MacroExpansion>
|
|
73
|
-
<AdditionalOptions>
|
|
74
|
-
</AdditionalOptions>
|
|
75
71
|
</LaunchAction>
|
|
76
72
|
<ProfileAction
|
|
77
73
|
buildConfiguration = "Release"
|
package/WebDriverAgent.xcodeproj/xcshareddata/xcschemes/WebDriverAgentRunner-nodebug.xcscheme
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1310"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
buildConfiguration = "Debug"
|
|
27
27
|
selectedDebuggerIdentifier = ""
|
|
28
28
|
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
30
|
+
systemAttachmentLifetime = "keepNever">
|
|
31
31
|
<Testables>
|
|
32
32
|
<TestableReference
|
|
33
33
|
skipped = "NO">
|
|
@@ -40,8 +40,6 @@
|
|
|
40
40
|
</BuildableReference>
|
|
41
41
|
</TestableReference>
|
|
42
42
|
</Testables>
|
|
43
|
-
<AdditionalOptions>
|
|
44
|
-
</AdditionalOptions>
|
|
45
43
|
</TestAction>
|
|
46
44
|
<LaunchAction
|
|
47
45
|
buildConfiguration = "Debug"
|
|
@@ -62,8 +60,6 @@
|
|
|
62
60
|
ReferencedContainer = "container:WebDriverAgent.xcodeproj">
|
|
63
61
|
</BuildableReference>
|
|
64
62
|
</MacroExpansion>
|
|
65
|
-
<AdditionalOptions>
|
|
66
|
-
</AdditionalOptions>
|
|
67
63
|
</LaunchAction>
|
|
68
64
|
<ProfileAction
|
|
69
65
|
buildConfiguration = "Release"
|
|
@@ -26,15 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
26
26
|
*/
|
|
27
27
|
- (BOOL)fb_deactivateWithDuration:(NSTimeInterval)duration error:(NSError **)error;
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
Resets the authorization status for a protected resource. Available since Xcode 11.4
|
|
31
|
-
|
|
32
|
-
@param resourceId A valid resource id to reset the auth status for. See https://developer.apple.com/documentation/xctest/xcuiprotectedresource?language=objc
|
|
33
|
-
@param error If there is an error, upon return contains an NSError object that describes the problem.
|
|
34
|
-
@return YES if the operation succeeds, otherwise NO.
|
|
35
|
-
*/
|
|
36
|
-
- (BOOL)fb_resetAuthorizationStatusForResource:(long long)resourceId error:(NSError **)error;
|
|
37
|
-
|
|
38
29
|
/**
|
|
39
30
|
Return application elements tree in form of nested dictionaries
|
|
40
31
|
*/
|
|
@@ -217,22 +217,6 @@ static NSString* const FBUnknownBundleId = @"unknown";
|
|
|
217
217
|
}
|
|
218
218
|
#endif
|
|
219
219
|
|
|
220
|
-
- (BOOL)fb_resetAuthorizationStatusForResource:(long long)resourceId error:(NSError **)error
|
|
221
|
-
{
|
|
222
|
-
SEL selector = NSSelectorFromString(@"resetAuthorizationStatusForResource:");
|
|
223
|
-
if (![self respondsToSelector:selector]) {
|
|
224
|
-
return [[[FBErrorBuilder builder]
|
|
225
|
-
withDescription:@"'resetAuthorizationStatusForResource' API is only supported for Xcode SDK 11.4 and later"]
|
|
226
|
-
buildError:error];
|
|
227
|
-
}
|
|
228
|
-
NSMethodSignature *signature = [self methodSignatureForSelector:selector];
|
|
229
|
-
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:signature];
|
|
230
|
-
[invocation setSelector:selector];
|
|
231
|
-
[invocation setArgument:&resourceId atIndex:2]; // 0 and 1 are reserved
|
|
232
|
-
[invocation invokeWithTarget:self];
|
|
233
|
-
return YES;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
220
|
- (BOOL)fb_dismissKeyboardWithKeyNames:(nullable NSArray<NSString *> *)keyNames
|
|
237
221
|
error:(NSError **)error
|
|
238
222
|
{
|
|
@@ -16,8 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
16
16
|
* Performs swipe gesture on the element
|
|
17
17
|
*
|
|
18
18
|
* @param direction Swipe direction. The following values are supported: up, down, left and right
|
|
19
|
-
* @param velocity Swipe speed in pixels per second
|
|
20
|
-
* nil value means that the default velocity is going to be used.
|
|
19
|
+
* @param velocity Swipe speed in pixels per second
|
|
21
20
|
*/
|
|
22
21
|
- (void)fb_swipeWithDirection:(NSString *)direction velocity:(nullable NSNumber*)velocity;
|
|
23
22
|
|