Set up steps

  1. application.ipaA file, it can beEnterprise signatureOr it could beDev signature package
  2. manifest.plistFile,plistFiles andipaFiles must be placed in supporthttps://The server must be on the public networkssl, self-signed and freehttpsNot availableGitHubAs an example)
  3. Downloaded apphtmlpage

  • manifest.plistThe following
<? xml version="1.0" encoding="UTF-8"? > <! DOCTYPE plist PUBLIC"- / / / / DTD PLIST Apple 1.0 / / EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="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://raw.githubusercontent.com/***/testIPA/master/Unity-iPhone.ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> < string > com. * * * * * EN. * * * * < / string > < key > bundle - version < / key > < string > 0.1 < / string > < key > kind < / key > <string>software</string> <key>title</key> <string> Application name </string> </dict> </array> </dict> </plist>Copy the code
  • The application of.ipaFile,manifest.plistFiles andhtmlDownload page, uploadGitHub(supporthttps://On the server)
  • Note: Get file path correct posture
  • Modify themanifest.plistFile, will obtain the download path, fill intomanifest.plistCorresponding location in the file
  • htmlEasy download page, download link must be this formatitms-services://? Action = download-Manifest&URL = the address of a PList file
<! DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Install</title>
    </head>
    <body>
        <p align=center>
          <font size="10">
            <a style="color:#69DEDA" href="itms-services://? action=download-manifest&url=https://raw.githubusercontent.com/***/testIPA/master/DownloadPlist.plist"</a> </font> </p> </body> </ HTML >Copy the code
  • Ps: How to directly ingithubOn the previewhtmlEffect of the web
  1. willgithubondemothehtmlCopy the file link to the input field that appears after opening the following url and click the button.
http://htmlpreview.github.io/
Copy the code

GitHub & BitBucket HTML Preview 2. Before the address of the HTML file, add htmlPreview.github. IO /?

htmlpreview.github.io/? Address of the fileCopy the code
  1. ingithubondemoWarehouse page, clicksettingButton, findGitHub PagesSection, selectSourceformaster branchAnd then save (or save inTheme ChooserPlace, clickChange themeAfter entering the page, select the theme to save, so you can also) the page will appear a new link, add after the linkdemotheHTMLFile name, you can jump todemoPage displayed
  • How can Github upload large files over 100 MB(using theGit LFS) Usage: Install firstGit LFSThe client, and then in the willpushOpen a new one in the warehousebashThe command line:
  1. You only need to set it onceLFS:git lfs install
  2. And then follow up on what you wantpushLarge file file or specified file typegit lfs track "*.pdf"You can also edit it directly.gitattributesfile
  3. The above Settings have been completed, the rest of the work is as normaladd, commit, pushThe process will doNote:sourcetreeIntegration of aLFSIt is also very convenient to use
  • There was a problem with the SourceTree used to commit to git remote repositoryPOST Git-receive-pack (chunked)
  • Solution openSourceTreeOn the upper right,Settings -> Advanced -> Edit configuration fileTo open the configuration file, add the following configuration in the configuration file, save the configuration file, and try to push it to the warehouse again
[http] 
      postBuffer = 524288000
Copy the code

Attached: my blog address