Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f722c9a

Browse files
简化开源库的运行步骤
1 parent 7ed6991 commit f722c9a

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

‎README.md‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22
### Coding_iOS客户端项目介绍
33
*编译环境:Xcode-Version 6.1 (6A1052d)*
44
#### 让项目跑起来先
5-
(注:[想下载代码就直接可以运行的请戳这里](https://coding.net/u/ease/p/Coding_iOS/git))
5+
Clone 代码后,初次执行前,需要双击运行根目录下的`bootstrap`脚本。这个过程涉及到下载依赖,可能会有点久,需耐心等待。
66

7-
由于用到了 submodule,所以必需要把 git 仓库 clone 到本地,而不是只点击‘下载’按钮下载 zip 文件。
8-
1. 把文件`Coding_iOS-Prefix.pch.example`复制一份,重命名成`Coding_iOS-Prefix.pch`
9-
2. 配置pod相关。进到`Podfile`文件所在的目录,执行`pod install` or `pod update`命令。
10-
3. 由于项目代码管理用到了[submodule](http://git-scm.com/book/be/v2/Git-Tools-Submodules)([中文参考阅读](http://www.kafeitu.me/git/2012/03/27/git-submodule.html)) ,所以还需要定位到路径`Coding_iOS/Resources/`然后执行代码:`git submodule init; git submodule update`
11-
4. 完成上述步骤之后,请打开文件`Coding_iOS.xcworkspace`,而不是`Coding_iOS.xcodeproj`!!!
12-
7+
**Tip:由于用到了 submodule,所以必需要把 git 仓库 clone 到本地,而不是只点击‘下载’按钮下载 zip 文件!!!**
138

149
代码托管|在线讨论|任务管理|冒泡社交|项目文档
1510
------------ | ------------- | ------------| ------------| ------------

‎bootstrap‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
CMD_PATH=`dirname 0ドル`
3+
cd $CMD_PATH
4+
cp Coding_iOS/Coding_iOS-Prefix.pch.example Coding_iOS/Coding_iOS-Prefix.pch
5+
git submodule update --init --recursive
6+
pod install
7+
open Coding_iOS.xcworkspace
8+
exit 0

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /