mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 04:35:56 +03:00
[PR #605] [MERGED] Fix broken build when compiling for Mac Catalyst #689
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#689
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/605
Author: @Timac
Created: 6/21/2020
Status: ✅ Merged
Merged: 7/1/2020
Merged by: @phimage
Base:
master← Head:feature/FixCatalystBuild📝 Commits (1)
94e2105The revision42e18ec60f45e1f51585410cd63758c1b47574ccintroduced a build error when compiling for Mac Catalyst.📊 Changes
1 file changed (+9 additions, -0 deletions)
View changed files
📝
Sources/OAuth2Swift.swift(+9 -0)📄 Description
The revision
42e18ec60f45e1f51585410cd63758c1b47574ccintroduced a build error when compiling for Mac Catalyst.As you can see in
SFAuthenticationURLHandler.swift, SFAuthenticationURLHandler is not defined on Catalyst:The proposed solution consists of using the same
#if targetEnvironment(macCatalyst)to not use SFAuthenticationURLHandler when compiling for Catalyst.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.