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

前端 未结 26 2342
青春惊慌失措
青春惊慌失措 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:31

    I found a workaround for the bug.

    If you delete the .app file in build/Debug-iphoneos/ before building for the device, the app gets installed without errors. And there is a simple way to do that before every build.

    Make sure you have selected "Device" in the dropdown overview menu. In XCode go to Project > New target... Then find "Shell Script target" under MacOSX/Other Name it and add it to the current project

    Now, in the left navigation panel, under targets, expand your newly created target and double-click on Run Script. In the window that opens replace "# shell script goes here" with "rm -fr build/Debug-iphoneos/*.app" (without the quotes). Now open your main target preferences and under Direct Dependencies add your newly created target. Build and Go! :)

提交回复
热议问题