Add supper for Extension and  Framework targets

Can you expand such comments to explain the _need_ for code like this? The fact that it does something with regards to `CFBundleIdentifier ` is pretty clear from looking at the code.