Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fail to install enterprise in house distribution App on iOS Device first time

I have an app that can be downloaded through a S3 Bucket using Enterprise Distribution and It is failing first time and shows loading but when i install certificates manually using configuration utility by connecting device to computer, the same website link start working. I am using Jenkins for creating build.

The certificates not getting install automatically, I am using the manifest as per apple standard. my manifest file content is following :

<?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://dev-ios-builds.mycompany.com/AppName-1.0-56-2016-06-07.66.ipa</string>
            </dict>
            <dict>
                <key>kind</key>
                <string>display-image</string>
                <key>needs-shine</key>
                <true/>
                <key>url</key>
                <string>https://dev-ios-builds.mycompany.com/images/Icon.png</string>
            </dict>
            <dict>
                <key>kind</key>
                <string>full-size-image</string>
                <key>needs-shine</key>
                <true/>
                <key>url</key>
                <string>https://dev-ios-builds.mycompany.com/images/iTunesArtwork.png</string>
            </dict> 
        </array>
        <key>metadata</key>
        <dict>
            <key>bundle-identifier</key>
            <string>com.companyname.appname.dev</string>
            <key>bundle-version</key>
            <string>1.0</string>
            <key>kind</key>
            <string>software</string>
            <key>title</key>
            <string>AppName Dev</string>
        </dict>
    </dict>
</array>

like image 544
Uma_Shanker_Tiwari Avatar asked Jun 08 '16 09:06

Uma_Shanker_Tiwari


1 Answers

I figured out the problem by checking device logs it says embedded provisioning not found.

I just un-packaged the .ipa file which is created by using Jenkins and compared it with .ipa created by using Xcode. I got the difference that jenkins not embedding the provisioning profile correctly.

I had done a mistake by giving folder path for provisioning profile in jenkins job, just updated this by particular provisioning file path.

enter image description hereenter image description here

like image 198
Uma_Shanker_Tiwari Avatar answered Sep 17 '22 15:09

Uma_Shanker_Tiwari