Skip to content

Commit

Permalink
modify the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chenchengfang committed Apr 26, 2013
1 parent a06d7ff commit 1f0be54
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ Necessary
===========

-----
To use scripts of this repository, you should install the "Command Line Tools" in the setting of xcode first.

* Mac OS X
* "Command Line Tools" of xcode



Detail
Expand All @@ -25,15 +28,27 @@ You can do this by using "ipa-build" shell script.

Usage:

ipa-build <project directory> [-c <project configuration>] [-o <ipa output directory>] [-n]
ipa-build <project directory> [-c <project configuration>] [-o <ipa output directory>] [-t <target name>] [-n]

Options:

-c NAME the configuration of project used to compile.Default is Release
-o PATH output path for ipa file(must be a directory)
-t NAME the target which should be compiled
-n clean the project before compling

If script executed successfully,an ipa file is created in the path: <project path>/build/ipa-build.
Example:
If you have an iOS project in the path ~/iphone, and the ipa-build script is put in the path ~/xcode-shell.You want to build this project with 'Release' configuration.Just use script like this:

cd ~/iphone
~/xcode-shell/ipa-build .

If the script runs successfully,you will found an ipa file in the directory ~/iphone/build/ipa-build.

If you want to assign configuration or target, you can add some options to the command.

Note:If script executed successfully,an ipa file is created in the path: <project path>/build/ipa-build.



####2.publish project
Expand Down

0 comments on commit 1f0be54

Please sign in to comment.