title: Xcode 6 error: "Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier."
body: <p>I'm trying to build an extension project and Xcode keeps throwing the error in subject.</p>
  
  <p><img src="https://i.stack.imgur.com/3d8Du.png" alt="Xcode log error"></p>
  
  <p>Needless to day, the extension's bundle id <em>is</em> prefixed with app's bundle id.</p>
  
  <p>Product Name: <code>ro.chitza.TodayPics.$(TARGET_NAME:rfc1034identifier</code></p>
  
  <p><img src="https://i.stack.imgur.com/Q0HR4.png" alt="Extension bundle id"></p>
  
  <p>I've tried cleaning the build folder and rebuilding, no luck. The funny thing is the entire project got built for a few times, but after some code and UI changes it started failing. Even if I create new projects, the same thing happens after about 5-6 builds.</p>
  
  <p>Did anyone else encounter this error? Any hints for a solution or workaround?</p>