Code signing is required for product type 'Application' in SDK 'iOS 10.1'

Hi there,

I can’t get my deployment working. Apparently, something is wrong with code signing.

running the following command on deployment:

gym --scheme 'MyProject-CI' --workspace 'myproject.xcworkspace'

got the error:

Code signing is required for product type 'Application' in SDK 'iOS 10.1'

and in some pods the warning:

xxxxx will not be code signed because its settings don't specify a development team.

Everything seems to be configured fine. Output of Machine -> Install Code Signing Credentials:

Policy: Code Signing
  Matching identities
  1) 1231234..... "iPhone Distribution: xxxx (zzzz)"
     1 identities found

  Valid identities only
  1) 1231234..... "iPhone Distribution: xxxx (zzzz)"
     1 valid identities found

Any help with debugging will be much appreciated. thanks.

Hi Juan, I suppose the Development Team setting in your scheme is set to Auto? Does anything change on CircleCI if you select a specific team in the scheme? Thanks.