Xcode 8 Code signing error
<p>I have Xcode 8 installed on OSX el Captain. </p>

<p>I have a stickers bundle which runs on simulator. However, when I build it on me errors as below:</p>

<p><strong><em>Check dependencies
Signing for "StickerPackExtension" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'App Extension' in SDK 'iOS 10.0'</em></strong></p>

<p><strong><em>Showing Recent Errors Only
Signing for "StickerPackExtension" requires a development team. Select a development team in the project editor.</em></strong></p>

<p><strong><em>Code signing is required for product type 'App Extension' in SDK 'iOS 10.0'</em></strong></p>

<p>I have tried creating the certificates again, clean build, restarting Xcode but the error is still there. I have also tried 'automatic manage signing' and changed the settings manually as well. </p>

<p>Please help!</p>