diff --git a/OktaAuthFoundation.podspec b/OktaAuthFoundation.podspec index af0f9e816..fdbf3ba9b 100644 --- a/OktaAuthFoundation.podspec +++ b/OktaAuthFoundation.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "OktaAuthFoundation" s.module_name = "AuthFoundation" - s.version = "1.7.0" + s.version = "1.7.1" s.summary = "Okta Authentication Foundation" s.description = <<-DESC Provides the foundation and common features used to authenticate users, managing the lifecycle and storage of tokens and credentials, and provide a base for other Okta SDKs to build upon. @@ -22,6 +22,6 @@ Provides the foundation and common features used to authenticate users, managing s.authors = { "Okta Developers" => "developer@okta.com"} s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s } s.source_files = "Sources/AuthFoundation/**/*.swift" - s.resources = "Sources/AuthFoundation/Resources/*.lproj" + s.resources = "Sources/AuthFoundation/Resources/**/*" s.swift_version = "5.6" end diff --git a/OktaDirectAuth.podspec b/OktaDirectAuth.podspec index b97615edd..0aa17e78b 100644 --- a/OktaDirectAuth.podspec +++ b/OktaDirectAuth.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OktaDirectAuth" - s.version = "1.7.0" + s.version = "1.7.1" s.summary = "Okta Direct Authentication" s.description = <<-DESC Enables application developers to build native sign in experiences using the Okta Direct Authentication API. @@ -21,7 +21,7 @@ Enables application developers to build native sign in experiences using the Okt s.authors = { "Okta Developers" => "developer@okta.com"} s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s } s.source_files = "Sources/OktaDirectAuth/**/*.swift" - s.resources = "Sources/OktaDirectAuth/Resources/*.lproj" + s.resources = "Sources/OktaDirectAuth/Resources/**/*" s.swift_version = "5.6" s.dependency "OktaAuthFoundation", "#{s.version.to_s}" diff --git a/OktaOAuth2.podspec b/OktaOAuth2.podspec index d7fa5024d..3190091c5 100644 --- a/OktaOAuth2.podspec +++ b/OktaOAuth2.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OktaOAuth2" - s.version = "1.7.0" + s.version = "1.7.1" s.summary = "Okta OAuth2 Authentication" s.description = <<-DESC Enables application developers to authenticate users utilizing a variety of OAuth2 authentication flows. @@ -21,7 +21,7 @@ Enables application developers to authenticate users utilizing a variety of OAut s.authors = { "Okta Developers" => "developer@okta.com"} s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s } s.source_files = "Sources/OktaOAuth2/**/*.swift" - s.resources = "Sources/OktaOAuth2/Resources/*.lproj" + s.resources = "Sources/OktaOAuth2/Resources/**/*" s.swift_version = "5.6" s.dependency "OktaAuthFoundation", "#{s.version.to_s}" diff --git a/OktaWebAuthenticationUI.podspec b/OktaWebAuthenticationUI.podspec index a9cff1db4..11c0e080b 100644 --- a/OktaWebAuthenticationUI.podspec +++ b/OktaWebAuthenticationUI.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "OktaWebAuthenticationUI" s.module_name = "WebAuthenticationUI" - s.version = "1.7.0" + s.version = "1.7.1" s.summary = "Okta Web Authentication UI" s.description = <<-DESC Authenticate users using web-based OIDC. @@ -18,7 +18,7 @@ Authenticate users using web-based OIDC. s.authors = { "Okta Developers" => "developer@okta.com"} s.source = { :git => "https://github.com/okta/okta-mobile-swift.git", :tag => s.version.to_s } s.source_files = "Sources/WebAuthenticationUI/**/*.swift" - s.resources = "Sources/WebAuthenticationUI/Resources/*.lproj" + s.resources = "Sources/WebAuthenticationUI/Resources/**/*" s.swift_version = "5.6" s.dependency "OktaAuthFoundation", "#{s.version.to_s}" diff --git a/README.md b/README.md index 9f3b17aa6..7262856a5 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This library uses semantic versioning and follows Okta's [Library Version Policy | Version | Status | | ------- | ---------------------------------- | -| 1.7.0 | ✔️ Stable | +| 1.7.1 | ✔️ Stable | The latest release can always be found on the [releases page][github-releases]. diff --git a/Sources/AuthFoundation/Resources/PrivacyInfo.xcprivacy b/Sources/AuthFoundation/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..c6bdf9c11 --- /dev/null +++ b/Sources/AuthFoundation/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + diff --git a/Sources/AuthFoundation/Token Management/Internal/UserDefaultsTokenStorage.swift b/Sources/AuthFoundation/Token Management/Internal/UserDefaultsTokenStorage.swift index 6bb46c391..866a697ae 100644 --- a/Sources/AuthFoundation/Token Management/Internal/UserDefaultsTokenStorage.swift +++ b/Sources/AuthFoundation/Token Management/Internal/UserDefaultsTokenStorage.swift @@ -12,6 +12,7 @@ import Foundation +#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) #if canImport(LocalAuthentication) && !os(tvOS) import LocalAuthentication #else @@ -160,3 +161,4 @@ final class UserDefaultsTokenStorage: TokenStorage { userDefaults.synchronize() } } +#endif diff --git a/Sources/AuthFoundation/Version.swift b/Sources/AuthFoundation/Version.swift index 95af328c6..091bae916 100644 --- a/Sources/AuthFoundation/Version.swift +++ b/Sources/AuthFoundation/Version.swift @@ -13,5 +13,5 @@ import Foundation // swiftlint:disable identifier_name -public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.7.0") +public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.7.1") // swiftlint:enable identifier_name diff --git a/Sources/OktaDirectAuth/Resources/PrivacyInfo.xcprivacy b/Sources/OktaDirectAuth/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..c6bdf9c11 --- /dev/null +++ b/Sources/OktaDirectAuth/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + diff --git a/Sources/OktaDirectAuth/Version.swift b/Sources/OktaDirectAuth/Version.swift index 449060097..3ebd0a772 100644 --- a/Sources/OktaDirectAuth/Version.swift +++ b/Sources/OktaDirectAuth/Version.swift @@ -13,5 +13,5 @@ @_exported import AuthFoundation // swiftlint:disable identifier_name -public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.7.0") +public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.7.1") // swiftlint:enable identifier_name diff --git a/Sources/OktaOAuth2/Resources/PrivacyInfo.xcprivacy b/Sources/OktaOAuth2/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..c6bdf9c11 --- /dev/null +++ b/Sources/OktaOAuth2/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + diff --git a/Sources/OktaOAuth2/Version.swift b/Sources/OktaOAuth2/Version.swift index 56012f7a3..c0d0c34b2 100644 --- a/Sources/OktaOAuth2/Version.swift +++ b/Sources/OktaOAuth2/Version.swift @@ -13,5 +13,5 @@ @_exported import AuthFoundation // swiftlint:disable identifier_name -public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.7.0") +public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.7.1") // swiftlint:enable identifier_name diff --git a/Sources/WebAuthenticationUI/Resources/PrivacyInfo.xcprivacy b/Sources/WebAuthenticationUI/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..c6bdf9c11 --- /dev/null +++ b/Sources/WebAuthenticationUI/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + diff --git a/Sources/WebAuthenticationUI/Version.swift b/Sources/WebAuthenticationUI/Version.swift index eacb85551..73669c8c9 100644 --- a/Sources/WebAuthenticationUI/Version.swift +++ b/Sources/WebAuthenticationUI/Version.swift @@ -14,5 +14,5 @@ import Foundation import AuthFoundation // swiftlint:disable identifier_name -public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.7.0") +public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.7.1") // swiftlint:enable identifier_name diff --git a/Tests/AuthFoundationTests/UserDefaultsTokenStorageTests.swift b/Tests/AuthFoundationTests/UserDefaultsTokenStorageTests.swift index f26c10be2..f35b2e4b3 100644 --- a/Tests/AuthFoundationTests/UserDefaultsTokenStorageTests.swift +++ b/Tests/AuthFoundationTests/UserDefaultsTokenStorageTests.swift @@ -10,6 +10,7 @@ // See the License for the specific language governing permissions and limitations under the License. // +#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) import XCTest @testable import AuthFoundation import TestCommon @@ -102,3 +103,4 @@ final class UserDefaultTokenStorageTests: XCTestCase { XCTAssertNil(storage.defaultTokenID) } } +#endif