title: 'Xcode cannot find protocol declaration of "UIViewControllerAnimatedTransitioning"'
body: <p>I created a vanilla Xcode (v6.2) project (Project A) that throws the error:</p>
  
  <blockquote>
    <p>'Xcode cannot find protocol declaration of
    "UIViewControllerAnimatedTransitioning"'</p>
  </blockquote>
  
  <p>Here's the code:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface WTF : NSObject &lt;UIViewControllerAnimatedTransitioning&gt;
  
  @end
  </code></pre>
  
  <p>Weird thing is, I have a example project that I downloaded (Project B) that I can put the exact above code in and it will recognize UIViewControllerAnimatedTransitioning protocol without a problem:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface WTF : NSObject &lt;UIViewControllerAnimatedTransitioning&gt;
  
  @end
  </code></pre>
  
  <p>The most obvious differences I notice between the two projects are that the second downloaded project has the frameworks listed in the explorer, but the project I created with Xcode 6.2 does not. Upon further reading I found that new versions of Xcode eliminate the need to manually hook up frameworks, so I'm not sure if it's relevant.</p>
  
  <p>So with Project A throwing an error on something that Project B does not, I started a new project (Project C) in Xcode (Single View Application) and pasted in:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface WTF : NSObject &lt;UIViewControllerAnimatedTransitioning&gt;
  
  @end
  </code></pre>
  
  <p>And get the same error: </p>
  
  <blockquote>
    <p>'Xcode cannot find protocol declaration of
    "UIViewControllerAnimatedTransitioning"'</p>
  </blockquote>
  
  <p>Restarted Xcode and Mac and the error persists.</p>
  
  <p>WTF is happening here? </p>