I was struggling with the same problem, and resolved it this way:
- You need one App ID configured to the provisioning portal (I assume you have your
com.apple.yourappnamethere) - You need to then configure the second App ID for the Today Widget (which should be
com.apple.yourappname.something, where something is the name for your widget, like Today)
Then you need to create two App Store Distribution provisioning profiles:
- One for the main App
- Second one for the widget
Then assign the correct provisioning profiles for each target to the project settings and set to build for Distribution.