Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Generally, if you can't Run a project, either:</p> <ul> <li><p><strong>It doesn't have a build scheme that knows how to "run"</strong>. Check at the top next to the Run/Stop buttons that there's a profile name and target device shown. If the box says <code>No Scheme</code> then click on it and create a New Scheme. If there IS a scheme, click on the drop-down menu (left divider in Xcode 4.2+, anywhere on the box otherwise) and go to Edit Scheme to make sure the scheme was set up correctly for Running</p></li> <li><p><strong>It doesn't have a build configuration set</strong>. You should see this in the Run section of your build scheme. Check there's one selected. If the list is empty, go to the Project icon at the top of the leftmost pane, select the Project, go into the Info section, and create a build configuration, although there should already be at least one if you can build the project</p></li> <li><p><strong>It doesn't have a runnable target at all</strong>, which might mean you've got a project which compiles to a static library or framework for use in OTHER projects. If this is the case, you should see the icon for your build Target as a yellow toolbox (framework), or a little white building (a "library", although to me it looks more like the <a href="https://upload.wikimedia.org/wikipedia/commons/4/48/Oblique_facade_3,_US_Supreme_Court.jpg" rel="noreferrer">United States Supreme Court Building</a>).</p></li> <li><p><strong>The target isn't valid for the Simulator</strong>, which means you might need to add <code>i386</code> to the list of <em>Architectures</em> and <em>Valid Architectures</em> on the Target before you can run it</p></li> <li><p><strong>The target isn't valid for the currently connected device</strong>. For this one, check the Deployment Target number is set back enough to be valid for the device's version of <code>iOS</code></p></li> <li><p><strong>Xcode can't see the connected device</strong>. Try unplugging and plugging it back in. If it still doesn't recognize it, you may have not added it to Xcode (Window -> Devices -> Select the device -> Use for Development)</p></li> </ul>
    singulars
    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. 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