title: symbol(s) not found for architecture x86_64 - linker command failed with exit code 1
body: <p>I had set up my application using static library initially but I am trying to use the cocoa touch framework of iOS 8 in the application. I have created the framework and moved all the files from static library to the framework, my build fails with this error</p>
  
  <pre><code>"_OBJC_CLASS_$_DataReader", referenced from:
    objc-class-ref in device.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I have made sure that all the necessary header files are included in the framework and they are public. I have linked my framework under the link binary with Libraries. I have tried removing arm64 from the valid architectures as some posts suggested but no luck. How can I fix this?</p>