Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing IPA results in error "A signed resource has been added, modified, or deleted"

I've recently stumbled upon a rather odd problem with Xcode which occurs when I build an IPA and attempt to install it, I've tried installing using Xcode, iTunes and iPhone Config Utility, all of which give the same error

A signed resource has been added, modified, or deleted.

I can successfully debug the app on my phone using XCode, it's only when I try to install an IPA I see the error.

I've tried unzipping the IPA and running the codesign validation tool which throws up the following response:

a sealed resource is missing or invalid In architecture: armv7
resource missing:
/Users/dev1/Documents/PoleTester.app/Settings.bundle/._Root.plist

This led me to look at the Settings.bundle file and ensure that it's being included in the build, which it is. Interestingly though, if I remove the Settings.bundle file, build an IPA and attempt to install it on my iPhone the install succeeds, however this of no use as I need the Settings.bundle file installing with the app.

Further investigations on some of my previous XCode projects has shown that I can build an IPA, with the Settings.bundle file included, and successfully install it. However, if I make a simple change to the Settings.bundle file, such as adding or removing a row, build an IPA and then attempt to install it I get the

"A signed resource has been added, modified, or deleted" error.

I'm at a bit of a loss as to what's causing this error and why the Settings.bundle file is causing the install to fail.

Has anyone seen this error before or potentially shed some light on what's causing it?

I'm using Xcode 4.6.3 and an iPhone 4 running iOS 6.1.3.

like image 459
user2842164 Avatar asked Oct 03 '13 10:10

user2842164


1 Answers

Clean Build Folder (⌘⌥⇧-K) has resolved this for me 3 out of 3 times.

like image 134
MikeyWard Avatar answered Nov 10 '22 20:11

MikeyWard