Git permission — Source tree

Please make sure you have the correct access rights
and the repository exists.
Permission denied (publickey).
fatal: Could not read from remote repository.
  • ssh-add ~/.ssh/your_rsa
  • It can be found in your root directory .ssh



I want to update only a specific SDK or a library from Cocoa pods dependency manager.

✅ First, check the version of the pod that you wish to update

  • Open Podfile.lock

Podfile.lock keeps track of the resolved versions of each Pod installed, it’s not advisable to edit this file & it’s generated when performing pod operations such as install or update.

⛵️Next, let’s update the version of the Pod

  • Open terminal & cd <PROJECT_DIR>
pod update POD_NAME

pod update will NOT respect the podfile.lock. It will override it.

Alternatively if you wish to update to a specific version of a Pod

  • Open Podfile

In terminal, perform pod install