The embedded binary and the parent app has the same certificate but I am getting the error message: error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
This is just Xcode making you go crazy,all what you have to do is
Preferences->Accounts
(Command+,) Enjoy :D