File tree 1 file changed +11
-1
lines changed 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,22 @@ pod 'GMObjC','3.0.0'
11
11
``` bash
12
12
# 检查.podspec及代码是否有错误,如果有错误不能提交
13
13
pod spec lint MapManagerReportLocation.podspec --verbose
14
+ ```
15
+
16
+ Repo 添加成功后你可以在 ` ~/.cocoapods/repos/ ` 目录下找到和你建立的 ` spec repo ` 同名的文件夹。
14
17
18
+ ``` bash
15
19
pod repo add MapManagerReportLocation https://github.com/jaywcjlove/map-manager-report-location.git
16
20
```
17
21
18
- Repo 添加成功后你可以在 ` ~/.cocoapods/repos/ ` 目录下找到和你建立的 ` spec repo ` 同名的文件夹。 然后你就需要 ` cd ` 到你存放需要添加的 ` spec ` 文件的目录下将它 ` push ` 到远程端仓库中。
22
+ 然后你就需要 ` cd ` 到你存放需要添加的 ` spec ` 文件的目录下将它 ` push ` 到远程端仓库中。
19
23
20
24
``` bash
21
25
pod repo push MapManagerReportLocation MapManagerReportLocation.podspec
26
+ ```
27
+
28
+ 发布到 [ Cocoapods] ( https://cocoapods.org/ ) 官方库中
29
+
30
+ ``` bash
31
+ pod trunk push MapManagerReportLocation.podspec --allow-warnings
22
32
```
You can’t perform that action at this time.
0 commit comments