Xcode 6 error: "Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier."

chitza picture chitza · Jun 4, 2014 · Viewed 52.7k times · Source

I'm trying to build an extension project and Xcode keeps throwing the error in subject.

Xcode log error

Needless to day, the extension's bundle id is prefixed with app's bundle id.

Product Name: ro.chitza.TodayPics.$(TARGET_NAME:rfc1034identifier

Extension bundle id

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.

Did anyone else encounter this error? Any hints for a solution or workaround?

Answer

Julian picture Julian · Jun 19, 2014

Try a Clean before the Build. This fixed the problem for me (Xcode 6b2).