菜鸟教程小白 发表于 2022-12-12 21:20:49

ios - 已辞职的 ipa 安装在 iOS 8 中,但未安装在 iOS 9+ 中


                                            <p><p>我正在使用以下脚本使用另一个开发者帐户退出应用程序</p>

<pre><code>codesign -f -s &#34;Distribution Certificate Name&#34; &lt;app-name&gt;.app
</code></pre>

<p>应用程序安装但未打开。
这是每个人都遵循的方法</p>

<p>但它不适合我</p>

<p>请在下面找到设备日志,如果您需要更多信息,请告诉我</p>

<p><strong>设备日志</strong></p>

<pre><code>Jul 18 20:24:31 iPad atc &lt;Warning&gt;: |error| Unable to create file lock.
Jul 18 20:24:31 iPad crash_mover &lt;Notice&gt;: (Error) NPSLogging: &lt;NPSDomainAccessor.m +:41&gt; Failed to resolve pairing ID ((null)) or data store ((null)) for active device
Jul 18 20:24:31 iPad profiled &lt;Notice&gt;: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled &lt;Notice&gt;: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled &lt;Notice&gt;: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:32 iPad storebookkeeperd &lt;Warning&gt;: target sync date from client: 2016-06-28 14:54:42 +0000 (in 10.00 sec)
Jul 18 20:24:32 iPad storebookkeeperd &lt;Warning&gt;: setting target date to: 2016-06-28 14:54:42 +0000 (in 62625085527.50 sec)
Jul 18 20:24:32 iPad storebookkeeperd &lt;Warning&gt;: scheduling sync (via BackgroundTaskJob) 9.999761 seconds from now...
Jul 18 20:24:32 iPad atc &lt;Warning&gt;: LaunchServices: installing placeholder for com.test.app
Jul 18 20:24:32 iPad UserEventAgent &lt;Error&gt;: Could not get event name for stream/token: com.apple.backgroundtaskagent/99: 132: Request for stale data
Jul 18 20:24:32 iPad installd &lt;Notice&gt;: 0x101dac000 -: Install of &#34;/var/tmp/com.apple.atc.Apps/com.test.app.app&#34; type Placeholder requested by atc (pid 31)
Jul 18 20:24:32 iPad installd &lt;Notice&gt;: 0x101dac000 -: Installing &lt;MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=(null)&gt;
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter &lt;Error&gt;: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad installd &lt;Notice&gt;: 0x101dac000 -: Made container live for com.test.app at /private/var/mobile/Containers/Data/Application/CF25F5C1-3292-489E-827B-704042967A94
Jul 18 20:24:32 iPad installd &lt;Notice&gt;: 0x101dac000 -: Made container live for com.test.app at /private/var/mobile/Containers/Bundle/Application/C5A68C95-B468-4CD6-B63C-AE78788A3C84
Jul 18 20:24:32 iPad installd &lt;Notice&gt;: 0x101dac000 -: Staging: 0.01s; Waiting: 0.00s; Installation: 0.16s; Overall: 0.18s
Jul 18 20:24:32 iPad deleted &lt;Warning&gt;: LaunchServices: no bundle found with identifier com.apple.CacheDelete
Jul 18 20:24:32 iPad atc &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:&lt;LSApplicationProxy: 0x15766e400&gt; com.test.app (Placeholder) withPhase:3
Jul 18 20:24:32 iPad atc &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.test.app.InstallingPlaceholder - &lt;NSProgress: 0x1576a27c0&gt; : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache
Jul 18 20:24:32 iPad atc &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:&lt;LSApplicationProxy: 0x159114b20&gt; com.test.app (Placeholder) withPhase:0
Jul 18 20:24:32 iPad lsd &lt;Warning&gt;: LaunchServices: Updating installPhase for parent &lt;NSProgress: 0x13ed12ee0&gt; : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   to 0
Jul 18 20:24:34 iPad atc &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.test.app.Loading - &lt;NSProgress: 0x1575d8370&gt; : Parent: 0x0 / Fraction completed: 0.9900 / Completed: 990 of 1000   called, removing progress from cache
Jul 18 20:24:34 iPad SpringBoard &lt;Warning&gt;: Killing com.test.app for app installation
Jul 18 20:24:34 iPad atc &lt;Warning&gt;: LaunchServices: installing app for existing placeholder &lt;LSApplicationProxy: 0x15766e400&gt; com.test.app (Placeholder)
Jul 18 20:24:34 iPad atc &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:&lt;LSApplicationProxy: 0x15766e400&gt; com.test.app (Placeholder) withPhase:1
Jul 18 20:24:34 iPad lsd &lt;Warning&gt;: LaunchServices: Updating installPhase for parent &lt;NSProgress: 0x13ed12ee0&gt; : Parent: 0x0 / Fraction completed: 0.5900 / Completed: 59 of 100   to 1
Jul 18 20:24:34 iPad installd &lt;Notice&gt;: 0x100584000 -: Install of &#34;/var/mobile/Media/PublicStaging/test.ipa&#34; type Customer requested by atc (pid 31)
Jul 18 20:24:34 iPad installd &lt;Notice&gt;: 0x100584000 -: Installing &lt;MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=0.0.7&gt;
Jul 18 20:24:35 iPad profiled &lt;Notice&gt;: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:35 iPad installd &lt;Error&gt;:SecTrustEvaluate
Jul 18 20:24:35 iPad mobile_assertion_agent &lt;Notice&gt;: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad mobile_assertion_agent &lt;Notice&gt;: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad installd &lt;Error&gt;:SecTrustEvaluate
Jul 18 20:24:35 iPad installd &lt;Error&gt;:SecTrustEvaluate
Jul 18 20:24:35 iPad installd &lt;Error&gt;: 0x100584000 -: 521: Application is missing the application-identifier entitlement.
Jul 18 20:24:35 iPad installd &lt;Error&gt;: 0x100584000 -: Verification stage failed
Jul 18 20:24:35 iPad atc &lt;Error&gt;: 0x102294000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=63 &#34;Application is missing the application-identifier entitlement.&#34; UserInfo=0x1575f4d40 {LegacyErrorString=ApplicationVerificationFailed, FunctionName=-, SourceFileLine=521, NSLocalizedDescription=Application is missing the application-identifier entitlement.}
Jul 18 20:24:35 iPad atc &lt;Warning&gt;: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul 18 20:24:35 iPad lsd &lt;Warning&gt;: LaunchServices: installation failed for app com.test.app
Jul 18 20:24:35 iPad atc &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.test.app.Installing - &lt;NSProgress: 0x1577ee5f0&gt; : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache
Jul 18 20:24:36 iPad librariand &lt;Error&gt;: ubiquity account is not configured (or is disabled for this client), not creating collection
Jul 18 20:24:36 iPad librariand &lt;Error&gt;: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Jul 18 20:24:36 iPad bird &lt;Error&gt;: unable to determine evictable space: Error Domain=LibrarianErrorDomain Code=10 &#34;The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)&#34; UserInfo=0x15761d5f0 {NSDescription=Unable to configure the collection.}
Jul 18 20:24:42 iPad storebookkeeperd &lt;Warning&gt;: running synchronizeImmediatelyWithCompletionHandler: now
Jul 18 20:24:42 iPad storebookkeeperd &lt;Warning&gt;: - _onQueueSync - beginning synchronize operation...
Jul 18 20:24:42 iPad storebookkeeperd &lt;Warning&gt;: - _onQueueLoadBag - load bag operation beginning...
Jul 18 20:24:42 iPad storebookkeeperd &lt;Warning&gt;: __81-_block_invoke411 _onQueueLoadBag - load bag completed.
Jul 18 20:24:42 iPad storebookkeeperd &lt;Warning&gt;: __89-_block_invoke _onQueueSync - synchronize operation beginning...
Jul 18 20:24:44 iPad storebookkeeperd &lt;Warning&gt;: Transaction Failed: &lt;SBKSyncTransaction: 0x147d6ab40&gt; domain = com.apple.upp, SYNC: anchor=0 -- Error: &lt;SBKStoreError:0x147d94940&gt; &#34;Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)&#34;
Jul 18 20:24:44 iPad storebookkeeperd &lt;Warning&gt;: __96-_block_invoke279 _onQueueSync - synchronize completed.ERROR = &#39;Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)&#39;.
Jul 18 20:24:44 iPad storebookkeeperd &lt;Warning&gt;: Could not synchronize domain &#39;com.apple.upp&#39; (&lt;SBKStoreError:0x147e14a10&gt; &#34;Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)&#34;).Synchronization will be re-attempted when the network connectivity, or account status has changed.
Jul 18 20:24:50 iPad locationd &lt;Notice&gt;: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
</code></pre></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>从<em>iOS 8.3 开始,应用程序的授权是强制性的</em>。</p>

<pre><code>codesign -f -s &#34;Distribution Certificate Name&#34; &lt;app-name&gt;.app
</code></pre>

<p>当您使用上述命令退出应用程序时<em>它会删除现有的权利</em></p>

<p>所以您使用的命令在 iOS 8.4.1 之前有效</p>

<p>因此,为了让应用程序能够从 iOS 8.4.1 运行,您必须签署应用程序以及权利*</p>

<p>这是创建授权文件的命令</p>

<pre><code>codesign -d --entitlements - &lt;appname&gt;.app &gt; entitlements.plist
</code></pre>

<p>然后使用权利签署应用程序</p>

<pre><code>codesign -f -s &#34;Distribution Certificate Name&#34; &#39;--entitlements&#39; &#39;entitlements.plist&#39; &lt;app-name&gt;.app
</code></pre></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 已辞职的 ipa 安装在 iOS 8 中,但未安装在 iOS 9&#43; 中,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/38429831/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/38429831/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 已辞职的 ipa 安装在 iOS 8 中,但未安装在 iOS 9&#43; 中