Command line packaging and Jenkins use

Source: Internet
Author: User

First, the command line package I use Xcodebuild and xcrun two tools. Quite simple.

Packaging Commands: Xcodebuild-target < engineering name >-configuration Release Clean Build//First clean and compile project

XCRUN-SDK iphoneos packageapplication-v <app path >-o <ipa package path >.ipa//convert the compiled app into an IPA package

Use of Jenkins

Start Jenkins under Tomcat

Enter Path/usr/local/apache-tomcat-7.0.63/bin

Open the./startup.sh

The time string date=$ (date +%m%d%h%m) is derived

Go to Jenkins working directory CD $WORKSPACE

Compilation Project Xcodebuild-target mobileuu-configuration Release configuration_build_dir= $WORKSPACE/build clean BUILD

Packaging engineering XCRUN-SDK Iphoneos packageapplication-v $WORKSPACE/build/mobileuu.app-o $WORKSPACE/build/${product_name}_${ Environment}_${version}_${date}.ipa


Command line packaging and Jenkins use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.