Enterprise in-house over-the-air distribution supported?

11 posts, 0 answers
  1. BLE
    BLE avatar
    46 posts
    Member since:
    Sep 2012

    Posted 08 Apr 2013 Link to this post

    Does Icenium Graphite support Enterprise in-house over-the-air distribution certs/profiles?  For example, if I have an Apple enterprise account and load an Enterprise distribution cert and an "In House" distribution profile into Graphite, I can't run my project on my iOS device (throws "Error: No provision added").

    See:
    https://developer.apple.com/programs/ios/enterprise/
    https://help.apple.com/iosdeployment-apps/mac/1.1/#app43ad871e

    Update:  You can ignore my question.  We're just going to use individual development certs and provision profiles.
  2. Marcus
    Marcus avatar
    33 posts
    Member since:
    Jul 2012

    Posted 15 Apr 2013 Link to this post

    I'd like this question answered. I see other posts about this but can't find anything definitive. 

    Edit: After some poking around, I've managed to accomplish this and wrote a short guide:
    iOS Enterprise Distribution

    It'd still be nice to hear something official about this though.
  3. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 Apr 2013 Link to this post

    Hi guys,

    @Marcus: The guide you've posted is great and would serve nicely for other enterprise users. Since you ask for official stance, quite frankly we haven't tested apps signed for enterprise in-house distribution yet, and we would look into this.

    Kind regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  4. Paul
    Paul avatar
    56 posts
    Member since:
    Jan 2006

    Posted 26 Jun 2013 Link to this post

    Having an issue with enterprise OTA deployment. To make things simple, I started a new project and only changed the application Identifier. I've created a plist file, based on the link above, and also have pushed up both the pfile and .ipa to our web server.

    However, when trying to install via an iphone, the install begins and then fails with "Unable to Download Application" "My App" could not be downloaded at this time"

    I know our Enterprise cert is correctly setup due to the fact that I can install the app on any iOS device through the iPhone Configuration Utility. However, I am at a loss at what I need to change if anything in either the plist file within the application, or the plist file that was created manually in the above step.

    Please help!

    Paul

  5. Paul
    Paul avatar
    56 posts
    Member since:
    Jan 2006

    Posted 26 Jun 2013 Link to this post

    Also note that in the iPhone Configuration Utility, under the Console I get the following error/warning when attempting to install:

    Jun 26 12:15:34 iPhone SpringBoard[75] <Warning>: could not save thumbnail for downloading icon: image=(null)
  6. BLE
    BLE avatar
    46 posts
    Member since:
    Sep 2012

    Posted 26 Jun 2013 Link to this post

    Our plist file has one additional section in assets:

    &lt;array&gt;
                                    &lt;dict&gt;
                                            &lt;key&gt;kind&lt;/key&gt;
                                            &lt;string&gt;software-package&lt;/string&gt;
                                            &lt;key&gt;url&lt;/key&gt;
                                            &lt;string&gt;http://your.domain.com/your-app/yourBinary.ipa&lt;/string&gt;
                                    &lt;/dict&gt;
                                    &lt;dict&gt;
                                            &lt;key&gt;kind&lt;/key&gt;
                                            &lt;string&gt;display-image&lt;/string&gt;
                                            &lt;key&gt;needs-shine&lt;/key&gt;
                                            &lt;false/&gt;
                                            &lt;key&gt;url&lt;/key&gt;
                                            &lt;string&gt;http://your.domain.com/your-app/AppIcon.png&lt;/string&gt;
                                    &lt;/dict&gt;
                            &lt;/array&gt;
  7. BLE
    BLE avatar
    46 posts
    Member since:
    Sep 2012

    Posted 26 Jun 2013 Link to this post

    Our plist file has one additional section in assets:  https://gist.github.com/hramos/774468#comment-852064

    (AppIcon.png is 57x57 pixels: http://stackoverflow.com/questions/6848736/ios-app-icon-how-to)
  8. Paul
    Paul avatar
    56 posts
    Member since:
    Jan 2006

    Posted 26 Jun 2013 Link to this post

    Tried it...still no luck. Here is my manually created .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>https://xxx/Home/App/test2.ipa</string>
                    </dict>
                                 <dict>
                                        <key>kind</key>
                                        <string>display-image</string>
                                        <key>needs-shine</key>
                                        <false/>
                                        <key>url</key>
                                        <string>https://xxx/Home/App/icon.png</string>
                                    </dict>

                </array>
                <key>metadata</key>
                <dict>
                    <key>bundle-identifier</key>
                    <string>com.xxx.test2</string>
                    <key>bundle-version</key>
                    <string>1.0</string>
                    <key>kind</key>
                    <string>software</string>
                    <key>title</key>
                    <string>test2</string>
                </dict>
            </dict>
        </array>
        
    </dict>
    </plist>

  9. BLE
    BLE avatar
    46 posts
    Member since:
    Sep 2012

    Posted 26 Jun 2013 Link to this post

    Looks okay to me.  I'm assuming when you say "https://xxx/Home/App/test2.ipa" that xxx is a fully qualified domain (e.g. xxx.com) and I'm also assuming "com.xxx.test2" matches exactly, including case, with the value you entered into Icenium's iOS configuration screen.  Also, make sure your Certificate Authority is known on the iOS devices trying to download the app: http://stackoverflow.com/questions/8716040/app-over-the-air-installation-with-https-not-working
  10. Paul
    Paul avatar
    56 posts
    Member since:
    Jan 2006

    Posted 26 Jun 2013 Link to this post

    Yes it is a qualified domain, xxx was just put in to protect our server. com.xxx.test2 matches exactly in icenium. It isn't an issue with https, I've enabled anonymous access and am able to download any files in that directory from other devices (non iOS, and my PC).
  11. BLE
    BLE avatar
    46 posts
    Member since:
    Sep 2012

    Posted 26 Jun 2013 Link to this post

    Can you put a text file or something onto the https and verify that Safari on the iPhone can load that file over https without any certificate errors or any other interaction with the user?  Is the CA Server your own (e.g. you generate your own SSL certs: https://en.wikipedia.org/wiki/Self-signed_certificate)?
Back to Top