iOS continuous integration notes with Jenkins

Source: Internet
Author: User

This article is not a tutorial on how to use Jenkins, but a summary of the various problems that you encounter in the actual construction process.

1 Recommended several nice tutorials about the tutorial

Use Jenkins to build a CI server developed by iOS | Webfrogs

Jenkins+github+testflight build a continuous Integration environment under Mac | A small station in tiger


2 Download installation Issues

Download http://ftp-chi.osuosl.org/pub/jenkins/osx/jenkins-1.576.pkg directly

or the official website http://jenkins-ci.org to the right of a Mac OS X click to download.

The Java environment system is installed by default, so the PKG can be installed directly.


3 Check dependencies, can't find the certificate?

Reason: There is no corresponding keychain and certificate under the Jenkins user

Workaround: Copy from the original logged-in user.


Copy/users/your logged-in user/library/keychains

/mobiledevice

To Jenkins ' home directory, which is/users/shared/jenkins/library

The library is a hidden folder that can be located by going to a folder such as the/user/hhd/library.

Then double-click /users/shared/jenkins/library/keychains/login.keychain

To open in the Keychain program, back out one more login, unlock this login


4 Argument list too long:resurive header extension failed

Cause: Xcode is configured with environment variables. Xcode-preference-locations-source Trees with custom settings

WORKAROUND: Make the same configuration in Jenkins

System Management-System Setup-environment Variables Add variable


5 Command/usr/bin/codesign failed with exit code 1

If you encounter command/usr/bin/codesign failed with exit code 1 when compiling the iphone app

You can confirm the following steps, open keychain Access, find your developer Key,get Info, take a look at this tab of Access control, and select Allow all applications to access the this item. And then recompile, try and see if it's OK.




This thing is good, but there are a lot of problems, one by one to solve, but also learned a lot of knowledge

Not to be continued ...

iOS continuous integration notes with Jenkins

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.