Xcode6 how to export app with .plist for enterprise distribution?

I am trying to upload an app to a site that expects a .plist along with an ipa app. Screenshot below from the website.

I noticed that xCode6 removed the checkbox to keep for enterprise distribution from both "ad hoc" and "enterprise" options. I sign the app with a $ 299 / year corporate program profile. However, I am not getting any plist. How can I distribute my app using xCode6 to get the enterprise plist parameter?

This is what I expect and see in xCode5 (there is no such checkbox in xCode6) enter image description here

+3


source to share


1 answer


This doesn't use Xcode, but as a backup, you can simply manually or programmatically edit the plist file. I am doing this because my CI server is distributing assemblies, so I cannot use Xcode's GUI to generate the plist file.

This is what looks like in the Enterprise distribution .plist

(copied from this gist ):



<?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>http://dl.dropbox.com/u/1001/myawesomeapp.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.company.application</string>
                <key>bundle-version</key>
                <string>0.0.16</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>My Awesome App</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

      

+3


source







All Articles