appium-webdriveragent 3.13.2 → 3.15.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 (35) hide show
  1. package/Scripts/build.sh +13 -16
  2. package/WebDriverAgent.xcodeproj/project.pbxproj +2 -2
  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 +2322 -0
  6. package/WebDriverAgent.xcodeproj/xcuserdata/{elf.xcuserdatad → kazuaki.xcuserdatad}/xcschemes/xcschememanagement.plist +35 -12
  7. package/WebDriverAgentLib/.DS_Store +0 -0
  8. package/WebDriverAgentLib/Categories/XCUIApplication+FBHelpers.m +1 -4
  9. package/WebDriverAgentLib/Categories/XCUIElement+FBWebDriverAttributes.m +10 -1
  10. package/WebDriverAgentLib/Commands/FBCustomCommands.m +10 -2
  11. package/WebDriverAgentLib/Routing/FBElement.h +2 -2
  12. package/WebDriverAgentLib/Routing/FBResponsePayload.m +1 -1
  13. package/WebDriverAgentLib/Utilities/FBMathUtils.h +0 -3
  14. package/WebDriverAgentLib/Utilities/FBMathUtils.m +0 -13
  15. package/WebDriverAgentLib/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h +0 -6
  16. package/WebDriverAgentLib/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m +0 -15
  17. package/WebDriverAgentLib/Vendor/CocoaHTTPServer/HTTPServer.h +3 -77
  18. package/WebDriverAgentLib/Vendor/CocoaHTTPServer/HTTPServer.m +0 -348
  19. package/WebDriverAgentRunner-Runner.app.zip +0 -0
  20. package/WebDriverAgentTests/IntegrationTests/FBSafariAlertTests.m +13 -10
  21. package/build/index.js +6 -4
  22. package/build/lib/check-dependencies.js +1 -1
  23. package/build/lib/constants.js +1 -1
  24. package/build/lib/utils.js +11 -11
  25. package/build/lib/webdriveragent.js +2 -2
  26. package/build/lib/xcodebuild.js +1 -1
  27. package/lib/utils.js +2 -1
  28. package/package.json +1 -1
  29. package/PrivateHeaders/.DS_Store +0 -0
  30. package/WebDriverAgent.xcodeproj/project.xcworkspace/xcuserdata/elf.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  31. package/WebDriverAgent.xcodeproj/xcuserdata/elf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -75
  32. package/WebDriverAgentLib/Utilities/LRUCache/.DS_Store +0 -0
  33. package/WebDriverAgentLib/Vendor/.DS_Store +0 -0
  34. package/WebDriverAgentRunner/.DS_Store +0 -0
  35. package/WebDriverAgentTests/IntegrationApp/Resources/.DS_Store +0 -0
package/Scripts/build.sh CHANGED
@@ -68,24 +68,21 @@ function xcbuild() {
68
68
  if [ $(which xcpretty) ] ; then
69
69
  output_command=xcpretty
70
70
  fi
71
+
72
+ XC_BUILD_ARGS=(-project "WebDriverAgent.xcodeproj")
73
+ XC_BUILD_ARGS+=(-scheme "$XC_TARGET")
74
+ XC_BUILD_ARGS+=(-sdk "$XC_SDK")
75
+ XC_BUILD_ARGS+=($XC_ACTION)
71
76
  if [[ -n "$XC_DESTINATION" ]]; then
72
- xcodebuild \
73
- -project "WebDriverAgent.xcodeproj" \
74
- -scheme "$XC_TARGET" \
75
- -sdk "$XC_SDK" \
76
- -destination "$XC_DESTINATION" \
77
- $XC_ACTION \
78
- $XC_MACROS $EXTRA_XC_ARGS \
79
- | $output_command && exit ${PIPESTATUS[0]}
80
- else
81
- xcodebuild \
82
- -project "WebDriverAgent.xcodeproj" \
83
- -scheme "$XC_TARGET" \
84
- -sdk "$XC_SDK" \
85
- $XC_ACTION \
86
- $XC_MACROS $EXTRA_XC_ARGS \
87
- | $output_command && exit ${PIPESTATUS[0]}
77
+ XC_BUILD_ARGS+=(-destination "${XC_DESTINATION}")
78
+ fi
79
+ if [[ -n "$DERIVED_DATA_PATH" ]]; then
80
+ XC_BUILD_ARGS+=(-derivedDataPath ${DERIVED_DATA_PATH})
88
81
  fi
82
+ XC_BUILD_ARGS+=($XC_MACROS $EXTRA_XC_ARGS)
83
+
84
+ xcodebuild "${XC_BUILD_ARGS[@]}" | $output_command && exit ${PIPESTATUS[0]}
85
+
89
86
  }
90
87
 
91
88
  function fastlane_test() {
@@ -3,7 +3,7 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 51;
6
+ objectVersion = 52;
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
@@ -2930,7 +2930,7 @@
2930
2930
  };
2931
2931
  };
2932
2932
  buildConfigurationList = 91F9DAE41B99DBC2001349B2 /* Build configuration list for PBXProject "WebDriverAgent" */;
2933
- compatibilityVersion = "Xcode 10.0";
2933
+ compatibilityVersion = "Xcode 11.0";
2934
2934
  developmentRegion = English;
2935
2935
  hasScannedForEncodings = 0;
2936
2936
  knownRegions = (
@@ -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>