22

デバイスでアプリを実行しようとしていますが、「アプリケーション パッケージを検査できませんでした」というエラー メッセージが表示されます。アプリはデバイスで正常に実行されていましたが、停止しましたが、引き続き正常にビルドされます。他のアプリは正常に動作しています。

これはコンソールからのエラーでした。

28 Marafeti mobile_installation_proxy[572]: handle_install: インストールに失敗しました Dec 1 14:08:29 Marafeti installd[31]: 0x2ff7c000 handle_install: API が失敗しました Dec 1 14:11:50 Marafeti dataaccessd[83]: 0x1dd6c3b0|DA|メモ |AccountID: E1B4940D-E02C-4ECF-B6AC-7B0DB8BAAA52 (「iCloud」) (レガシー) 統計 DAStatusReport 0x1e8e9d80: { DASRAccountType = IMAPNotes; DASRPersistentUUID = "E1B4940D-E02C-4ECF-B6AC-7B0DB8BAAA52"; DASRTimeSpan = "37.06999397277832"; ======= { DASRAccountType = IMAPNotes; DASRPersistentUUID = "E1B4940D-E02C-4ECF-B6AC-7B0DB8BAAA52"; DASRTimeSpan = "37.06999397277832"; ======= { DASRAccountType = IMAPNotes; DASRPersistentUUID = "E1B4940D-E02C-4ECF-B6AC-7B0DB8BAAA52"; DASRTimeSpan = "37.06999397277832"; =======

AccountID: ABEE9E0F-D30B-488C-AE35-0A67FFC9D0A8 ("Gmail") (Legacy)
Stats DAStatusReport 0x1ddc6af0: {
    DASRAccountType = IMAPNotes;
    DASRPersistentUUID = "ABEE9E0F-D30B-488C-AE35-0A67FFC9D0A8";
    DASRTimeSpan = "36.95116698741913";
}
=======

AccountID: 00D54212-0B42-4D2E-A7CF-517815381FCC ("iCloud") (Legacy)
Stats DAStatusReport 0x1e8e5e30: {
    DASRAccountType = CalDAV;
    DASRFailedNetworkRequests = 3;
    DASRPersistentUUID = "00D54212-0B42-4D2E-A7CF-517815381FCC";
    DASRSuccessfulRequests = 1;
    DASRTimeInNetworking = "0.1138659119606018";
    DASRTimeSpan = "36.83354198932648";
}
DATaskManager <DACoreDAVTaskManager: 0x1e889060> state:Nominal
Active exclusive task: (null)
Queued exclusive tasks: (null)
Independent tasks: (null)
Held independent tasks: (null)
Modal-held independent tasks: (null)
Active queued task: (null)
Queued tasks: (null)
Active modal task: (null)
Queued modal tasks: (null)

Associated with account: <MobileCalDAVMobileMeChildDaemonAccount: 0x1ddc7740>: accountID 00D54212-0B42-4D2E-A7CF-517815381FCC persistentUUID 00D54212-0B42-4D2E-A7CF-517815381FCC
=======

AccountID: 939CC513-0027-4F6E-821B-CC14022CA49A ("Oxinai") (Legacy)
Stats DAStatusReport 0x1e8ece00: {
    DASRAccountType = CalDAV;
    DASRFailedNetworkRequests = 3;
    DASRPersistentUUID = "939CC513-0027-4F6E-821B-CC14022CA49A";
    DASRSuccessfulRequests = 1;
    DASRTimeInNetworking = "0.06468302011489868";
    DASRTimeSpan = "36.41551601886749";
}
DATaskManager <DACoreDAVTaskManager: 0x1ddfb950> state:Nominal
Active exclusive task: (null)
Queued exclusive tasks: (null)
Independent tasks: (null)
Held independent tasks: (null)
Modal-held independent tasks: (null)
Active queued task: (null)
Queued tasks: (null)
Active modal task: (null)
Queued modal tasks: (null)

Associated with account: <MobileCalDAVChildDaemonAccount: 0x1e8e41f0>: accountID 939CC513-0027-4F6E-821B-CC14022CA49A persistentUUID 939CC513-0027-4F6E-821B-CC14022CA49A
=======

AccountID: C82E01E9-8299-49F2-8501-B0C31E05C8FC ("Gmail") (Legacy)
Stats DAStatusReport 0x1e8ef610: {
    DASRAccountType = CalDAV;
    DASRFailedNetworkRequests = 3;
    DASRPersistentUUID = "C82E01E9-8299-49F2-8501-B0C31E05C8FC";
    DASRSuccessfulRequests = 1;
    DASRTimeInNetworking = "0.04899799823760986";
    DASRTimeSpan = "36.41232699155807";
}
DATaskManager <DACoreDAVTaskManager: 0x1dd7b060> state:Nominal
Active exclusive task: (null)
Queued exclusive tasks: (null)
Independent tasks: (null)
Held independent tasks: (null)
Modal-held independent tasks: (null)
Active queued task: (null)
Queued tasks: (null)
Active modal task: (null)
Queued modal tasks: (null)

Associated with account: <MobileCalDAVChildDaemonAccount: 0x1e8eea60>: accountID C82E01E9-8299-49F2-8501-B0C31E05C8FC persistentUUID C82E01E9-8299-49F2-8501-B0C31E05C8FC
=======

AccountID: 915C5A43-FE6D-4EEE-A157-A7D26671DDAA ("iCloud") (Legacy)
Stats DAStatusReport 0x1ddda4a0: {
    DASRAccountType = CardDAV;
    DASRPersistentUUID = "915C5A43-FE6D-4EEE-A157-A7D26671DDAA";
    DASRTimeSpan = "36.39721202850342";
}
DATaskManager <DACoreDAVTaskManager: 0x1e83be40> state:Nominal
Active exclusive task: (null)
Queued exclusive tasks: (null)
Independent tasks: (null)
Held independent tasks: (null)
Modal-held independent tasks: (null)
Active queued task: (null)
Queued tasks: (null)
Active modal task: (null)
Queued modal tasks: (null)

Associated with account: <CardDAVMobileMeChildDaemonAccount: 0x1ddda0e0>: accountID 915C5A43-FE6D-4EEE-A157-A7D26671DDAA persistentUUID 915C5A43-FE6D-4EEE-A157-A7D26671DDAA
=======

AccountID: 2F8D6492-EB6D-4C65-BB6D-29DB9B9D5FDD ("iCloud") (Legacy)
Stats DAStatusReport 0x1dddcb00: {
    DASRAccountType = BookmarkDAV;
    DASRPersistentUUID = "2F8D6492-EB6D-4C65-BB6D-29DB9B9D5FDD";
    DASRTimeSpan = "36.25405502319336";
}
DATaskManager <DACoreDAVTaskManager: 0x1ddcf400> state:Nominal
Active exclusive task: (null)
Queued exclusive tasks: (null)
Independent tasks: (null)
Held independent tasks: (null)
Modal-held independent tasks: (null)
Active queued task: (null)
Queued tasks: (
)
Active modal task: (null)
Queued modal tasks: (null)

Associated with account: <BookmarkDAVMobileMeChildDaemonAccount: 0x1e8f1670>: accountID 2F8D6492-EB6D-4C65-BB6D-29DB9B9D5FDD persistentUUID 2F8D6492-EB6D-4C65-BB6D-29DB9B9D5FDD
=======

AccountID: A7FA469A-9A67-4C93-8FF7-D60BC81AB75C ("Facebook") (Accountsd)
Stats DAStatusReport 0x1e8a8d40: {
    DASRDisplayName = Facebook;
    DASRPersistentUUID = "A7FA469A-9A67-4C93-8FF7-D60BC81AB75C";
    DASRTimeSpan = "36.18959897756577";
}
No Task Manager initted yet=======

AccountID: 34DBB43F-29EB-4B7A-B8EC-6DBAD3CE87BE ("Facebook") (Accountsd)
Stats DAStatusReport 0x1ddc1710: {
    DASRDisplayName = Facebook;
    DASRPersistentUUID = "34DBB43F-29EB-4B7A-B8EC-6DBAD3CE87BE";
    DASRTimeSpan = "36.06168901920319";
}
No Task Manager initted yet=======

_contactsLockHolder (null)
_contactsWaiters (
)
_waiterIDsExpectingContactsLock {(
)}
_eventsLockHolder (null)
_eventsWaiters (
)
_waiterIDsExpectingEventsLock {(
)}
_notesLockHolder (null)
_notesWaiters (
)
_waiterIDsExpectingNotesLock {(
)}
_bookmarksLockHolder (null)
_bookmarksWaiters (
)
_waiterIDsExpectingBookmarksLock {(
)}
Shared DAPowerAssertionManager object <DADaemonPowerAssertionManager: 0x1dd637c0>:
Contexts asserting power: <NSCountedSet: 0x1ddf9fd0> ()
Contexts held aside: <NSCountedSet: 0x1ddf68f0> ()
Active Assertions: {
}

DARefreshManager enabled wrappers:
Topic "com.me.cal" {
    <DARefreshWrapper 0x1ddc14c0 for delegate <MobileCalDAVMobileMeChildDaemonAccount: 0x1ddc7740>: accountID 00D54212-0B42-4D2E-A7CF-517815381FCC persistentUUID 00D54212-0B42-4D2E-A7CF-517815381FCC: Push state 0, style Poll, last registration: (null)>
}
DARefreshManager wrappers:
    <DARefreshWrapper 0x1e889c90 for delegate <MobileCalDAVChildDaemonAccount: 0x1e8e41f0>: accountID 939CC513-0027-4F6E-821B-CC14022CA49A persistentUUID 939CC513-0027-4F6E-821B-CC14022CA49A: Push state 0, style Poll, last registration: (null)>
    <DARefreshWrapper 0x1dd28170 for delegate <CardDAVAgent: 0x1e8af410>: Push state 0, style Poll, last registration: (null)>
    <DARefreshWrapper 0x1e829ae0 for delegate <BookmarkDAVAgent: 0x1e8af570>: Push state 0, style Poll, last registration: (null)>
    <DARefreshWrapper 0x1ddeeac0 for delegate <MobileCalDAVChildDaemonAccount: 0x1e8eea60>: accountID C82E01E9-8299-49F2-8501-B0C31E05C8FC persistentUUID C82E01E9-8299-49F2-8501-B0C31E05C8FC: Push state 0, style Poll, last registration: (null)>

何かアドバイス ?

お時間をいただきありがとうございます。

4

9 に答える 9

33

私にとっては、「Resources」という名前のフォルダーを Xcode 4.6.2 にコピーしました。Xcodeが尋ねたとき、追加されたフォルダーのフォルダー参照を作成しました。

これを行うたびに、Derived applications ディレクトリに移動し、プロジェクトのビルド ディレクトリを削除して、プロジェクトを再び機能させる必要がありました。

解決策:「Resources」という名前の Xcode に参照によってフォルダをコピーしないでください。リソース以外の名前に変更します。

非常に迷惑なエラー。

于 2013-04-29T13:00:44.123 に答える
10

また、 Product->Clean を実行してみてください

于 2013-02-28T13:06:09.140 に答える
3

xcode の「Resources」フォルダーを置き換えたときに、誤って以下のオプションが選択されました。

追加されたフォルダーのフォルダー参照を作成する

しかし、正しいオプションは、

追加されたフォルダーのグループを作成する

上記の問題を修正する時間を節約するには、上記のオプションに注意することが重要です。(これは、このエラーが発生する可能性の 1 つです)。

于 2013-11-05T13:10:39.090 に答える
2

「 」という名前のグループを作成し、ResourcesResources フォルダーの下にあるすべてのリソースを選択して、[追加されたフォルダーのフォルダー参照を作成する] を選択しました。

于 2013-12-08T08:53:12.967 に答える
2

問題はバンドル名にあります。プロジェクト、ターゲット、および info.plist に必ずバンドル ID を割り当ててください。私は同じ問題を抱えていましたが、バンドルIDを追加した後に修正されました:)

于 2013-04-07T09:13:10.453 に答える
1

.plist のターゲット メンバーシップのチェックを外します

.

于 2016-12-19T13:31:02.023 に答える
0

問題を解決する2つの問題がありました。まず、XCodes のコピー ファイル セクションで ResourceRules.plist をコピーするように構成し、一方で、コピー ファイル セクション (私の場合は Storekit) に非サード パーティの ios フレームワークも追加しました。その問題を削除した後、解決されました。

于 2015-04-26T19:45:35.203 に答える
-1

XCode 6.1に更新する前に動作していた無線エンタープライズアプリで同じ問題が発生しました。

通常の容疑者 (バンドル識別子、「リソース」という名前のファイルまたはディレクトリ、クリーニングとビルドなど) を突き止めました。サイコロはありません。

これが私の問題を解決したものです-アプリケーションの .plist ファイルの名前を変更し、XCode の更新後に正常に動作していたプロジェクトから .plist ファイルにコピーしました。

再コンパイル。働いた。

行ごとに比較して何が変わったかを確認しませんでした...これですでに1日を無駄にしていたからです。多分後で。でも今日はだめ。

これが他の誰かが無駄な午後を過ごすのに役立つことを願っています.

于 2014-10-23T14:11:14.720 に答える