ios – Importing bundle to App Retailer Join utilizing Fastlane is importing it additionally on the TestFlight builds record


Once I add my software to AppStore Join utilizing upload_to_app_store(), it’s also importing a model to TestFlight, and this causes the default model in TestFlight to be the final one uploaded to the AppStore.

So, in my workflow, after I push my app to my ‘sandbox’ department, I solely add to TestFlight utilizing upload_to_testflight(), we’re good right here. After that, I push the newest adjustments from ‘sandbox’ to my ‘manufacturing’ department. Once I do that final step, along with importing to the AppStore, it’s also importing the construct to TestFlight, inflicting the model in TestFlight to be linked to the manufacturing server. I do not know why is going on that.

Right here is the lane executed when pushing to sandbox:

desc "Push a brand new beta construct to TestFlight"
  lane :deploy_testflight do
    set_full_version()

    setup_ci if is_ci

    cocoapods(clean_install: is_ci)

    match(
      kind: "appstore",
      readonly: is_ci,
    )

    build_app(
      workspace: "Runner.xcworkspace",
      scheme: "Runner",
      archive_path: "../construct/ios/Runner.xcarchive",
      output_directory: "../construct/ios/Runner",
    )

    upload_to_testflight(
      api_key_path: "./app_store_connect.json",
      ipa: '../construct/ios/Runner/Runner.ipa',
      skip_waiting_for_build_processing: true,
    )
  finish

And this when pushing to manufacturing:

desc "Push a brand new launch construct to App Retailer"
  lane :deploy_appstore do
    set_full_version()

    setup_ci if is_ci

    cocoapods(clean_install: is_ci)

    match(
      kind: "appstore",
      readonly: is_ci,
    )

    build_app(
      workspace: "Runner.xcworkspace",
      scheme: "Runner",
      archive_path: "../construct/ios/Runner.xcarchive",
      output_directory: "../construct/ios/Runner",
    )

    upload_to_app_store(
      drive: true,
      reject_if_possible: true,
      skip_metadata: false,
      skip_screenshots: true,
      languages: ['en-US'],
      release_notes: {
        "default" => "Updates",
        "en-US" => "Updates",
      },
      submit_for_review: true,
      automatic_release: true,
      precheck_include_in_app_purchases: false,
      submission_information: {
        add_id_info_limits_tracking: true,
        add_id_info_serves_ads: false,
        add_id_info_tracks_action: true,
        add_id_info_tracks_install: true,
        add_id_info_uses_idfa: true,
        content_rights_has_rights: true,
        content_rights_contains_third_party_content: true,
        export_compliance_platform: 'ios',
        export_compliance_compliance_required: false,
        export_compliance_encryption_updated: false,
        export_compliance_app_type: '',
        export_compliance_uses_encryption: false,
        export_compliance_is_exempt: false,
        export_compliance_contains_third_party_cryptography: false,
        export_compliance_contains_proprietary_cryptography: false,
        export_compliance_available_on_french_store: false
      },
      api_key_path: "./app_store_connect.json",
      ipa: '../construct/ios/Runner/Runner.ipa',
    )
  finish

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles