2015-07-24 1 views
0

J'ai cette erreur depuis que j'ai ajouté une extension de partage au projet iOS. L'erreur apparaît lorsque le xcode a terminé la construction du projet et juste avant qu'il ne puisse lancer l'application sur l'appareil. Donc, j'ai tracé le journal de l'appareil pour plus d'informations et il est comme ci-dessous.Une ressource signée a été ajoutée, modifiée ou supprimée

Jul 24 11:04:36 cloudy45mans-iPhone-6 installd[3502] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] 
Jul 24 11:04:38 cloudy45mans-iPhone-6 installd[3502] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/Assets.car 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPNotification.storyboardc/MPNotificationViewController.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/Info.plist 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/MPSurveyMultipleChoiceQuestionViewController.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/MPSurveyNavigationController.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/MPSurveyTextQuestionViewController.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/RIP-po-dgx-view-cp6-lZ-a9t.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/V5X-Ik-MvF-view-dcL-M9-gG3.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/MPSurvey.storyboardc/tDf-fb-udT-view-LG7-cL-aRp.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/THDateDay.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: resource modified: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex/THDatePickerViewController.nib 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: 0x1004a0000 -[MICodeSigningVerifier performValidationWithError:]: 188: Failed to verify code signature of <MIPluginKitPluginBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex identifier = com.present.iphone.shareextension type = App Extension> : 0xe8008017 (Signed resources have been added, removed, or modified) 
Jul 24 11:04:39 cloudy45mans-iPhone-6 installd[3502] <Error>: 0x1004a0000 -[MIInstaller performInstallationWithError:]: Verification stage failed 
Jul 24 11:04:40 cloudy45mans-iPhone-6 streaming_zip_conduit[3503] <Error>: 0x100384000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of <MIPluginKitPluginBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex identifier = com.present.iphone.shareextension type = App Extension> : 0xe8008017 (Signed resources have been added, removed, or modified)" UserInfo=0x126e25b10 {LibMISErrorNumber=-402620393, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=188, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of <MIPluginKitPluginBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.W3ZgdD/extracted/Payload/Present.app/PlugIns/shareextension.appex identifier = com.present.iphone.shareextension type = App Extension> : 0xe8008017 (Signed resources have been added, removed, or modified)} 

Répondre

2

Je ne trouve pas encore de solution, mais cet article m'aide à résoudre le problème temporairement.

Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone

Choisissez "Modifier le schéma ..." dans le menu déroulant à côté de bouton d'arrêt dans Xcode. Développez le "Exécuter" dans le panneau de gauche. Choisissez "Pré-actions" et cliquez sur le signe plus dans le bas du panneau de droite. Ajoutez le code dans la ligne suivante, fermez et exécutez. Vous devez remplacer le chemin avec votre chemin de projet.

rm -rf ~/Library/Developer/Xcode/DerivedData/TestProject/Build/Products/Debug-iphoneos/shareextension.* 

rm -rf ~/Library/Developer/Xcode/DerivedData/TestProject/Build/Products/Debug-iphoneos/shareextension.*