Git Product home page Git Product logo

Comments (10)

KrauseFx avatar KrauseFx commented on July 1, 2024

Could you please share your Appfile? Are you using the for_platform or for_lane block?

You're right, cert shouldn't ask you for the team.

from cert.

besi avatar besi commented on July 1, 2024

My Appfile:

app_identifier "com.company.bundleid" # The bundle identifier of your app
apple_id "[email protected]" # Your Apple email address

# You can uncomment any of the lines below and add your own
# team selection in case you're in multiple teams

team_name "John Doe"
team_id "YYYYYYY"

# you can even provide different app identifiers, Apple IDs and team names per lane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Advanced.md#the-appfile

This is how I call the cert():

platform :ios
  # ....
  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # snapshot
    cert
    sigh(adhoc: true)
    deliver(beta: true)

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end
end

from cert.

besi avatar besi commented on July 1, 2024

It looks like I can get around this by using:

cert(team_id: 'YYYYYYY')

from cert.

tskulbru avatar tskulbru commented on July 1, 2024

I have the same problem with both cert, sigh and pem. similar appfile to the one above

from cert.

KrauseFx avatar KrauseFx commented on July 1, 2024

@tskulbru are you using the latest version?

from cert.

triage avatar triage commented on July 1, 2024

@KrauseFx in case this helps, I'm having this same issue with:
sigh 0.10.9
fastlane 1.32.1
pretty much a vanilla appfile:

for_lane :staging do
    app_identifier 'xxxxxxx'
    apple_id "[email protected]"
    team_name "xxxxxx"
    team_id "xxxxx"
end

and fastfile:

lane :staging do
  cert
  sigh({
    app_identifier: "xxx.staging"
  })
  sigh({
    app_identifier: "xxx.watchkitapp"
  })
  sigh({
    app_identifier: "xxx.watchkitextension"
  })  
  cocoapods
  gym(
    scheme: "Staging",
    configuration: "Release",
  )
  deliver(
     beta: true
  )
end

btw thank you so much for the killer suite of tools that is fastlane 👍

I can confirm that @besi's fix works, however.

from cert.

marthinfreij avatar marthinfreij commented on July 1, 2024

I'm having this issue as well

Appfile

for_platform :ios do
  for_lane :beta do
    app_identifier "xxx.xxx.ios.beta"
    apple_id "[email protected]"
    team_name "XXX XX"
    team_id "XXXXXXXXXX"
  end
end

Fastfile

fastlane_version "1.32.3"

default_platform :ios

platform :ios do
  lane :beta do
    cert
  end
end

Console output

XXX:XXX xxxx$ fastlane ios beta
[09:04:24]: -------------------------------------------------
[09:04:24]: --- Step: Verifying required fastlane version ---
[09:04:24]: -------------------------------------------------
[09:04:24]: fastlane version valid
[09:04:24]: ------------------------------
[09:04:24]: --- Step: default_platform ---
[09:04:24]: ------------------------------
[09:04:24]: Driving the lane 'ios beta' 🚀
[09:04:24]: ------------------
[09:04:24]: --- Step: cert ---
[09:04:24]: ------------------

+-------------+----------------------------------+
|                    Summary                     |
+-------------+----------------------------------+
| development | false                            |
| username    | [email protected] |
| output_path | .                                |
+-------------+----------------------------------+

[09:04:25]: Starting login with user '[email protected]'
Multiple teams found, please enter the number of the team you want to use: 
1) XXXXXXXXXX "XXX XX" (Company/Organization)
2) YYYYYYYYYY "YYY YY" (In-House)

Passing team_id to cert works fine

from cert.

KrauseFx avatar KrauseFx commented on July 1, 2024

@marthinfreij Could you try adding this to your Fastfile before calling cert:

team_id "your_team_id"

from cert.

marthinfreij avatar marthinfreij commented on July 1, 2024

@KrauseFx yep, then it works

from cert.

fastlanebot avatar fastlanebot commented on July 1, 2024

This issue was migrated to fastlane/fastlane#3116. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from cert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.