[GH-ISSUE #530] Build error when the OAUTH_APP_EXTENSIONS flag is enabled #350

Closed
opened 2026-03-03 16:47:58 +03:00 by kerem · 1 comment
Owner

Originally created by @shadyoak on GitHub (Jun 19, 2019).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/530

Description:

I am unable to integrate v2.0.0 into my iOS app extension. The project will not compile for me with the OAUTH_APP_EXTENSIONS flag enabled. The problem is theUIApplication.shared calls that were introduced as part of PR #516. Previously, I was using v1.3.0 which worked fine.

OAuth Version:

  • Version 1
  • Version 2

OS (Please fill the version) :

  • iOS :
  • OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • CocoaPods
  • Swift Package Manager
  • Manually

Library version:

  • head
  • v2.0.0
  • v1.4.1
  • v1.2.1
  • v1.2 (Swift 4.0)
  • v1.0.0
  • v0.6
  • other: (Please fill in the version you are using.)

Xcode version:

  • 11.x (Swift 5.1)

  • 10.x (Swift 5.0)

  • 10.x (Swift 4.1)

  • 9.3 (Swift 4.1)

  • 9.0 (Swift 4.0)

  • other: (Please fill in the version you are using.)

  • objective c

Originally created by @shadyoak on GitHub (Jun 19, 2019). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/530 ### Description: I am unable to integrate v2.0.0 into my iOS app extension. The project will not compile for me with the `OAUTH_APP_EXTENSIONS` flag enabled. The problem is the`UIApplication.shared` calls that were introduced as part of PR #516. Previously, I was using v1.3.0 which worked fine. ### OAuth Version: - [x] Version 1 - [x] Version 2 ### OS (Please fill the version) : - [x] iOS : - [ ] OSX : - [ ] TVOS : - [ ] WatchOS : ### Installation method: - [ ] Carthage - [x] CocoaPods - [ ] Swift Package Manager - [ ] Manually ### Library version: - [ ] head - [x] v2.0.0 - [ ] v1.4.1 - [ ] v1.2.1 - [ ] v1.2 (Swift 4.0) - [ ] v1.0.0 - [ ] v0.6 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [ ] 11.x (Swift 5.1) - [x] 10.x (Swift 5.0) - [ ] 10.x (Swift 4.1) - [ ] 9.3 (Swift 4.1) - [ ] 9.0 (Swift 4.0) - [ ] other: (Please fill in the version you are using.) - [ ] objective c
kerem closed this issue 2026-03-03 16:47:58 +03:00
Author
Owner

@phimage commented on GitHub (Jun 19, 2019):

thanks for looking in code history ;)
pr merged

<!-- gh-comment-id:503747218 --> @phimage commented on GitHub (Jun 19, 2019): thanks for looking in code history ;) pr merged
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#350
No description provided.