Xcode Analyze - Provisioning profile "***" doesn't include

When I use xcode-analyze step it prints out the following error:

=== ANALYZE TARGET MyTarget OF PROJECT MyProject WITH CONFIGURATION Debug ===
Check dependencies
Provisioning profile "MyProfile" doesn't include the currently selected device "controlosxprodc1bhostondemandosx127.local".
** ANALYZE FAILED **
1 Like

One solution could be to disable codesign for this module in your project, or run analyze with a custom script disabling codesign fully.

For example:

xcodebuild -workspace "MyProject.xcworkspace" -scheme "MyScheme" analyze CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
1 Like