Deployment command always retire build and start building a new one

Hi,

The build always end up with Retire status when it comes to deployment, please help me to figure it out. My configurations are as below:

machine:
  xcode:
    version: "8.2"
  environment:
    GYM_CODE_SIGNING_IDENTITY: <Code_Signing_Identity>

test:
  override:
    - set -o pipefail &&
      xcodebuild
        CODE_SIGNING_REQUIRED=NO
        CODE_SIGN_IDENTITY=
        PROVISIONING_PROFILE=
        -workspace 'ios-app.xcworkspace'
        -scheme 'ios-app'
        clean |
      tee $CIRCLE_ARTIFACTS/xcode_raw.log |
      xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml    

deployment:
  sandbox_distribution:
    branch: [chore/fastlane_integration-IOS-43]
    commands:
      — bundle exec fastlane sandbox
1 Like