ERROR | [iOS] file patterns: The `source_files` pattern did not match any file

I've solved my issue by changing version number of my pod.
I've renamed my KJCurveSlider library to KJCircularSlider, because of major changes in library I wouldn't be able to push it using pod trunk push. I was constantly receiving following error when I tried to validate using pod spec lint library.podspec, nevertheless I had mention perfect path of s.source_files in podspec
- ERROR | [iOS] file patterns: Thesource_filespattern did not match any file.
Then I updated version from 0.1.0 to 0.2.0, it validated successfully


I cleared the cache for my Pod and it worked!

pod cache clean YOUR_POD_NAME