我已经使用fb sdk一段时间了,我添加了pod文件
在“ FBSDKCoreKit”下
在“ FBSDKLoginKit”下
然后使用pod install
并自动安装最新版本的pod
但是我实际看到的是安装的版本是[ ]是6.5.1 1
是否没有安装Pod文件中提到的特定版本的pd,会自动安装最新版本?
如果要检查Podfile.lock,它会跟踪已安装的每个Pod的已解析版本。
When you run pod update PODNAME, CocoaPods will try to find an updated version of the pod PODNAME, without taking into account the version listed in Podfile.lock. It will update the pod to the latest version possible (as long as it matches the version restrictions in your Podfile).
If you run pod update with no pod name, CocoaPods will update every pod listed in your Podfile to the latest version possible.
understand the pod install vs. pod update
Use pod install to install new pods in your project. Even if you already have a Podfile and ran pod install before; so even if you are just adding/removing pods to a project already using CocoaPods.
Use pod update [PODNAME] only when you want to update pods to a newer version.
so try with pod update instead of pod install
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句