Skip to content

Commit

Permalink
revert to swift3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbnjmn committed Sep 27, 2017
1 parent d605c5f commit 2a16bcd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
3.2
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## Note: Will eventually be automated by fastlane, but manual updates for now!
## Note 2: Keep this document's max column width to 80 characters! Thank you :)

##### v 1.1.3:
- Switch back to Swift 3.2, to accomodate for a single Swift version in base podfile.
##### v 1.1.2:
- The `var accessibilityControls` is now a function! `rapidAccessibilityControls`,
just use that to return your variables you otherwise put into accessibilityControls.
Expand Down
2 changes: 1 addition & 1 deletion RapidA11y.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RapidA11y'
s.version = '1.1.2'
s.version = '1.1.3'
s.summary = 'Accessibility framework build to interact with RapidTests, a UI testing framework.'
s.description = 'RapidA11y is an accessibility framework built to ease the addition of accessibility to
an iOS application. This enables both easy VoiceOver implementations and integration into RapidTests, a partner
Expand Down
16 changes: 8 additions & 8 deletions RapidA11y.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ctb.RapidDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -750,7 +750,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ctb.RapidDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand All @@ -764,7 +764,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ctb.RapidDemoUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
TEST_TARGET_NAME = RapidDemo;
};
name = Debug;
Expand All @@ -779,7 +779,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ctb.RapidDemoUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
TEST_TARGET_NAME = RapidDemo;
};
name = Release;
Expand Down Expand Up @@ -915,7 +915,7 @@
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -938,7 +938,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand Down Expand Up @@ -970,7 +970,7 @@
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1001,7 +1001,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion RapidTests.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RapidTests'
s.version = '1.1.2'
s.version = '1.1.3'
s.summary = 'UI testing framework built on top of RapidA11y.'
s.description = 'RapidTests is a UI testing framework built to ease the creation and
maintenance of UI tests in a complex iOS application. This framework is used only in
Expand Down
2 changes: 1 addition & 1 deletion RapidTests/XCUIApplication+A11y.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public extension XCUIApplication {
// We add a timer dispatch source here to make sure that we wake up at least every 0.x seconds
// in case we're waiting for a condition that does not necessarily wake up the run loop.
let timer: DispatchSourceTimer = DispatchSource.makeTimerSource(flags: DispatchSource.TimerFlags(rawValue: 0), queue: queue)
timer.schedule(deadline: .now(), repeating: .milliseconds(100))
timer.scheduleRepeating(deadline: .now(), interval: .milliseconds(100))
timer.setEventHandler(handler: {
// purposeful no-op
})
Expand Down

0 comments on commit 2a16bcd

Please sign in to comment.