Skip to content

Commit

Permalink
Fix visionOS build, bump to 5.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ossus-lib committed Mar 4, 2024
1 parent 7095f83 commit 3f6a18b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Changelog
Version numbering represents the Swift version, plus a running number representing updates, fixes and new features at the same time.
You can also refer to commit logs to get details on what was implemented, fixed and improved.

#### 5.3.5

- Fix visionOS build issue
[#417](https://github.com/p2/OAuth2/pull/417)

#### 5.3.4

- Support OAuth2 Device Grant via `OAuth2DeviceGrant`
Expand Down
4 changes: 2 additions & 2 deletions OAuth2.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 5.3.4;
MARKETING_VERSION = 5.3.5;
METAL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -980,7 +980,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 5.3.4;
MARKETING_VERSION = 5.3.5;
METAL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 2 additions & 0 deletions Sources/iOS/OAuth2Authorizer+iOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ open class OAuth2Authorizer: OAuth2AuthorizerUI {
/// The OAuth2 instance this authorizer belongs to.
public unowned let oauth2: OAuth2Base

#if !os(visionOS)
/// Used to store the `SFSafariViewControllerDelegate` || `UIAdaptivePresentationControllerDelegate`
private var safariViewDelegate: OAuth2SFViewControllerDelegate?
#endif

/// Used to store the authentication session.
private var authenticationSession: AnyObject?
Expand Down
2 changes: 1 addition & 1 deletion generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
bundle exec jazzy \
-o "docs" \
--min-acl "internal" \
--module-version "5.3.4"
--module-version "5.3.5"

mkdir docs/assets 2>/dev/null
cp assets/* docs/assets/
2 changes: 1 addition & 1 deletion p2.OAuth2.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Pod::Spec.new do |s|
s.name = 'p2.OAuth2'
s.version = '5.3.4'
s.version = '5.3.5'
s.summary = 'OAuth2 framework for macOS, iOS and tvOS, written in Swift.'
s.description = <<-DESC
OAuth2 frameworks for macOS, iOS and tvOS written in Swift.
Expand Down

0 comments on commit 3f6a18b

Please sign in to comment.