Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible error with xcode 8.2.1 #32

Closed
ghost opened this issue Mar 29, 2017 · 5 comments
Closed

Compatible error with xcode 8.2.1 #32

ghost opened this issue Mar 29, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2017

When I tried to install Tron, it shows me this message in XCode :

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

As Mentioned I'm using XCode Version 8.2.1 & Cocoapods 'TRON', '~> 2.0.0'
The different is, version of Alamofire was (4.2.0)in that time TRON was working fine, but for current version Alamofire (4.4.0) showing me mentioned error

@DenTelezhkin
Copy link
Member

TRON 2.0 requires Swift 3, are you tryin to compile it with Swift 2.3?

@ghost
Copy link
Author

ghost commented Mar 29, 2017

I'm using Xcode 8 & Swift 3

@ghost
Copy link
Author

ghost commented Mar 29, 2017

The whole project build in swift 3, this issue appears only when I install TRON pod

@DenTelezhkin
Copy link
Member

That's really weird, we are using TRON in multiple projects built in Swift 3 and never seen this issue. Maybe it's CocoaPods issue, what version are you using? It's recommended to use latest release version, right now it's 1.2.0, and there were some changes in 1.1.0 and 1.2.0 regarding SWIFT_VERSION settings.

@ghost
Copy link
Author

ghost commented Mar 30, 2017

Issue totally solved after update cocoapods to 1.2.0

Thanks @DenHeadless

@ghost ghost closed this as completed Mar 30, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant