[GH-ISSUE #611] Mac Demo & Framework fail to compile "out of the box" #398

Closed
opened 2026-03-03 16:48:21 +03:00 by kerem · 0 comments
Owner

Originally created by @tevendale on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/611

Description: Mac Demo & Framework fail to compile "out of the box"

OAuth Version:

  • Version 1
  • Version 2

OS (Please fill the version) :

  • iOS :
  • [x ] OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • CocoaPods
  • Swift Package Manager
  • [x ] Manually

Library version:

  • [x ] head
  • v2.1.0
  • v2.0.0
  • v1.4.1
  • other: (Please fill in the version you are using.)

Xcode version:

  • 11.4 (Swift 5.2)

  • 11.x (Swift 5.1)

  • 10.x (Swift 5.0)

  • [x ] other: 11.5 & 11.6

  • objective c

Unable to compile the MacDemo or Mac Framework Target

OAuth2Swift fails with: Line 149: Use of unresolved identifier 'ASWebAuthenticationURLHandler' & Line 152: Use of unresolved identifier 'SFAuthenticationURLHandler'

Also, OAuthLogProtocol.swift needs to be included in the Mac target for the framework for a successful compile.

Originally created by @tevendale on GitHub (Jul 22, 2020). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/611 ### Description: Mac Demo & Framework fail to compile "out of the box" ### OAuth Version: - [ ] Version 1 - [x] Version 2 ### OS (Please fill the version) : - [ ] iOS : - [x ] OSX : - [ ] TVOS : - [ ] WatchOS : ### Installation method: - [ ] Carthage - [ ] CocoaPods - [ ] Swift Package Manager - [x ] Manually ### Library version: - [x ] head - [ ] v2.1.0 - [ ] v2.0.0 - [ ] v1.4.1 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [ ] 11.4 (Swift 5.2) - [ ] 11.x (Swift 5.1) - [ ] 10.x (Swift 5.0) - [x ] other: 11.5 & 11.6 - [ ] objective c Unable to compile the MacDemo or Mac Framework Target OAuth2Swift fails with: Line 149: Use of unresolved identifier 'ASWebAuthenticationURLHandler' & Line 152: Use of unresolved identifier 'SFAuthenticationURLHandler' Also, OAuthLogProtocol.swift needs to be included in the Mac target for the framework for a successful compile.
kerem closed this issue 2026-03-03 16:48:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#398
No description provided.