Coder Social home page Coder Social logo

Comments (11)

KrauseFx avatar KrauseFx commented on September 2, 2024

lane :codesign do

That should probably be a private_lane :codesign do

Did I understand correctly: after running gym you use pilot in your lane. pilot throws this error. Then you immediately run pilot manually from the command line with the same parameters and it works?

from pilot.

squarefrog avatar squarefrog commented on September 2, 2024

That should probably be a private_lane :codesign do

Good to know!

Did I understand correctly: after running gym you use pilot in your lane. pilot throws this error. Then you immediately run pilot manually from the command line with the same parameters and it works?

Yes. So my lane runs gym with a custom IPA name, then immediately runs pilot. I expected gym to pass this IPA name onto pilot action, but it seems for some reason it's not happening. It seems to pick up my normal beta/release app instead.

If I call pilot manually, by telling it the ipa location, it works fine. If I edit my lane so I include the ipa path, then all works as expected.

So to summarise, it seems as though gym isn't correctly setting the ipa path variable when using a custom ipa path.

from pilot.

KrauseFx avatar KrauseFx commented on September 2, 2024

Did you check, is the ipa_path correct with :IPA_OUTPUT_PATH=>"/path/to/build/MusicLife-Alpha.ipa"? If you were to upload this exact file manually it works?

from pilot.

squarefrog avatar squarefrog commented on September 2, 2024

If I edit the Fastfile to use that output path like below:

pilot(app_identifier: "uk.co.arcam.nmusiclife", ipa: "build/MusicLife-Alpha.ipa")

It works fine. Manually works fine too. It's only when I don't specify the ipa argument in pilot that things fall apart.

from pilot.

KrauseFx avatar KrauseFx commented on September 2, 2024

Could you try updating to the latest pilot from today and see if that works?

from pilot.

squarefrog avatar squarefrog commented on September 2, 2024

I'm out of office today but I'll try on Monday and report back!

from pilot.

squarefrog avatar squarefrog commented on September 2, 2024

Looking at the commit it seems to make the ipa argument required, yet the option is marked as optional?

Taking a step back I wonder if the better route for my case is to do the following:

ipa = gym(...)
pilot(..., ipa: ipa)

Do you know if gym returns the ipa path as its return value?

from pilot.

KrauseFx avatar KrauseFx commented on September 2, 2024

Yes, it returns the absolute path to the ipa file, that should work 👍

from pilot.

squarefrog avatar squarefrog commented on September 2, 2024

Awesome, I'll do that then. Cheers! 🍻

from pilot.

KrauseFx avatar KrauseFx commented on September 2, 2024

👍

from pilot.

fastlanebot avatar fastlanebot commented on September 2, 2024

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