iOS - cocoapods not updating

Viewed 3004

I have my own pod that i have uploaded to cocoa. I have uploaded new lined of code , i can see them in the repo , i can see them in the pod that is in the project but still they aren't executed.

Pod spec: enter image description here

pod new code lines from the podspec: enter image description here

any idea?

pod new code lines in the repo: enter image description here

4 Answers

For now i am doing rm -rf Pods and then pod install. That fixes the issue.

  • Make sure that you have release new version of pod in Cocoapods with the updated code.

  • In your iOS Application, Run the following commands to get the latest version of pod. pod repo update pod update

Make sure that the git commit that has the change you want is tagged with the version specified in the podspec. In this case -- 1.1.8.

Xcode 10 and the new build system has bugs when it comes to development pods. Try switching your project to using the legacy build system, this has helped me in several projects.

Related