-
Notifications
You must be signed in to change notification settings - Fork 425
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
Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. #63
Comments
Hi, that's unfortunate :( Which version of Swift are you using in your project? Which version of the framework do you use? How does your podfile look like? |
Hi, My Swift version is 3.0.2. I am sorry about the Pod file as i have again deintegrate it and now working through my own class. |
Okay, I'll close this for now. Thanks for reporting! |
@dennisweissmann got same issue if I delete : SWIFT_VERSION then I've this convert to swift 3 issue |
@chlebta damn, which version are you using? (DeviceKit and Xcode and what is your application language version?) |
platform :ios, '10.0' target '...' do use_frameworks! pod '...' post_install do |installer| end |
Hi @danielewin, I cannot reproduce this :( What I've tried:
|
Probably I know the reason. My podfile also contains the line I removed it, deintegrate Pods, init them, clean up Derived Data, re-opened Xcode (those xcode magic tricks) --> and have no errors now ¯_(ツ)_/¯ |
Hey @vixentael , Glad you solved it, however I still cannot reproduce it :( As you can see in my previous reply I also tried it with a pod file which explicitly sets the Swift version. However, I'll leave this issue open so that people can find it easier (and work around it). Thanks for your input and workaround! |
Hey try to install cocoa lumberjack to reproduce it!
I slove it by adding manually instead of cocoapod.
On Wed, 1 Feb 2017 at 14:26, Dennis Weissmann ***@***.***> wrote:
Hey @vixentael <https://github.com/vixentael> ,
Glad you solved it, however I still cannot reproduce it :( As you can see
in my previous reply I also tried it with a pod file which explicitly sets
the Swift version.
However, I'll leave this issue open so that people can find it easier (and
work around it).
Thanks for your input and workaround!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABJhgD0b_1fIojMx5eqMmwts7zblDTLIks5rYIgSgaJpZM4LblpM>
.
--
Kind Regards :
Kaouach Ahmed Alaeddine
iOS developer - Software Engineer
LinkedIn <http://tn.linkedin.com/in/chlebta>
|
@vixentael I only now saw your screenshot, this is not related to this issue, these are errors coming from SwiftLint, you should always exclude 3rd-party code from linting! |
Okay guys, which version of CocoaPods do you use? I'm on 1.2.0 and I still cannot reproduce it (also not with Cocoa Lumberjack @chlebta) |
@dennisweissmann I'm using pod 1.1.1 |
Is this still an issue with Xcode > 8.3? |
I tried to install it through cocoapod. Installation went successful but my xcode force me to convert swift code i tried doing it later i got 18 errors. Then i deintegrate it pod from my project and again tried installing it. However, process was successful again but this time i didnt choose conversion of swift syntax on which i got this error: " Check dependecies: 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." What should i do next ?
The text was updated successfully, but these errors were encountered: