Command line compiling an iPhone Application

跟風遠走 提交于 2019-11-29 17:43:30

问题


I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install them.

Has anyone found an approach to automation that works for them?


回答1:


There's a command line tool to build Xcode projects: xcodebuild




回答2:


Try using xcodebuild, it'll build an Xcode project from the command line. You can then pull the binaries out of the build directory.




回答3:


I wrote an XCodeBuilder (it calls xcodebuild) for CruiseControl that is now part of the standard release. We used this on an app that is now in the app store and it was great. After every commit a version of the app w/the ad-hoc signature was ready for download and testing by the rest of the team.



来源:https://stackoverflow.com/questions/1358939/command-line-compiling-an-iphone-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!