iOS code signing with watch app and extension targets

Getting code signing errors when building our app that has a watch target and watch extension target. Is there a way to specify code signing profiles for each target respectively?

Code signing is required for product type 'WatchKit Extension' in SDK 'watchOS 3.0'

I encounter the same problem, but with ‘Application Extension’ after integrate Notification Service Extension. Does anyone solve this?