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

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

    I also faced the same issue. After wasting lot of time I realized that my product name has a special character "?" which cased the problem

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

    In my case, it happened when no changes were made. Make a change to any file and run again.

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

    In my case, Quit and restarting XCode worked.

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

    For me the issue was related to the provisioning profile settings. The clue to this was that debug builds were installing ok, but release builds were not. I wanted to test a release build, so I ran the scheme with that build configuration.

    I fixed it by duplicating the Release Configuration, then modifying those fields in the Build Settings to have the same provisioning stuff as if I am debugging it.

    (Adding another build configuration will give you headaches if you are using Cocoapods however, then you'll have to modify your Podfile)

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

    I was getting this same error, but intermittently. I tried all the above and it still didn't work. Today I found what was causing it.

    The error seems to occur when editing a xib in interface builder. If you try to run while the interface builder is open in xcode it will cause the above error. To solve just close the interface builder editor. i.e. just select a code file from your project so you are in the Source Editor.

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

    When I created ipa through terminal using xcodebuild commands, ipa created but while installing it I was getting same error. exportOptionsPlist solved my issue.

    xcodebuild -exportArchive -archivePath  projectPath/myapp.xcarchive  -exportPath  projectPath/myApp.ipa  -exportOptionsPlist  ProjectFolder/exportPlist.plist
    
    0 讨论(0)
提交回复
热议问题