简体   繁体   中英

Command line compiling an iPhone Application

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?

有一个命令行工具来构建Xcode项目: xcodebuild

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM