gpt4 book ai didi

ios - 添加、修改或删除了已签名的资源

转载 作者:行者123 更新时间:2023-11-28 21:42:07 36 4
gpt4 key购买 nike

自从我向 iOS 项目添加共享扩展后,我就遇到了这个错误。当 xcode 完成构建项目并且就在它可以在设备上启动应用程序之前弹出错误。所以我追踪了设备日志以获取更多信息,如下所示。

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)}

最佳答案

我还没有找到解决方案,但这篇文章帮助我暂时解决了这个问题。

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

从 xcode 中停止按钮旁边的下拉菜单中选择“编辑方案...”。展开左侧面板中的“运行”。选择“Pre-actions”并单击右侧面板底部的加号。在下面一行添加代码,关闭并运行。您需要将路径替换为您的项目路径。

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

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

关于ios - 添加、修改或删除了已签名的资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31601489/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com