appium-webdriveragent 3.16.0 → 3.17.0

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.
Files changed (25) hide show
  1. package/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h +4 -2
  2. package/PrivateHeaders/XCTest/XCUIScreen.h +4 -3
  3. package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/kazuaki.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  4. package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/kazuaki.xcuserdatad/WorkspaceSettings.xcsettings +20 -0
  5. package/WebDriverAgent.xcodeproj/xcuserdata/kazuaki.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +3191 -0
  6. package/WebDriverAgent.xcodeproj/xcuserdata/{elf.xcuserdatad → kazuaki.xcuserdatad}/xcschemes/xcschememanagement.plist +35 -12
  7. package/WebDriverAgentLib/Utilities/FBMjpegServer.m +1 -1
  8. package/WebDriverAgentLib/Utilities/FBScreenshot.h +1 -1
  9. package/WebDriverAgentLib/Utilities/FBScreenshot.m +3 -3
  10. package/WebDriverAgentRunner-Runner.app.zip +0 -0
  11. package/build/index.js +6 -4
  12. package/build/lib/check-dependencies.js +1 -1
  13. package/build/lib/constants.js +1 -1
  14. package/build/lib/utils.js +10 -10
  15. package/build/lib/webdriveragent.js +2 -2
  16. package/build/lib/xcodebuild.js +1 -1
  17. package/package.json +1 -1
  18. package/PrivateHeaders/.DS_Store +0 -0
  19. package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/elf.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  20. package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -91
  21. package/WebDriverAgentLib/.DS_Store +0 -0
  22. package/WebDriverAgentLib/Utilities/LRUCache/.DS_Store +0 -0
  23. package/WebDriverAgentLib/Vendor/.DS_Store +0 -0
  24. package/WebDriverAgentRunner/.DS_Store +0 -0
  25. package/WebDriverAgentTests/IntegrationApp/Resources/.DS_Store +0 -0
@@ -44,8 +44,10 @@
44
44
  - (void)_XCT_exchangeProtocolVersion:(unsigned long long)arg1 reply:(void (^)(unsigned long long))arg2;
45
45
 
46
46
  // Available since Xcode9
47
- - (void)_XCT_requestScreenshotOfScreenWithID:(unsigned int)arg1 withRect:(struct CGRect)arg2 uti:(NSString *)arg3 compressionQuality:(double)arg4 withReply:(void (^)(NSData *, NSError *))arg5;
48
- - (void)_XCT_requestScreenshotOfScreenWithID:(unsigned int)arg1 withRect:(struct CGRect)arg2 withReply:(void (^)(NSData *, NSError *))arg3;
47
+ // The first screenID type changed from "unsigned int" to "long long" since Xcode 13.3 in XCTAutomationSupport.framework/XCTScreenshotRequest.h
48
+ // but this place is still "unsigned int" in the header. Appium/WDA changes to "long long" for Xcode 13.3 x iOS 15.4 environment.
49
+ - (void)_XCT_requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 uti:(NSString *)arg3 compressionQuality:(double)arg4 withReply:(void (^)(NSData *, NSError *))arg5;
50
+ - (void)_XCT_requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 withReply:(void (^)(NSData *, NSError *))arg3;
49
51
  - (void)_XCT_requestSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4;
50
52
 
51
53
  // Available since Xcode 12.5. Required (!!!) to use since Xcode 13
@@ -7,10 +7,10 @@
7
7
  @interface XCUIScreen()
8
8
  {
9
9
  _Bool _isMainScreen;
10
- int _displayID;
10
+ long long _displayID;
11
11
  }
12
12
  @property(readonly) _Bool isMainScreen; // @synthesize isMainScreen=_isMainScreen;
13
- @property(readonly) int displayID; // @synthesize displayID=_displayID;
13
+ @property(readonly) long long displayID; // @synthesize displayID=_displayID;
14
14
 
15
15
  - (id)_clippedScreenshotData:(id)arg1 quality:(long long)arg2 rect:(struct CGRect)arg3 scale:(double)arg4;
16
16
  - (id)_screenshotDataForQuality:(long long)arg1 rect:(struct CGRect)arg2 error:(id *)arg3;
@@ -20,7 +20,8 @@
20
20
  - (id)screenshot;
21
21
  - (id)_imageFromData:(id)arg1;
22
22
  - (double)scale;
23
- - (id)initWithDisplayID:(int)arg1 isMainScreen:(_Bool)arg2;
23
+
24
+ - (id)initWithDisplayID:(long long)arg1 isMainScreen:(_Bool)arg2 device:(id)arg3 screenDataSource:(id)arg4;
24
25
 
25
26
  @end
26
27
 
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildLocationStyle</key>
6
+ <string>UseAppPreferences</string>
7
+ <key>CustomBuildLocationType</key>
8
+ <string>RelativeToDerivedData</string>
9
+ <key>DerivedDataLocationStyle</key>
10
+ <string>Default</string>
11
+ <key>EnabledFullIndexStoreVisibility</key>
12
+ <false/>
13
+ <key>IssueFilterStyle</key>
14
+ <string>ShowActiveSchemeOnly</string>
15
+ <key>LiveSourceIssuesEnabled</key>
16
+ <true/>
17
+ <key>ShowSharedSchemesAutomaticallyEnabled</key>
18
+ <true/>
19
+ </dict>
20
+ </plist>