2526 Commits

Author SHA1 Message Date
Matt Rubin 0c6cdf41e0 Merge pull request #475 from mattrubin/maintenance
Bump iOS deployment target to 16.0
build/2526
2026-04-10 17:08:22 -04:00
Matt Rubin f06b4e932c [ci] Temporarily disable Codecov uploading 2026-04-10 14:49:10 -04:00
Matt Rubin 20973b2456 [ci] Migrate from xcversion to xcodes 2026-04-10 14:49:05 -04:00
Matt Rubin 7a86dcb418 [ci] Disable failing script for printing bundled runtimes
> Bundled runtimes:
>   Xcode_16.0.0.app
>   2026-04-10 17:19:55.567 defaults[4268:16280]
>   The domain/default pair of (/Applications/Xcode_16.0.0.app/Contents/Developer/Platforms/*.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/*.simruntime/Contents/Info.plist, CFBundleName) does not exist
>   Error: Process completed with exit code 1.
2026-04-10 14:49:00 -04:00
Matt Rubin 4707756282 [ci] Allow other test jobs to complete even if one fails 2026-04-10 14:48:53 -04:00
Matt Rubin 23a63effb0 [ci] Modernize GitHub Actions testing workflow
- Run jobs on MacOS 15
- Update test matrix to use modern Xcode and iOS versions
- Use latest versions of GitHub Actions dependencies
2026-04-10 14:48:43 -04:00
Matt Rubin ce4b064f51 Migrate off of deprecated UTType constant
"'kUTTypeUTF8PlainText' was deprecated in iOS 15.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead."
2026-04-10 12:55:48 -04:00
Matt Rubin 122d3ec3fd Bump iOS deployment target to 16.0 2026-04-10 12:42:39 -04:00
Matt Rubin fcce9772a5 Upgrade fastlane tools 2026-04-10 11:45:01 -04:00
Matt Rubin 2d52b6311f Merge pull request #466 from mattrubin/2026
Modernize tooling and project configuration
2026-01-06 21:06:52 -05:00
Matt Rubin 06a1857ec5 Revert versioning scheme change build/2516 2026-01-06 15:42:08 -05:00
Matt Rubin e37efa6f02 Update Swiftlint config to be opt-out rather than opt-in build/2515 2026-01-06 15:20:17 -05:00
Matt Rubin 64ff947f34 Delete unused imports flagged by swiftlint analyze 2026-01-06 14:20:12 -05:00
Matt Rubin e095891450 Prefer XCTAssertEqual and XCTAssertNotEqual over XCTAssert
When tests fail, the more specific matchers provide better error messages.
2026-01-06 13:19:27 -05:00
Matt Rubin b0a0a33a8b Update screenshots for new screen sizes:
- Update fastlane snapshot config with new devices
- Remove SimulatorStatusMagic, which doesn't work as easily on newer simulators
- Configure fastlane snapshot to make the status bar pretty
- Annotate screenshot test case with `@MainActor` as required by the snapshot helper function

A few issues I ran into:
- The iOS simulator inherits the 12/24-hour time format preference from the macOS host *at the time the simulator is created* and does not expose a way to change this setting via either the Settings app or an `xcrun simctl` command. The fix was to manually run `plutil -remove AppleICUForce24HourTime ~/Library/Developer/CoreSimulator/Devices/[Simulator UUID]/data/Library/Preferences/.GlobalPreferences.plist` for each simulator before running fastlane snapshot.
- There are imperceptible differences between screenshots rendered when my MBP is running on battery power vs running off a power adapter. I opted to capture screenshots when connected to power.
- The (in)visibility of the home indicator at the bottom of each screenshot is flaky. Most screenshots don't include it, but I had to re-generate several of them to get them all without home indicators.
2026-01-06 13:03:46 -05:00
Matt Rubin 1c09a968bf Upgrade project format to Xcode 16.3+ 2026-01-03 15:04:34 -05:00
Matt Rubin e6b9184e1f Use non-optional Data(_:) initializer to convert String to Data 2026-01-03 15:00:29 -05:00
Matt Rubin 7f594df5e9 Temporarily disable xct_specific_matcher SwiftLint rule 2026-01-03 14:51:16 -05:00
Matt Rubin 7692d14fed Fix SwiftLint build script configuration 2026-01-03 14:50:52 -05:00
Matt Rubin ca97683554 Disable Liquid Glass with UIDesignRequiresCompatibility 2026-01-03 14:41:24 -05:00
Matt Rubin 121916b946 Update to recommended Xcode project settings 2026-01-03 14:40:54 -05:00
Matt Rubin 4368c0546d Update fastlane snapshot helper 2026-01-03 13:16:37 -05:00
Matt Rubin 7abe36ca7b Upgrade Carthage dependencies 2026-01-03 13:15:58 -05:00
Matt Rubin ec2ceded4a Pin Ruby version and upgrade fastlane 2026-01-03 13:14:47 -05:00
Matt Rubin 500c9a0cdf Merge pull request #407 from mattrubin/modernize
Update project for modern Xcode, Swift, and iOS
2023-02-12 14:55:17 -05:00
Matt Rubin c8a16be470 Update copyright notice dates 2023-02-12 13:46:12 -05:00
Matt Rubin a32388726e Remove direct initialization of empty NSErrors in tests 2023-02-12 13:33:57 -05:00
Matt Rubin fd1200f59f Fix UITableViewAlertForLayoutOutsideViewHierarchy warnings in tests 2023-02-12 11:31:56 -05:00
Matt Rubin 48306cccf9 Fix a comment typo 2023-02-12 11:05:24 -05:00
Matt Rubin c8ad1c1591 [CI] Fix collection of code coverage info 2023-02-12 09:33:33 -05:00
Matt Rubin 98c539c7a9 Merge github-actions into modernize 2023-02-12 02:42:06 -05:00
Matt Rubin 542c5562a1 Delete Travis CI configuration 2023-02-12 02:11:53 -05:00
Matt Rubin 6ef500abbb Configure GitHub Actions to test on more OS and device combinations 2023-02-12 02:11:53 -05:00
Matt Rubin bb066eb47a Configure GitHub Actions CI 2023-02-12 01:04:51 -05:00
Matt Rubin 154b44a644 Merge pull request #392 from mattrubin/dependabot/bundler/jmespath-1.6.1
Bump jmespath from 1.4.0 to 1.6.1
2023-02-11 23:02:43 -05:00
Matt Rubin cefd037711 Update the version number (and change how build numbers are set) build/2490 2023-02-11 17:11:28 -05:00
Matt Rubin 1104b8e801 Update screenshots
Disable battery detail, since it looks busy on the modern iPhone screens
2023-02-11 16:21:03 -05:00
Matt Rubin d07e4b2992 Update inkscape command line options, then regenerate app icons 2023-02-11 16:21:03 -05:00
Matt Rubin ae70bde117 Upgrade fastlane tools 2023-02-11 16:21:03 -05:00
Matt Rubin b0ef1cb757 Fix a bug where nav bar button text would change size while animating 2023-02-11 16:21:02 -05:00
Matt Rubin 2dfec07973 Restore previous segmented control text colors 2023-02-11 13:47:30 -05:00
Matt Rubin 50716561dd Restore previous navigation bar, toolbar, and modal presentation styles 2023-02-11 13:34:27 -05:00
Matt Rubin 319a72caaa Modernize xcscheme files 2023-02-11 13:16:27 -05:00
Matt Rubin 1f5fa14dc6 Set the project's Swift language mode to Swift 5 2023-02-11 13:16:05 -05:00
Matt Rubin 2fa99856fa Remove unnecessary if #available checks 2023-02-11 13:05:49 -05:00
Matt Rubin 45a6cc74de Fix use of deprecated openURL 2023-02-11 13:05:12 -05:00
Matt Rubin 8707104037 Fix use of deprecated cross-module struct initialization
https://github.com/apple/swift-evolution/blob/main/proposals/0189-restrict-cross-module-struct-initializers.md

Since the demo tokens are only needed when generating screenshots, we can exclude them from release builds, and use @testable to access PersistentToken's internal initializer in debug builds.
2023-02-11 13:02:40 -05:00
Matt Rubin 00b5f74bf8 Fix deprecated matching of multiple associated values as a tuple 2023-02-11 12:22:02 -05:00
Matt Rubin addd883343 Update SwiftLint configuration
This change disables some rules that we would like to re-enable, but the short-term goal is to get the linter to a warning-free state given the current codebase.
2023-02-11 12:07:54 -05:00
Matt Rubin a862a2fe5b Fix TokenListViewController tests 2023-02-11 11:46:23 -05:00