简体   繁体   中英

how to install pod without disturbing previous pods?

我正在使用 Xcode 10.3,如果我安装了一个 pod,它正在安装但以前的 pod 正在更新。告诉我如何安装 pod,而不更新剩余的 pod。

You can set exact version to old pods like pod 'IQKeyboardManagerSwift', '3.0' . You can list versions of current pods using cat Podfile.lock .

It should be sufficient to run pod install . Unlike pod update , it will read the Podfile.lock to keep existing Pods at the same version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM