[GH-ISSUE #290] not fully compatible with swift 3 released #171

Closed
opened 2026-03-03 16:46:20 +03:00 by kerem · 2 comments
Owner

Originally created by @tobatha on GitHub (Oct 11, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/290

hi,
trying to add the lib via cocoapods, but it'll popup legacy swift version error, and Xcode forces me to upgrade syntax to swift 3

and then i copy all the source folder directly to my project, a lot of compile errors and adjustments need to be done, anyone has the same problem yet?

Originally created by @tobatha on GitHub (Oct 11, 2016). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/290 hi, trying to add the lib via cocoapods, but it'll popup legacy swift version error, and Xcode forces me to upgrade syntax to swift 3 and then i copy all the source folder directly to my project, a lot of compile errors and adjustments need to be done, anyone has the same problem yet?
kerem 2026-03-03 16:46:20 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@tobatha commented on GitHub (Oct 11, 2016):

using carthage, and import the framework solved the problem.

<!-- gh-comment-id:252807854 --> @tobatha commented on GitHub (Oct 11, 2016): using carthage, and import the framework solved the problem.
Author
Owner

@phimage commented on GitHub (Oct 11, 2016):

legacy swift version error, it's a local problem in your workspace
cocoapod and xcode do some dirty things
many times you must go to your Build settings target and choose the swift version
"Use legacy swift language version"
for 2.3 => Yes , for 3.0 => No

<!-- gh-comment-id:252845093 --> @phimage commented on GitHub (Oct 11, 2016): legacy swift version error, it's a local problem in your workspace cocoapod and xcode do some dirty things many times you must go to your Build settings target and choose the swift version "Use legacy swift language version" for 2.3 => Yes , for 3.0 => No
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#171
No description provided.