无法安装.ipa OTA创建的" Save for Enterprise Deployement"在XCode 6.1.1中

时间:2014-12-04 14:12:40

标签: ios xcode ota

2015年10月20日更新:使用XCode-beta版本6.2(6C86e),现在效果很好。

由于我已经将我的XCode(从XCode5)更新到版本6.1然后6.1.1,我无法安装应用程序OTA(内部分发)。我可以创建存档,然后使用管理器使用“Save for Enterprise Deployement”导出存档,没有任何问题。 XCode组织者很好地识别企业帐户并找到要使用的配置文件。

enter image description here

enter image description here

enter image description here

导出.ipa文件后,我使用旧的.plist创建OTA安装链接。从iPod中,当我点击链接时,iPod似乎正确地下载了.ipa。然后,它出现“正在安装...”,然后我失败了消息“无法下载应用程序”。

enter image description here

实际上,我有一个解决此问题的方法:使用xcodebuild命令手动导出.ipa。它运作良好。但我想在XCode中解决这个问题。

xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”

我的.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>__URL___</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>full-size-image</string>
                    <key>needs-shine</key>
                    <false/>
                    <key>url</key>
                    <string>__FULL_SIZE_IMAGE__</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>display-image</string>
                    <key>needs-shine</key>
                    <false/>
                    <key>url</key>
                    <string>__DISPLAY_IMAGE__</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>__BUNDLE_IDENTIFIER__</string>
                <key>bundle-version</key>
                <string>2.0.7</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>__TITLE_</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

以下是安装过程中Xcode控制台的日志:

Dec  4 15:41:29 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: installing placeholder for __BUNDLE___
Dec  4 15:41:30 iPod-de-aabarar installd[60] <Notice>: 0x283000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-9133206698769979491.app" requested by itunesstored
Dec  4 15:41:30 iPod-de-aabarar installd[60] <Notice>: 0x283000 MobileInstallationInstall_Server: Installing app __BUNDLE___
Dec  4 15:41:30 iPod-de-aabarar installd[60] <Notice>: 0x283000 install_application: Installing placeholder
Dec  4 15:41:30 iPod-de-aabarar installd[60] <Notice>: 0x283000 MobileInstallationInstall_Server: Staging: 0.03s; Waiting: 0.00s; Installation: 0.27s; LS Sync: 0.00s; Overall: 0.30s
Dec  4 15:41:30 iPod-de-aabarar iap2d[1207] <Warning>: process com.apple.mobilesafari is now running in the background
Dec  4 15:41:31 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: updating placeholder for __BUNDLE___ with icons
Dec  4 15:41:31 iPod-de-aabarar installd[60] <Notice>: 0x283000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-9133206698769979491.app" requested by itunesstored
Dec  4 15:41:31 iPod-de-aabarar installd[60] <Notice>: 0x283000 MobileInstallationInstall_Server: Installing app __BUNDLE___
Dec  4 15:41:31 iPod-de-aabarar installd[60] <Notice>: 0x283000 install_application: Installing placeholder
Dec  4 15:41:31 iPod-de-aabarar installd[60] <Notice>: 0x283000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.09s; LS Sync: 0.00s; Overall: 0.11s
Dec  4 15:41:31 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: __BUNDLE___ (Placeholder) withPhase:0
Dec  4 15:41:31 iPod-de-aabarar lsd[74] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs.log (No such file or directory)
Dec  4 15:41:34 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-mmcs-2014-12-04-154134+0100.log (No such file or directory)
Dec  4 15:41:35 iPod-de-aabarar ubd[1404] <Error>: Couldn't create symlink at /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-digest.log (No such file or directory)
Dec  4 15:41:35 iPod-de-aabarar ubd[1404] <Error>: Couldn't open log file /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Ubiquity/ubiquity-digest-2014-12-04-154135+0100.log (No such file or directory)
Dec  4 15:41:37 iPod-de-aabarar SpringBoard[33] <Warning>: Killing __BUNDLE___ for app installation
Dec  4 15:41:37 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: __BUNDLE___ (Placeholder)
Dec  4 15:41:37 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: __BUNDLE___ (Placeholder) withPhase:1
Dec  4 15:41:37 iPod-de-aabarar lsd[74] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.600000> to 1
Dec  4 15:41:37 iPod-de-aabarar installd[60] <Notice>: 0x283000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-9133206698769979491/-629968169170028521" requested by itunesstored
Dec  4 15:41:44 iPod-de-aabarar installd[60] <Error>: 0x283000 stage_package: Could not peruse package at /var/tmp/install_staging.Y5p5vc/foo_extracted
Dec  4 15:41:44 iPod-de-aabarar installd[60] <Error>: 0x283000 MobileInstallationInstall_Server: Could not stage the package
Dec  4 15:41:44 iPod-de-aabarar itunesstored[91] <Error>: 0x3c1000 MobileInstallationInstallForLaunchServices: failed with -1
Dec  4 15:41:44 iPod-de-aabarar itunesstored[91] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Dec  4 15:41:44 iPod-de-aabarar lsd[74] <Warning>: LaunchServices: installation failed for app __BUNDLE___
Dec  4 15:41:44 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: __BUNDLE___.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
Dec  4 15:41:44 iPod-de-aabarar lsd[74] <Warning>: LaunchServices: installation failed for app __BUNDLE___
Dec  4 15:41:44 iPod-de-aabarar itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: __BUNDLE___.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Dec  4 15:41:44 iPod-de-aabarar installd[60] <Error>: 0x283000 handle_install_for_ls: API failed

任何帮助/想法必须非常感谢!

0 个答案:

没有答案