【发布时间】:2015-09-29 15:22:03
【问题描述】:
我正在设置 Jenkins 来构建应用的企业版,以便在我们的内部应用商店中分发。
如果我在 Xcode 中存档应用程序,然后在手机上下载构建的 .ipa,则应用程序安装没有任何问题;但是当我使用 Jenkins 生成的具有相同私钥/证书/配置文件的 .ipa 时,安装失败并出现以下错误:“无法下载应用程序 - 此时无法安装应用程序名称”
如果我在 Xcode 中检查控制台,我会看到更多详细信息错误,例如“无法在此设备上安装此配置文件”
这是部分日志
<Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=af11a784-f15d-4291-92a1-0e0c54fc4ee9; Version=13, ShortVersion=0.0.1>
<Notice>: attempt to install invalid profile: 0xe8008012
<Error>: 0x16e12f000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 (This provisioning profile cannot be installed on this device.)
<Error>: 0x16e12f000 MIMachOUnhideArchsSavingOriginalHeader: Failed to open "/private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.YMpQfe/extracted/Payload/appName.app/appName": No such file or directory
<Error>: 0x16e12f000 -[MIInstallableBundle performVerificationWithError:]: 696: Failed to unhide archs in executable file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.YMpQfe/extracted/Payload/appName.app/appName
<Error>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Verification stage failed
<Error>: 0x16e247000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=14 "Failed to unhide archs in executable file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.YMpQfe/extracted/Payload/appName.app/appName" UserInfo={SourceFileLine=696, NSLocalizedDescription=Failed to unhide archs in executable file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.YMpQfe/extracted/Payload/appName.app/appName, FunctionName=-[MIInstallableBundle performVerificationWithError:]}
<Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
有人知道吗?
【问题讨论】:
-
欢迎来到 Apple 的“供应地狱”