Failed to install enterprise home app on iOS device for the first time

I have an application that can be downloaded through the S3 bucket using Enterprise Distribution and it doesn’t work the first time and shows the download, but when I install the certificates manually using the configuration utility, connecting the device to the computer, the same site starts working. I am using Jenkins to create an assembly.

Certificates are not installed automatically, I use the manifest in accordance with the Apple standard. my manifest file contents are as follows:

<?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> 

+7
ios jenkins jenkins-plugins
source share
2 answers

I understood the problem by checking the device logs, which said that no firmware was found.

I just did not pack the .ipa file created with Jenkins and compared it with the .ipa created with Xcode. I realized that jenkins is not properly embedding the provisioning profile.

I made a mistake by providing the path to the folder for profiling in the jenkins job, just updating it on a specific path to the initialization file.

enter image description here enter image description here

+2
source share

I had a similar problem with development builds. My Jenkins built and signed the binary, and then uploaded to HockeyApp for distribution, but somehow people with new devices were not able to install the assemblies, even if their devices were in the provisioning profile. I found that Jenkins used a special development profile, and not a team preparation profile managed by Xcode. The symptoms were exactly as you described, when I manually installed this custom profile on my devices, they were able to install the application.

For me, it decided to update Jenkins to use the team provisioning profile instead of the custom one. Perhaps you should check what your Jenkins uses to sign the application?

+1
source share

All Articles