When i run app extension(Widget) in device.I got this error App installation failed
If your application bundle identifier is com.companyName.productName then your extension bundle identifier should be com.companyName.productName.extensionName
If you assign the bundle identifier in this way then your provisioning profile will work for both.