MAC Local build server implements Itms-services way to install IPA (self-made certificate)

Source: Internet
Author: User

1. Preface

No server, no HTTPS (>=IOS7). There is only one networked MBP (OS X EI 10.11.6). How?

Remember "Mars Rescue": encountered a problem to solve a problem, resolved to do enough problems, you can go home.

2. Problem solving

First, you need a local HTTPS server: Server Setup

Second, you need a plist (name casual settings.plist), put on a copy:

<?XML version= "1.0" encoding= "UTF-8"?><!DOCTYPE plist Public "-//apple//dtd plist 1.0//en" "Http://www.apple.com/DTDs/PropertyList-1.0.dtd "><plistversion= "1.0"><Dict>    <Key>Items</Key>    <Array>        <Dict>            <Key>Assets</Key>            <Array>                <Dict>                    <Key>Kind</Key>                    <string>Software-package</string>                    <Key>Url</Key>                    <string>Https://192.168.3.186/codesigndemo.ipa</string>                </Dict>                <Dict>                    <Key>Kind</Key>                    <string>Display-image</string>                    <Key>Needs-shine</Key>                    <true/>                    <Key>Url</Key>                    <string>Https://192.168.3.186/icon.png</string>                </Dict>                <Dict>                    <Key>Kind</Key>                    <string>Full-size-image</string>                    <Key>Needs-shine</Key>                    <true/>                    <Key>Url</Key>                    <string>Https://192.168.3.186/display.png</string>                </Dict>            </Array>            <Key>Metadata</Key>            <Dict>                <Key>Bundle-identifier</Key>                <string> YourBundleid</string>                <Key>Bundle-version</Key>                <string>***</string>                <Key>Kind</Key>                <string>Software</string>                <Key>Subtitle</Key>                <string>Good buy hand</string>                <Key>Title</Key>                <string>Good buy hand</string>            </Dict>        </Dict>    </Array></Dict></plist>

The place to switch to is your own.

Here's a copy of the HTML as follows:

<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml">    <Script></Script>    <Head>        <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />        <title>Application</title>    </Head>    <Body>        <H1style= "Font-size:40pt">iOS app Installation<H1/>            <H1style= "Font-size:40pt">                <ahref= ' itms-services://?action=download-manifest&url=https://192.168.3.186/settings.plist'>Iphone Download</a>            <H1/>                        <atitle= "IPhone"href= "HTTP://192.168.3.186/LOCALHOST.CRT">SSL localhost Certificate installation</a>            <atitle= "IPhone"href= "HTTP://192.168.3.186/SERVER.CRT">SSL Server Certificate Installation</a>        <H1/>    </Body></HTML>

Because the certificate is made by yourself, you need to formally add the trust to the device installation

Finally, the plist, HTML, IPA and two certificates are placed in the server root directory. Mobile phone and server in a LAN, mobile browsing, first install the certificate, in the installation of IPA.

MAC Local build server implements Itms-services way to install IPA (self-made certificate)

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.