iOS app, Problems with deployment to TestFairy


#1

I’m trying to deploy iOS app to TestFairy but every time got a “Not deploying” in
"Checking deployment" section. I have uploaded a .mobileprovision certificate in a repository root. TestFairy keys placed to CircleCI configuration.

May be you can point me what problem it could be?

My circle.yml

general:
  build_dir: source

machine:
  environment:
    GYM_CODE_SIGNING_IDENTITY: "XC Ad Hoc: *"
    XCODE_SCHEME: Name
    XCODE_WORKSPACE: Name.xcworkspace
  xcode:
    version: "7.2"

test:
  override:
    - set -o pipefail &&
      xcodebuild
        CODE_SIGNING_REQUIRED=NO
        CODE_SIGN_IDENTITY=
        PROVISIONING_PROFILE=
        -sdk iphonesimulator
        -destination 'platform=iOS Simulator,OS=9.0,name=iPhone 6'
        -workspace Name.xcworkspace
        -scheme "Name"
        clean build test |
      tee $CIRCLE_ARTIFACTS/xcode_raw.log |
      xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml

deployment:
  beta_distribution:
    branch: dev_circle_ci_2
    commands:
      - gym
      - ipa distribute:testfairy
          --key     "$TESTFAIRY_API_KEY"
          --comment "CircleCI build $CIRCLE_BUILD_URL"

#2