iosswift3xcode8svprogresshud

Using SVProgressHUD fails to build in Xcode


I have installed SVProgressHud to my Xcode project via cocoa pods but I am getting an error during build time. I have posted an image of the error I am getting. I am using swift 3 and Xcode 8. I have searched everywhere for a solution but can't find anything. The only issue I can think of is the SVProgressHud cocoa pod that I have installed is not compatible with swift 3 and Xcode 8. I tried to install an earlier version of SVProgressHud but it automatically updates to the latest. I really don't know where to go from here. Help would be very much appreciated! Thanks in advance

enter image description here

Edited:

podfile

Adding to terminal


Solution

  • If you would like to try an older version of the pod, you can visit here for list of versions/changelogs: https://cocoapods.org/pods/SVProgressHUD#changelog

    and then in your podfile you can set the version like so:

    pod 'SVProgressHUD', '2.2.1'
    

    I was able to install the pod and build without issues on Xcode 9.2, so not sure if its and issue with xcode 8 or something else. If its an option, why not update to 9.2?