Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 6 beta 7:A signed resource has been added modified or deleted.

When I'm running the application on device aftercleaning, removing derived data, first time it runs without any issues. Second time when I'm trying to run, it say's "A signed resource has been added modified or deleted."

On the simulator app run's without problem.

I think it's because of extensions, I have editing, share and today extensions, when I'm deleting this extensions, then I can run second time without this message.

The problem has been since from xcode 6 beta 5.

Maybe issue related to provisioning profiles and signing ? I has created different provisioning profiles for each extension target.

So my question is, how can I fix this ? How can I run on the device second time without cleaning project?

like image 711
hsafarya Avatar asked Sep 03 '14 08:09

hsafarya


1 Answers

It is still not fixed in XCode 6 RTM. But I found an easy walk around. Simply delete the ShareExtension.appex folder under your build. Then rebuild again. You don't need to clean project, so rebuild is quite fast.

A actually alias the command to do the cleaning

rm -rf ~/Library/Developer/Xcode/DerivedData/<your_app>-*/Build/Products/Debug-iphoneos/ShareExtension.appex/
like image 150
Cloud Xu Avatar answered Oct 15 '22 11:10

Cloud Xu