Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25371

iOS : Ad Hoc distribution, generate the Appname.plist file for over-the-air installation

    Details

    • Type: New Feature
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS Ad Hoc Distribution

      Description

      It's possibile to distribute an iOS App from Safari with a simple link, this only if the ipa generated is an adhoc distribution.

      I use this option instead of using TestFlight, so the app will expire after 10 months (when the adhoc distribution certificate expire) and not after 3 months as the Testflight builds.

      To do this i did this:

      1. Titanium > Package > iOS Adhoc/Enterprise . Titanium generates these files : Appname.ipa, DistributionSummary.plist, ExportOptions.plist and Packaging.log
      2. In a webserver with https/ssl enabled i have created an html file with a link with this url:

        itms-services://?action=download-manifest&url=https://url/testfolder/Appname.plist
        

        In the same folder (testfolder) i put: Appname.ipa, Appname.plist, the 2 images and the html file.

      3. Titanium doesn't generate the Appname.plist file for over-the-air installation. This is the file that is needed (with the same name of the ipa -> Appname.plist)

        <?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">
        <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>URL OF THE IPA FILE</string>
        				</dict>
        				<dict>
        					<key>kind</key>
        					<string>full-size-image</string>
        					<key>needs-shine</key>
        					<true/>
        					<key>url</key>
        					<string>URL OF THE ICON@2x</string>
        				</dict>
        				<dict>
        					<key>kind</key>
        					<string>display-image</string>
        					<key>needs-shine</key>
        					<true/>
        					<key>url</key>
        					<string>URL OF THE IMAGE 512x512px </string>
        				</dict>
        			</array>
        			<key>metadata</key>
        			<dict>
        				<key>bundle-identifier</key>
        				<string>com.blablabla.appname</string>
        				<key>bundle-version</key>
        				<string>1.0</string>
        				<key>kind</key>
        				<string>software</string>
        				<key>title</key>
        				<string>Appname</string>
        			</dict>
        		</dict>
        	</array>
        </dict>
        </plist>
        

      So the question is if this file can also be generated automatically when we do an adhoc distribution.

      On stackoverflow i found this image of xCode 9 (see attachment)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nicolomonili nicolomonili
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration