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

Xcode 10.2.1 unsupported swift version (3.0 not supported anymore) #174

Open
BruceZhang2017 opened this issue Jul 13, 2019 · 11 comments
Open

Comments

@BruceZhang2017
Copy link

Someone can notify author to deal it?

@atchoo78
Copy link

Hello,

  1. Click the "Pods" folder inside your project,
  2. Then select the "Swiftsocket" target and go to "Build settings" at the top.
  3. Click "All" (where it says "Basic", "Customized", "All"...etc), and scroll down to the field "Swift Language Version".
  4. Change the value from "Swift 3" to "Swift 5".

Skjermbilde

It should now work as expected 🤓

Cheers,

Andreas

@BruceZhang2017
Copy link
Author

BruceZhang2017 commented Jul 17, 2019 via email

@atchoo78
Copy link

I agree. Just to clarify: I am not in any way associated with the development/developers of this framework. I just wanted to point out how I made it work even though it's kind of outdated.

Andreas

@BruceZhang2017
Copy link
Author

@atchoo78 thanks for upgrade it.good job!

@shayneoneill
Copy link

Why is this closed? The problem isn't resolved. The Work-around is incompatible with CI

@BruceZhang2017
Copy link
Author

BruceZhang2017 commented Oct 14, 2019 via email

@shayneoneill
Copy link

Yes but the problem isn't solved until its actually solved in the code.

@BruceZhang2017
Copy link
Author

yes,this problem do not solve. open.

sohail-shahid added a commit to sohail-shahid/SwiftSocket that referenced this issue Jan 20, 2020
sohail-shahid added a commit to sohail-shahid/SwiftSocket that referenced this issue Jan 20, 2020
@sohail-shahid
Copy link

@eschos24
Copy link
Contributor

eschos24 commented Apr 8, 2020

You can include setting the SwiftVersion in a script in your Podfile. Your Podfile should look like this:

target 'TargetName' do
  use_frameworks!

  pod 'SwiftSocket'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if ['SwiftSocket'].include? target.name
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '5'
      end
    end
  end
end

@d0n13
Copy link

d0n13 commented Oct 18, 2021

Can the developer hand this over to somebody who can fix?

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

6 participants