【问题标题】:Fail to install enterprise in house distribution App on iOS Device first time第一次在iOS设备上安装企业内部分发App失败
【发布时间】:2016-06-08 09:54:47
【问题描述】:

我有一个可以使用 Enterprise Distribution 通过 S3 Bucket 下载的应用程序,它第一次失败并显示加载,但是当我通过将设备连接到计算机使用配置实用程序手动安装证书时,相同的网站链接开始工作。我正在使用 Jenkins 来创建构建。

证书没有自动安装,我按照苹果标准使用清单。我的清单文件内容如下:

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

【问题讨论】:

标签: ios jenkins jenkins-plugins


【解决方案1】:

我通过检查显示未找到嵌入式配置的设备日志发现了问题。

我刚刚解压缩了使用 Jenkins 创建的 .ipa 文件,并将其与使用 Xcode 创建的 .ipa 进行了比较。我得到了 jenkins 没有正确嵌入配置文件的区别。

我在 jenkins 作业中提供配置文件的文件夹路径是错误的,只是通过特定的配置文件路径更新了这个。

【讨论】:

    【解决方案2】:

    我在开发版本中遇到了类似的问题。我的 Jenkins 构建并签署了二进制文件,然后上传到 HockeyApp 进行分发,但不知何故,拥有新设备的人无法安装构建,即使他们的设备在配置文件中。我发现 Jenkins 使用的是自定义开发配置文件,而不是 Xcode 管理的团队配置文件。症状与您描述的完全一样,当我在他们的设备上手动安装该自定义配置文件时,他们能够安装该应用程序。

    为我解决的问题是更新 Jenkins 作业以使用团队配置文件而不是自定义配置文件。或许您应该检查一下您的 Jenkins 究竟使用什么来签署应用程序?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-27
      • 2013-12-10
      • 1970-01-01
      相关资源
      最近更新 更多