简体   繁体   中英

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

在此处输入图片说明

Edited:

podfile

添加到终端

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM