Build not available on iTunes Connect for internal testing through CircleCI fastlane deployment

非 Y 不嫁゛ 提交于 2019-12-02 01:18:10
jacks205

Found the solution that helped resolve this issue.

Two parts seem to help fix it

  1. Changing profile used from adhoc to appstore

    a. I had to generate the appstore provisioning profile through match:

     fastlane match appstore -a com.myapp.app.staging
    
  2. Adding include_symbols and include_bitcode to my gym build parameters.

Processing took longer than normal, but after processing, it returns to the build list where pilot recognizes it and it posts to TestFlight.

My new Fastfile:

  lane :deploy_staging do    
    match(
      type: "appstore"
    )

    increment_build_number(
      xcodeproj: './ios/MyApp.xcodeproj'
    )

    gym(
      include_symbols: true,
      include_bitcode: true,
      export_method: "app-store",
      scheme: "MyApp Staging",
      project: "./ios/MyApp.xcodeproj"
    ) # Build your app - more options available

    pilot

    clean_build_artifacts
    git_add(
      path: '.'
    )
    git_commit(
      path: '.',
      message: "Deployed new staging version #{lane_context[SharedValues::BUILD_NUMBER]} [skip ci]",
    )
    push_to_git_remote(
      local_branch: ENV["CIRCLE_BRANCH"],
      remote_branch: ENV["CIRCLE_BRANCH"]
    )

  end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!