title: Xcode MyProjectName-Bridging-Header.h does not exist
body: <p>I want to start using Swift in my Objective-C project. So i added a swift class:</p>
  
  <pre><code>import Foundation
  @objc class System : NSObject {
      @objc func printSome() {
          println("Print line System");
      }
  }
  </code></pre>
  
  <p>And imported it into a .m file:</p>
  
  <p><code>#import "MyProjectName-Swift.h"</code></p>
  
  <p>When building my project i get the following error:</p>
  
  <pre><code>Bridging header 'PathToMyProject/MyProjectName-Bridging-Header.h' does not exist
  </code></pre>
  
  <p>NOTE: Under "Build Settings->Swift Compiler - Code Generation->Objective-C Briding Header" is set to MyProjectName-Bridging-Header.h</p>
  
  <p>What should i do to solve this issue?</p>
  
  <p>Any help is much appreciated.</p>
  
  <p>EDIT: Bridging-Header file:
      #if defined(__has_include) &amp;&amp; __has_include()
      # include 
      #endif</p>
  
  <pre><code>#include &lt;objc/NSObject.h&gt;
  #include &lt;stdint.h&gt;
  #include &lt;stddef.h&gt;
  #include &lt;stdbool.h&gt;
  
  #if defined(__has_include) &amp;&amp; __has_include(&lt;uchar.h&gt;)
  # include &lt;uchar.h&gt;
  #elif __cplusplus &lt; 201103L
  typedef uint_least16_t char16_t;
  typedef uint_least32_t char32_t;
  #endif
  #if !defined(SWIFT_PASTE)
  # define SWIFT_PASTE_HELPER(x, y) x##y
  # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  #endif
  #if !defined(SWIFT_METATYPE)
  # define SWIFT_METATYPE(X) Class
  #endif
  
  #if defined(__has_attribute) &amp;&amp; __has_attribute(objc_runtime_name)
  # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  #else
  # define SWIFT_RUNTIME_NAME(X)
  #endif
  #if !defined(SWIFT_CLASS_EXTRA)
  # define SWIFT_CLASS_EXTRA
  #endif
  #if !defined(SWIFT_PROTOCOL_EXTRA)
  # define SWIFT_PROTOCOL_EXTRA
  #endif
  #if !defined(SWIFT_CLASS)
  # if defined(__has_attribute) &amp;&amp; __has_attribute(objc_subclassing_restricted) 
  #  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  # else
  #  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  # endif
  #endif
  
  #if !defined(SWIFT_PROTOCOL)
  # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  #endif
  
  #if !defined(SWIFT_EXTENSION)
  # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  #endif
  
  #if !defined(OBJC_DESIGNATED_INITIALIZER)
  # if defined(__has_attribute) &amp;&amp; __has_attribute(objc_designated_initializer)
  #  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  # else
  #  define OBJC_DESIGNATED_INITIALIZER
  # endif
  #endif
  #pragma clang diagnostic push
  #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  
  #if defined(__has_feature) &amp;&amp; __has_feature(modules)
  #endif
  
  #pragma clang diagnostic pop
  </code></pre>