Just to make sure we’re comparing “apples to apples…” Did you try this with a blank C++ Template project? Again, I was able to package this set up as a test successfully (w XCode 7 installed).
I also found this article on the differences with Code signing with XCode 8 that you might find useful: Migrating Code Signing Configurations to Xcode 8