Distribution Builds Fail Verification

NathanTaylor.SBNathanTaylor.SB USMember
edited September 2015 in Xamarin.iOS

I've been testing my app successfully for some weeks with HockeyApp, but as of yesterday I can no long get a successful install from the IPA distributed via HockeyApp. The same exact same developer signing profile is being used for Debug/Release builds against my devices, and I have zero problem installing them either via Xamarin Studio or iTunes with an Ad-Hoc IPA. Once I send the IPA to HockeyApp, however, it doesn't work on any devices.

Reviewing the logs, it looks like something went wrong with the build process because I'm getting: "0xe8008017 (Signed resources have been added, removed, or modified)".

Why does this only manifest with HockeyApp? Should I be posting this question to them?

Sep 18 06:18:14 Nathans-iPad nsurlsessiond[102] : tcp_connection_set_timeframe Using minimum duration of 1 minute.
Sep 18 06:18:19 Nathans-iPad locationd[62] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Sep 18 06:18:29 Nathans-iPad SpringBoard[41] : Killing com.company.app for app installation
Sep 18 06:18:29 Nathans-iPad pkd[7641] : releasing plug-in hold 99D6AA6D-C382-4A60-8C22-02E8950FCB25 for dead client pid 41
Sep 18 06:18:29 Nathans-iPad itunesstored[468] : LaunchServices: installing app for existing placeholder com.company.app (Placeholder)
Sep 18 06:18:29 Nathans-iPad itunesstored[468] : LaunchServices: Creating installProgressForApplication: com.company.app (Placeholder) withPhase:1
Sep 18 06:18:29 Nathans-iPad lsd[73] : LaunchServices: Updating installPhase for parent : Parent: 0x0 / Fraction completed: 1.0000 / Completed: 100 of 100 to 1
Sep 18 06:18:29 Nathans-iPad installd[7577] : 0x3c3000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/-3941564277616342875/810885474437433575" type Customer requested by itunesstored (pid 468)
Sep 18 06:18:42 Nathans-iPad syncdefaultsd[7660] : (Note ) marked "com.me.keyvalueservice" topic as "enabled" on
Sep 18 06:18:42 Nathans-iPad installd[7577] : 0x3c3000 -[MIInstaller performInstallationWithError:]: Installing
Sep 18 06:18:42 Nathans-iPad MobileStorageMounter[7664] : 0x3c81e9dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
Sep 18 06:18:42 Nathans-iPad MobileStorageMounter[7664] : 0x3c81e9dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Sep 18 06:18:42 Nathans-iPad MobileStorageMounter[7664] : 0x3c81e9dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Sep 18 06:18:43 Nathans-iPad MobileStorageMounter[7664] : 0x3c81e9dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Sep 18 06:18:43 Nathans-iPad installd[7577] : SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Sep 18 06:18:43 Nathans-iPad profiled[7548] : (Note ) MC: Provisioning profiles changed
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Card.IO.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Cirrious.FluentLayouts.Touch.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Fusillade.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/GigyaSDK.iOS.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/HockeyApp.iOS.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/ModernHttpClient.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Mono.Dynamic.Interpreter.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/MonoTouch.Dialog-1.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/PLCrashReporterUnifiedBinding.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Punchclock.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Punchclock.dll.config
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Refit.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/MyAppMobileiOS.exe
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Splat.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Core.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Json.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Net.Http.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Reactive.Core.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Reactive.Interfaces.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Reactive.Linq.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Runtime.Serialization.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.Xml.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/System.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : resource added: /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.78Z86a/extracted/Payload/MyAppMobileiOS.app/.monotouch-32/Xamarin.Insights.dll
Sep 18 06:18:45 Nathans-iPad installd[7577] : 0x3c3000 -[MICodeSigningVerifier performValidationWithError:]: 192: Failed to verify code signature of : 0xe8008017 (Signed resources have been added, removed, or modified)
Sep 18 06:18:45 Nathans-iPad installd[7577] : 0x3c3000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Sep 18 06:18:45 Nathans-iPad itunesstored[468] : 0x1ed1000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of : 0xe8008017 (Signed resources have been added, removed, or modified)" UserInfo=0x15c14640 {LibMISErrorNumber=-402620393, LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of : 0xe8008017 (Signed resources have been added, removed, or modified), SourceFileLine=192}
Sep 18 06:18:45 Nathans-iPad itunesstored[468] : ERROR: MobileInstallationInstallForLaunchServices returned nil
Sep 18 06:18:45 Nathans-iPad lsd[73] : LaunchServices: installation failed for app com.company.app
Sep 18 06:18:45 Nathans-iPad itunesstored[468] : LaunchServices: installPhaseFinishedForProgress: com.company.app.Installing - : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache

Best Answer

Answers

  • ArrenArren USMember

    We are also seeing "A signed resource has been added, modified, or deleted" with HockeyApp, XCode 7 and the latest Xamarin Studio.

  • EricMaurerEricMaurer USMember

    I am getting the same error with Hockey App. Any solutions?

  • EricMaurerEricMaurer USMember

    Nathan, can you submit this as a bug in bugzilla?

  • ArrenArren USMember

    They may already be aware of it internally.

    Non-public Bug 33695 - [iOS] Attempting to install a new version of an application on device using a different provisioning profile from the original install is not supported by Xcode 7. Unfortunately, the corresponding error message produced by Xamarin does not describe the problem clearly: "error MT1006: Could not install the application ... on the device ... Application Verification Failed Error (error: 0xe800003a)." This error message will be improved in a future release. Workaround: Manually uninstall the app from the device and try installing it again.

    from https://forums.xamarin.com/discussion/50971/stable-release-xamarin-ios-9-0-ios-9-0-upstream-release#latest

This discussion has been closed.