title: Add project reference to Swift iOS XCode project and debug
body: <p>I am beginning development both an iPhone and iPad product and the two will use a custom framework for core functionality.  I have created an iOS Framework project that will contain all the common API's.  I would like to be able to debug the framework while debugging the iPhone app.  I have added both the iPhone and Framework projects to my work space and linked the framework to my iPhone project.  When ever I try to clean or build the project I get this error.</p>
  
  <p>MyFramework is not a valid PRODUCT_NAME for use with framework targets enabling DEFINES_MODULE (name is not a valid C99 extended identifier).  This is in XCode 6</p>
  
  <p>Anyone have any ideas what this means?</p>
  
  <p>Thank you.</p>