Search code examples
xcodecocoapods

iOS : How to get updated version of cocoapods in swift


I have created my own Cocoapod. When I released a new version, then it should be available for the users. I have pushed the latest changes to git Cocoapods repository. Then I ran the command:

pod update

It showing the message for latest version update. But I am not getting the changes in my pod.


Solution

  • 1: Run this command in terminal to update pod repo in your system

    pod repo update
    

    2: Then run

    pod deintegrate
    pod clean
    pod install