Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SwiftyJSON supported in Xcode 8 and iOS 10?

I recently upgraded my Swift iOS application from Xcode7 to Xcode8 and deployment platform from iOS 9.3 to iOS 10. My application started breaking with errors like this:

Module file was created by an older version of the compiler: rebuild 'SwiftyJSON' and try again.

I Googled around and found this link on SO Module file was created by an older version of the compiler. Followed the instructions and removed the derived data and rebuilt using carthage update --no-use-binaries command. But the application still fails to build and complains about the error message mentioned above.

Is SwiftyJSON supported by Xcode 8 and iOS 10?

like image 957
Nital Avatar asked Sep 12 '16 15:09

Nital


People also ask

How do I use Alamofire and SwiftyJSON with Swift?

Steps to add Alamofire and SwiftyJSON Pods to your projectIt will create Podfile in your project's directory. Edit the pod file with your pods which you want to use and must remember the targets. Add pods to the particular target where you want to use that pod.


2 Answers

SwiftyJSON now supports Swift 3.

pod 'SwiftyJSON', '3.0.0'

like image 78
Marcus Leon Avatar answered Oct 05 '22 21:10

Marcus Leon


At the time of writing this: no.

But there is a fork of the swift3-branch which is working with the GM seeds.

https://github.com/acegreen/SwiftyJSON

like image 43
FelixSFD Avatar answered Oct 05 '22 19:10

FelixSFD