Swiftyjson: Please add support for Swift 4.* and iOS 11

Created on 25 Sep 2017  ·  11Comments  ·  Source: SwiftyJSON/SwiftyJSON

I am using XCode version 9.0

Please find error in attached screenshot:
screen shot 2017-09-25 at 7 28 00 pm copy
screen shot 2017-09-25 at 7 22 19 pm

Swift4

Most helpful comment

Version 4.0.0-alpha.1 is out as a prerelease which supports Swift 4. If you're using Cocoapods, you can specify '~> 4.0.0-alpha' as the version in your Podfile.

I am interested to know when version 4 will be officially released, now that XCode 9 is official.

All 11 comments

Version 4.0.0-alpha.1 is out as a prerelease which supports Swift 4. If you're using Cocoapods, you can specify '~> 4.0.0-alpha' as the version in your Podfile.

I am interested to know when version 4 will be officially released, now that XCode 9 is official.

To add to this, with Carthage 4.0.0-alpha.1 can be used by putting github "SwiftyJSON/SwiftyJSON" ~> 4.0.0 into the Cartfile.

Is there is any update on the swift 4.0 support

pod 'SwiftyJSON', '~> 4.0.0-alpha' is not working, need I update Cocoapods?

@keason If you run pod search SwiftyJSON locally and the resut of seach is missing something likes:

-> SwiftyJSON (4.0.0-alpha.1)
SwiftyJSON makes it easy to deal with JSON data in Swift
pod 'SwiftyJSON', '~> 4.0.0-alpha.1'
.......

You will need to run pod repo update to update the latest pod spec. And then run pod install again and there you go!

THANKS MUCH!!!!!
I get following :
Installing SwiftyJSON 4.0.0-alpha.1 (was 3.1.4)
BUT Xcode Log:
The following binaries use incompatible versions of Swift:
/Users/XXXX/Library/Developer/Xcode/DerivedData/XXXXX-bvrohlgxnwocydctlpjdtuliesbw/Build/Products/Debug-iphoneos/XXXXXX.app/XXXXX
/Users/XXXX/Library/Developer/Xcode/DerivedData/XXXXX-byzhxnqdqrbakvcmectefzrwollw/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON

THANKS MUCH!!!!!

I get following :
Installing SwiftyJSON 4.0.0-alpha.1 (was 3.1.4)
BUT Xcode Log:
The following binaries use incompatible versions of Swift:
/Users/XXXX/Library/Developer/Xcode/DerivedData/XXXXX-bvrohlgxnwocydctlpjdtuliesbw/Build/Products/Debug-iphoneos/XXXXXX.app/XXXXX
/Users/XXXX/Library/Developer/Xcode/DerivedData/XXXXX-byzhxnqdqrbakvcmectefzrwollw/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/SwiftyJSON

how can I fix it ! Thanks for your helping.

Best Regards,
Even Wong
Tel : (852) 2408 0938
Mobile: 6184 4207
web-site : tree-apps.com http://www.tree-apps.com/
E-Mail : even even@tree-apps.com@tree-apps.com even@tree-apps.com
Our Science Park Link Here http://www.hkstp.org/zh-HK/Company-Directory/Company-Details.aspx?itemid=42495#.VK-X3Fpz7TUtree Apps Limited
HK office: Flat C,6/F., First Asia Tower, 8 Fui Yiu Kok, Tsuen Wan,NT., Hong Kong
Development Office: Unit 308-313, 3/F Enterprise Place No. 5 Science Park West Avenue, H.K.

Zigii Wong notifications@github.com 於 2017年10月9日 下午5:33 寫道:

@keason https://github.com/keason If you run pod search SwiftyJSON locally and the resut of seach is missing something likes:

-> SwiftyJSON (4.0.0-alpha.1)
SwiftyJSON makes it easy to deal with JSON data in Swift
pod 'SwiftyJSON', '~> 4.0.0-alpha.1'
.......
You will need to run pod repo update to update the latest pod spec

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SwiftyJSON/SwiftyJSON/issues/895#issuecomment-335107572, or mute the thread https://github.com/notifications/unsubscribe-auth/AIf1INXBZ1b7DpsVf4qhNItkFR_puLayks5sqehRgaJpZM4Pi1XM.

@keason I've found a similar issue here, not sure if this helps.
https://stackoverflow.com/questions/38793192/xcode-8-beta-4-build-fails-with-the-following-binaries-use-incompatible-versio
I would recommend you to open another new issue to address this.

Thanks Much!!

Best Regards,
Even Wong
Tel : (852) 2408 0938
Mobile: 6184 4207
web-site : tree-apps.com http://www.tree-apps.com/
E-Mail : even even@tree-apps.com@tree-apps.com even@tree-apps.com
Our Science Park Link Here http://www.hkstp.org/zh-HK/Company-Directory/Company-Details.aspx?itemid=42495#.VK-X3Fpz7TUtree Apps Limited
HK office: Flat C,6/F., First Asia Tower, 8 Fui Yiu Kok, Tsuen Wan,NT., Hong Kong
Development Office: Unit 308-313, 3/F Enterprise Place No. 5 Science Park West Avenue, H.K.

Zigii Wong notifications@github.com 於 2017年10月10日 上午10:05 寫道:

@keason https://github.com/keason I've found a similar issue here, not sure if this helps.
https://stackoverflow.com/questions/38793192/xcode-8-beta-4-build-fails-with-the-following-binaries-use-incompatible-versio https://stackoverflow.com/questions/38793192/xcode-8-beta-4-build-fails-with-the-following-binaries-use-incompatible-versio
I would recommend you to open another new issue to address this.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SwiftyJSON/SwiftyJSON/issues/895#issuecomment-335337912, or mute the thread https://github.com/notifications/unsubscribe-auth/AIf1INgu3X96tRoTNNEBvNwMNIFS4QmPks5sqtDOgaJpZM4Pi1XM.

4.0.0 is out! 🎉

is a SwiftyJSON.framework file available for 4.0.0? My mind is blown trying to find it on the release page & I need to link the binary itself in my build phases - please help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

artjomzab picture artjomzab  ·  13Comments

Evertt picture Evertt  ·  11Comments

DarthRamone picture DarthRamone  ·  17Comments

Xedart picture Xedart  ·  13Comments

Joe2Code picture Joe2Code  ·  12Comments