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

前端 未结 26 2017
青春惊慌失措
青春惊慌失措 2020-11-30 03:04

While attempting to debug a build created using the 3.2 SDK on an iPhone device I receive the message \"A signed resource has been added, modified, or deleted.\".

I

相关标签:
26条回答
  • 2020-11-30 03:35

    I'm getting the same thing, when installing on a iPod Touch. I can't link for the simulator (for other reasons), so can't say whether the problem occurs there.

    Yes, rebuilding clean or deleting the app from the device allows me to install again. Neither are desirable, iterative solutions!

    The minimal "cleaning" I've come across as a work around is manually deleting the Foo.app in the build/Debug-iphoneos directory.

    0 讨论(0)
  • 2020-11-30 03:35

    I simply rebuilt my app, and that solved the issue.

    0 讨论(0)
  • 2020-11-30 03:35

    Having the DerivedData folder at a network location caused this problem for me.

    After trying everything else, I found out my workstation couldn't agree with the University server about what the time was. (It thought everything was always modified). I also had to clean for every rebuild to avoid that frustrating message.

    In the end I gave up and built locally, changing Xcode > Preferences > Locations ... feeling altogether pretty dumb for having ever built over the network.

    0 讨论(0)
  • 2020-11-30 03:36

    (SOLVED) This is a weird one. I tried everything I could find. Eventually I changed the product name from "Unit Tests (device)" to "Device Unit Tests" - removing the brackets. Now everything works. The spaces in it appear to be fine.

    Previously on stackoverflow: I've just run into this bug with two static library projects. One builds and tests using the GHUnit test runner on the device without a problem. The other projects will not install and gets this error. That means it's something thats different between these two projects. I've so far tried wiping the build directory, taking spaces out of the executable name, and various clean and builds as suggested here.

    0 讨论(0)
  • 2020-11-30 03:39

    I could solved by changing project name.

    [project]-[Rename] menu. "phase1 (new)" -> "pahse1"
    
    0 讨论(0)
  • 2020-11-30 03:39

    Go to Window > Organizer > Projects > Find your project and delete derived data

    0 讨论(0)
提交回复
热议问题