Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Besides googling for possible solutions to this problem and trying them out (hoping that they help), here is an advice how to diagnose what causes this. The steps below apply to Xcode 4.2.</p> <ol> <li>In menu, select View > Navigators > Show Log Navigator. The Log Navigator should be displayed on the left side.</li> <li>In the list of builds, select the one that causes troubles. The log from the build will be shown in the main view.</li> <li>Scroll to the very bottom. The last two steps should be <strong>CodeSign</strong> and <strong>Validate</strong>, where the <strong>Validate</strong> step contains the warning.</li> <li>Expand <strong>CodeSign</strong> and inspect the parameters used to perform the code signing.</li> <li>Expand <strong>Validate</strong> to learn more about the errors/warnings.</li> </ol> <p>Also scroll up and inspect the heading for the build target:</p> <p><strong>Build Target (your build target)</strong></p> <p><strong>Project (your project) | Configuration (selected configuration) | Destination ...</strong></p> <p>In my case, I found out that while doing the Archive build, the app was signed with the developer certificate. Inspecting the heading for the build target revealed that the Release configuration was used to build the archive. The remedy was to:</p> <ol> <li>In the menu, select Product > Edit Scheme</li> <li>In the Edit Scheme dialog, select the <strong>Archive</strong> build item (list on the left)</li> <li>Change <strong>Build Configuration</strong> to <strong>Distribution</strong></li> </ol> <p>I had this issue after duplicating a build target. The original target was signed by the distribution certificate. However, when copying the target, Xcode decided to assign the Release configuration to the Archive build.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload