227 Commits
Author SHA1 Message Date
Matt Rubin 3f5c3ed7ef Bump deployment targets to the current version minus one 2024-08-19 08:59:16 -04:00
Matt Rubin 2f5d43c337 Merge package-dependencies into modernize 2024-08-18 20:38:23 -04:00
Matt Rubin 9fb9cf7b20 Add .git suffix to package dependency URL
This is consistent with the URL in Package.swift, and the Git URL that GitHub provides.
2024-08-18 20:33:21 -04:00
Matt Rubin fbd02eb514 Delete OneTimePasswordLegacyTests 2022-12-28 21:12:34 -05:00
Matt Rubin 0254da27aa Refactor HMAC generation into Generator
Now that the code required is much simpler, there's no need for a separate file.
2022-12-28 16:52:42 -05:00
Matt Rubin d604ec7020 Delete linker flags for weak-linking CryptoKit
CryptoKit is required as of https://github.com/mattrubin/OneTimePassword/pull/230
2022-12-28 15:29:21 -05:00
Matt Rubin b4279ca307 Delete Base32 submodule and xcworkspace 2022-12-23 02:35:57 -05:00
Matt Rubin c1b6d307a3 Depend on Base32 via an Xcode package dependency 2022-12-23 02:35:57 -05:00
Matt Rubin 5f1a7a65e5 Specify that the SwiftLint build phase should run on every build 2022-12-23 01:47:14 -05:00
Matt Rubin 89f74a3c11 Upgrade Xcode project file and enable dead code stripping as recommended 2022-12-23 00:53:17 -05:00
Matt Rubin 825ad371a2 Drop CocoaPods support 2022-12-22 22:33:55 -05:00
Matt Rubin b1debd27e3 Add an explicit macOS deployment target 2022-06-07 01:20:28 -04:00
Matt Rubin e4c61d882d Bump deployment targets to iOS 13 and watchOS 6 2022-06-07 00:52:08 -04:00
Matt Rubin ab92be3bc7 Upgrade to Xcode 13.4 2022-05-29 01:37:01 -04:00
Matt Rubin ba6f93af3d Perform Xcode upgrade checks (and keep current deployment targets) 2022-02-25 21:59:36 -05:00
Matt Rubin bb722a937f Move Swift package manifest to the "Tools" file group 2021-05-15 16:47:28 -04:00
Matt Rubin c69178191d Merge develop into spm 2021-05-15 16:41:17 -04:00
Matt Rubin 856e549c96 Update project settings for Xcode 12.4
Xcode 12 doesn't support iOS deployment targets below 9.0, and Apple now requires apps submitted to the App Store to be built with Xcode 12, so the project's minimum deployment target has been bumped to iOS 9.0.
2021-04-23 21:06:20 -04:00
bas-d a44ef83e9b Add SPM support 2020-01-18 18:51:41 +01:00
Matt Rubin da31769bf7 Weakly link CryptoKit when building with the iOS 13 SDK
CryptoKit must be weakly linked so that code compiled with an SDK than can import CryptoKit does not crash when run on an OS version that pre-dates CryptoKit.
The weak link build setting must be conditional on the SDK so that the project can be built by Xcode 10, which is unable to link CryptoKit.
2019-09-18 00:46:45 -04:00
Gereon Steffens cb145c06bc Swift 5 compatibility 2019-05-24 17:03:06 +02:00
Matt Rubin e2a9b6c6e9 Move the SwiftLint build phase to a separate dedicated target
This allows the OneTimePassword schemes to trigger the SwiftLint run when building the framework directly, but will allow other projects embedding the framework to build it without seeing lint warnings that are unlikely to be relevant to users of the framework.
2019-04-27 17:43:41 -04:00
Matt Rubin 0f8d2caf2b Delete unnecessary framework umbrella header 2019-04-27 12:10:33 -04:00
Matt Rubin cebd13c6b5 Merge develop into next 2019-04-25 22:03:10 -04:00
Matt Rubin 491538c18f Defer Swift 5 migration 2019-04-11 16:39:25 -04:00
Matt Rubin 83a3872ff5 Update project localization as recommended by Xcode 10.2 2019-04-11 16:17:40 -04:00
Matt Rubin 09c601d6bc Remove manual Equatable implementations
As of Swift 4.1, these will be synthesized automatically.
2018-09-18 20:52:33 -04:00
Matt Rubin 6d2f4f0da9 Remove the CommonCrypto shim
As of Xcode 10, the custom module maps are no longer needed.
2018-09-18 20:52:33 -04:00
Matt Rubin ce06b66f72 Upgrade xcconfigs for Xcode 9.3 2018-04-21 00:25:00 -04:00
Matt Rubin 013d9d4256 Set SWIFT_TREAT_WARNINGS_AS_ERRORS to NO
New warnings in Swift 4.1 were breaking the ability to build the library via Carthage. (https://github.com/mattrubin/OneTimePassword/issues/166)
2018-03-31 22:23:47 -04:00
Matt Rubin a1221f39a6 Xcode 9.3 recommended changes, including the new SWIFT_COMPILATION_MODE 2018-03-31 22:06:04 -04:00
Matt Rubin 1e06e73298 Selectively exclude legacy tests from nullability conversion warnings 2017-10-10 15:12:56 -04:00
Matt Rubin 0b8f295323 Delete duplicate build settings 2017-10-09 23:29:26 -04:00
Matt Rubin 3955b1638a Update to Swift 4 2017-09-20 17:27:53 -04:00
Matt Rubin 164bb68c51 Update to recommended build settings with Xcode 9 2017-09-20 17:06:55 -04:00
Matt Rubin 87551a50a0 Merge swift-2.3 into swift-3 2016-12-29 00:53:29 -05:00
Matt Rubin da1164f98d Remove the dedicated app test bundle and use the app to host all tests 2016-12-14 20:46:17 -05:00
Matt Rubin 821ac72582 Add an empty app to serve as a test host for the keychain tests
As of iOS 10, keychain access from framework test bundles is broken in the simulator, returning error -34018 for every request.
By using an (empty) iOS app as a bundle loader, the test gains the app's access to the keychain and can run successfully.
2016-12-14 20:18:17 -05:00
Matt Rubin 5dda6bab64 Delete duplicate build settings 2016-11-15 23:32:19 -05:00
Matt Rubin 3be33e94b1 Merge 2.1-rc into version-2.1-changes 2016-11-15 23:09:52 -05:00
Matt Rubin 54c02672d1 Configure the Xcode project to always use four spaces for indentation 2016-11-13 13:10:53 -05:00
Matt Rubin 98b0eaea69 Add a dependency to all framework targets which injects the Xcode path 2016-11-12 01:02:55 -05:00
Matt Rubin 097b08f4e7 Merge pull request #92 from trsathya/master
Inject the correct Xcode path into CommonCrypto modulemaps
2016-11-12 00:06:22 -05:00
Matt Rubin e4fe7ac16d Inject the Xcode path into modulemaps when building in Xcode 2016-11-11 23:04:34 -05:00
Matt Rubin b2250a1038 Clean up xcconfig files 2016-11-03 15:04:53 -04:00
Matt Rubin 3b0759ed21 Move test build settings to a common xcconfig file 2016-11-03 14:58:39 -04:00
Matt Rubin 637542e460 Move framework build setting to a common xcconfig file 2016-11-03 14:51:32 -04:00
Matt Rubin c928761233 Move CommonCrypto include settings into an xcconfig file 2016-11-03 14:42:09 -04:00
Matt Rubin 3b464c41a2 Add xcconfig files for each target 2016-11-03 14:29:23 -04:00
Matt Rubin 12139156a1 Configure the watchOS framework to use manual code signing 2016-11-03 02:06:09 -04:00