菜鸟教程小白 发表于 2022-12-12 13:46:35

ios - 企业分发失败


                                            <p><p>我通过 item-services 安装应用时遇到问题:“目前无法安装”</p>

<p>在设备日志中我可以看到:</p>

<pre><code>Jan 16 14:26:22 iPad-4 SpringBoard &lt;Warning&gt;: Killing com.organisation.lalala for app installation
Jan 16 14:26:22 iPad-4 itunesstored &lt;Warning&gt;: LaunchServices: installing app for existing placeholder &lt;LSApplicationProxy: 0x166f6370&gt; com.organisation.lalala (Placeholder)
Jan 16 14:26:22 iPad-4 itunesstored &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:&lt;LSApplicationProxy: 0x166f6370&gt; com.organisation.lalala (Placeholder) withPhase:1
Jan 16 14:26:22 iPad-4 lsd &lt;Warning&gt;: LaunchServices: Updating installState for parent &lt;NSProgress: 0x14ea8780&gt; : Parent: 0x0 / Fraction completed: 0.9800 / Completed: 98 of 100   to LSInstallStateWaiting
Jan 16 14:26:22 iPad-4 lsd &lt;Warning&gt;: LaunchServices: Updating installPhase for parent &lt;NSProgress: 0x14ea8780&gt; : Parent: 0x0 / Fraction completed: 0.9800 / Completed: 98 of 100   to 1
Jan 16 14:26:22 iPad-4 installd &lt;Notice&gt;: 0x1d45000 -: Install of &#34;/var/mobile/Media/Downloads/2254137808045488130/-6393278779922071210&#34; type Customer requested by itunesstored (pid 81)
Jan 16 14:26:23 iPad-4 installd &lt;Error&gt;: 0x1d45000 +: 52: Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted (Error Domain=NSPOSIXErrorDomain Code=2 &#34;_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory&#34; UserInfo=0x16db0bf0 {FunctionName=-, SourceFileLine=413, NSLocalizedDescription=_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory})
Jan 16 14:26:23 iPad-4 itunesstored &lt;Error&gt;: 0x220c000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=6 &#34;Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted&#34; UserInfo=0x166e99b0 {LegacyErrorString=PackageInspectionFailed, FunctionName=+, NSLocalizedDescription=Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted, SourceFileLine=52, NSUnderlyingError=0x166db1a0 &#34;_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory&#34;}
Jan 16 14:26:23 iPad-4 itunesstored &lt;Warning&gt;: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jan 16 14:26:23 iPad-4 lsd &lt;Warning&gt;: LaunchServices: installation failed for app com.organisation.lalala
Jan 16 14:26:23 iPad-4 itunesstored &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.organisation.lalala.Installing - &lt;NSProgress: 0x1660ffa0&gt; : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache
</code></pre>

<p>这是对 Siphon 应用程序的修改。如果我通过 xcode 安装它,它工作正常。
我找不到任何解决方案...</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>我遇到了同样的问题。来自 igraczech 的评论让我找到了解决方案。</p>

<ol>
<li>将文件从 appname.ipa 重命名为 appname.zip。 </li>
<li>解压压缩文件。文件夹名称应为“Application”。</li>
<li>将文件夹重命名为“Payload”。</li>
<li>再次压缩为 zip 文件。</li>
<li>将 zip 存档重命名为 appname.ipa</li>
<li>现在可以了!</li>
</ol>

<p>我在这里找到了更多信息:<a href="https://developer.apple.com/library/ios/technotes/tn2318/_index.html" rel="noreferrer noopener nofollow">https://developer.apple.com/library/ios/technotes/tn2318/_index.html</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 企业分发失败,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/27983032/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/27983032/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 企业分发失败