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
?
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.
SwiftyJSON now supports Swift 3.
pod 'SwiftyJSON', '3.0.0'
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With