- Using pod of YOChartImageKit still getting error of No such module. (https://i.stack.imgur.com/fuqw0.png)
Below Steps are followed multiple times but not getting result. I tried remove pod and install again. Clean Project -> Remove DerivedData -> Open Project.
it's likely that the 'YOChartImageKit' framework won't build. This is because it's a very old library. The podspec indicates that the minimum deployment target is iOS 7.0. Based on this (https://developer.apple.com/forums/thread/728021), newer Xcode versions no longer support building for such old deployment targets.
I suggest adding the following code snippet to your podfile:
then you'll have to do a
pod installand probably you will have to set the User script sandboxing build options to NO in your target's build settings.I was able to successfully build it this way. However, I would like to note that this library is very old (abandonware). Please take this into consideration before using it.