iOS code signing fails: “A sealed resource is missing or invalid.”

后端 未结 7 2180
盖世英雄少女心
盖世英雄少女心 2021-02-20 18:26

I have been with this problem already 8 hours unable to solve it.

Whats Cool JLD$ codesign -vvvv build/Distribution-iphoneos/Whats\\ cool\\?.app
build/Distributi         


        
7条回答
  •  孤独总比滥情好
    2021-02-20 18:37

    I just experienced this error trying to sign an archive with Xcode 4 on Lion. The problem turned out to be related to the fact that the archive had been zipped on one machine and transported to another --- the zip utility did not support symbolic links, and the app code signature uses a symlink inside the bundle, so the unzipped archive was invalid.

    Possible solutions are:

    1. Use the Finder's contextual (ctrl-click/right-click) menu and choose "Compress" to create the zip file, or:
    2. Use the command line version of zip and provide it with the -y argument to preserve symbolic links.

提交回复
热议问题