Tag: .bash profile

通过terminal批量构build和存档iOS应用程序

我正在尝试简化iOS应用发布的构build – >归档 – >提交过程。 我们有超过50个移动应用具有几乎相同的框架,但具有不同的graphics和configuration设置。 我通常会在xcode 4.2中加载每个项目,然后使用xcode GUI来构build – >归档 – >提交通常的方式,但是现在我们已经有超过50个应用程序,而且这个过程在我们推出更新的时候非常麻烦。 这就是说,我正在尝试使用shell函数来加速这个过程。 我做了大量的研究,发现xcodebuild (见里德的答案)应该工作,但是档案选项不工作,因为我得到以下错误: unsupported build action 'archive' 所以我写了以下内容: # $1 should be a date like: 2012-07-17 # $2 should be a time like: 10.31AM # $mybase will be the current directory at the time the function was called # so make sure […]