SwiftSocket icon indicating copy to clipboard operation
SwiftSocket copied to clipboard

Xcode 10.2.1 unsupported swift version (3.0 not supported anymore)

Open BruceZhang2017 opened this issue 6 years ago • 11 comments

Someone can notify author to deal it?

BruceZhang2017 avatar Jul 13 '19 07:07 BruceZhang2017

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

atchoo78 avatar Jul 17 '19 04:07 atchoo78

Hi Andres:

you know developers that be all "lazy",why not upgrade it.

On Wed, Jul 17, 2019 at 12:10 PM Andreas [email protected] wrote:

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".

[image: Skjermbilde] https://user-images.githubusercontent.com/20549049/61346549-7fba9200-a859-11e9-9e02-5f23b41da7f1.png

It should now work as expected 🤓

Cheers,

Andreas

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/swiftsocket/SwiftSocket/issues/174?email_source=notifications&email_token=AHFFHLNLSLAZKIZGWECZR2TP72LUFA5CNFSM4ICYRO6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2C7AFY#issuecomment-512094231, or mute the thread https://github.com/notifications/unsubscribe-auth/AHFFHLIP6PBY3IGNPC3DMA3P72LUFANCNFSM4ICYRO6A .

-- This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of such information or any action taken in reliance on this e-mail is strictly prohibited.If you receive this email in error, please notify the sender by phone or email immediately and delete it!

BruceZhang2017 avatar Jul 17 '19 06:07 BruceZhang2017

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

atchoo78 avatar Jul 18 '19 23:07 atchoo78

@atchoo78 thanks for upgrade it.good job!

BruceZhang2017 avatar Aug 04 '19 01:08 BruceZhang2017

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

shayneoneill avatar Oct 14 '19 01:10 shayneoneill

so sorry.we only choose to integration the source code into our project. so i close this issue.

On Mon, Oct 14, 2019 at 9:41 AM shayneoneill [email protected] wrote:

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

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/swiftsocket/SwiftSocket/issues/174?email_source=notifications&email_token=AHFFHLM3WAIUEMCQPUTOT4TQOPE4RA5CNFSM4ICYRO6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBDFPOI#issuecomment-541480889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHFFHLL7MP4LZFQJORIYIJLQOPE4RANCNFSM4ICYRO6A .

-- This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of such information or any action taken in reliance on this e-mail is strictly prohibited.If you receive this email in error, please notify the sender by phone or email immediately and delete it!

BruceZhang2017 avatar Oct 14 '19 02:10 BruceZhang2017

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

shayneoneill avatar Oct 18 '19 08:10 shayneoneill

yes,this problem do not solve. open.

BruceZhang2017 avatar Oct 18 '19 08:10 BruceZhang2017

Fixed in: https://github.com/swiftsocket/SwiftSocket/pull/188/commits

sohail-shahid avatar Jan 20 '20 11:01 sohail-shahid

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

eschos24 avatar Apr 08 '20 15:04 eschos24

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

d0n13 avatar Oct 18 '21 16:10 d0n13