# PLVSpecs **Repository Path**: wou/plvspecs ## Basic Information - **Project Name**: PLVSpecs - **Description**: Cocoapods的保利威私有源仓库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-01-13 - **Last Updated**: 2026-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PLVSpecs #### 介绍 这是保利威的Cocoapods私有源仓库 ### 使用说明 #### 一、添加保利威私有源PLVSpecs 若已经添加过保利威私有源PLVSpecs,可忽略此步骤。否则应当进入到/Users/xxx/.cocoapods/repos目录下,然后使用如下命令添加保利威私有源PLVSpecs: > ``` > pod repo add [repo名] [repo git地址] > 例如: > pod repo add PLVSpecs https://gitee.com/polyv_ef/plvspecs.git > ``` 添加完成后,可使用如下命令查看保利威私有源是否添加成功: > ``` > pod repo list > ``` 添加保利威私有源成功后,可以看到效果如下: > PLVSpecs > > \- Type: git (master) > > \- URL: https://gitee.com/polyv_ef/plvspecs.git > > \- Path: /Users/me294/.cocoapods/repos/PLVSpecs #### 二、修改Podfile文件 以集成PolyvVodSDK为例,在Podfile文件中添加使用保利威私有源 source 'https://gitee.com/polyv_ef/plvspecs.git',示例如下: > ``` > source 'https://github.com/CocoaPods/Specs.git' > source 'https://gitee.com/polyv_ef/plvspecs.git' > > platform :ios, '8.0' > > target 'TestProject' do > pod 'PolyvVodSDK', '~> 2.15.1' > end > ``` 这样配置Podfile文件,当执行pod install命令的时候,如果Cocoapods官方源找不到PolyvVodSDK对应版本,那么将会从私有源PLVSpecs中查找。 #### 三、补充 当执行pod install命令仍然提示找不到需要的SDK时,则需要更新本地源来获取最新版本SDK的索引文件,使用命令如下: > ``` > pod repo update [指定repo] > 例如: > pod repo update // 更新所有本地源 > pod repo update PLVSpecs // 更新指定的本地PLVSpecs源 > ``` 更新本地PLVSpecs源后,再次执行pod install命令,就可以找到所需要的SDK以及对应版本了。