Giter VIP home page Giter VIP logo

Comments (11)

KrauseFx avatar KrauseFx commented on September 25, 2024

I don't think that's right. The Deliverfile is exclusively for deliver. The Appfile is shared across all tools.

The better solution would be to support separate email addresses per platform in the Appfile

from pilot.

twhq avatar twhq commented on September 25, 2024

That works too.

As long as I can define each account email and get both passwords stored in the keychain so I only need to configure it once I'll be happy. 😎

from pilot.

tp avatar tp commented on September 25, 2024

Is there a recommended workaround to set the pilot to use the Deliverfile from inside the Fastfile / pilot action? (i.e. a simple way to set the Deliverfile values as environment vars?)

from pilot.

vittoriom avatar vittoriom commented on September 25, 2024

Following this because I switched from deliver to pilot after the big iTunes Connect change and following fastlane release and now pilot asks me for the username. Just had a look at the Appfile thing, specified app_identifier and apple_id there and I get:

/Library/Ruby/Gems/2.0.0/gems/gym-0.8.3/lib/gym/detect_values.rb:16:in `set_additional_default_values': No project/workspace found in the current directory. (RuntimeError)

from pilot.

KrauseFx avatar KrauseFx commented on September 25, 2024

@vittoriom So the app identifier works, but it can't find your project. You only have to specify your Xcode project using the following options from gym --help

    -w, --workspace STRING Path the workspace file (GYM_WORKSPACE)
    -p, --project STRING Path the project file (GYM_PROJECT)

from pilot.

vittoriom avatar vittoriom commented on September 25, 2024

@KrauseFx gym is already configured through the Gymfile, should I do more steps? Let's say I drop the Appfile, is there something like a Pilotfile? I just would like to avoid passing all these parameters to the pilot steps in the Fastfile :(

from pilot.

KrauseFx avatar KrauseFx commented on September 25, 2024

@vittoriom There is so Pilotfile, but I could implement it. Would you like to use one?

from pilot.

vittoriom avatar vittoriom commented on September 25, 2024

It's just what came to my mind when thinking about the configuration.
I have a Deliverfile for deliver (even though it's my understanding that other tools also take information from there?), a Gymfile for gym, and now pilot wants to get configuration parameters as well.
Unless the Appfile could work as a Deliverfile + Gymfile + "Pilotfile", I don't see the point in the Appfile as of now :O but I'm a bit confused to be honest.
Nevertheless, between passing the parameters to pilot in the Fastfile and having a separate Pilotfile, I would rather have the latter.

from pilot.

jimjeffers avatar jimjeffers commented on September 25, 2024

@KrauseFx I have the same issue here. I have an apple dev account to connect to various teams I'm a part of, but I have separate itunes connect email addresses specific to each team. The Appfile seems to need an apple developer ID and an itunes connect ID (for deliver and pilot). What's the best way to handle this at the moment? I currently do this in the deliver file for deliver. But this seems a bit silly.. it's not that the username is specific to deliver, it's specific to itunes connect vs. the apple developer portal.

from pilot.

edwinbosire avatar edwinbosire commented on September 25, 2024

Update

The latest fastlane update fixes this issue and allows you to specify different credentials for different lanes in a far much more elegant manner

Read More Here

The advice hereon is somewhat defunct

I have a different account for _iTunes Connect_ and _Developer Portal_, to complicate matters, I belong to more than one Team on the developer portal. My solution is as follows (yours could vary)

  1. In my Appfile I set the following extra parameters team_name and team_id e.g
app_identifier "uk.co.theweek" 
apple_id "[email protected]"
team_name "Dennis Publishing Limited"
team_id "B999999QWE"
  1. In my Fastfile, under pilot, I add the username as an extra parameter. Here is an example
lane :beta do
    sigh
    pilot(
      username: "[email protected]",
      ipa: "Builds/The Week UK.ipa",
      skip_submission: true
      )

I find that the above works rather well for me.

Edit

After reading all the comments above (I skimmed through the first time) I realise that you all have a valid solution, and this is more of a discussion regarding engineering paradigms. So pardon my reply, that said, I will leave it here in case someone genuinely doesn't know how to use multiple accounts between the tools, i.e _sigh_ and _pilot_

from pilot.

fastlane-bot-helper avatar fastlane-bot-helper commented on September 25, 2024

This issue was migrated to fastlane/fastlane#1916. 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 pilot.

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.