在使用CocoaPods时,我们只需要将Podfile,以及Podfile.lock上传即可。 同事下载这2个文件后,直接执行pod install安装即可。 因为Podfile.lock中有相关三方库的版本号码。