Giter VIP home page Giter VIP logo

Comments (7)

janpio avatar janpio commented on May 22, 2024

Sure.

How is your project set up?
platforms and config.xml in the same folder as your fastlane folder?

What does your build_debug lane look like?

from fastlane-plugin-ionic.

merlinofcha0s avatar merlinofcha0s commented on May 22, 2024

I generate a ionic project with ionic start myApp tabs
Then, cordova platform add android
fastlane init in the platform/android folder
My lane is like this :

default_platform(:android)
platform :android do
  desc "Build Debug"
  lane :build_debug do
    ionic(
      platform: 'android',
      prod: true,
      release: false
    )
  end
end

So no my config.xml is not in the same folder as the platform folder

from fastlane-plugin-ionic.

janpio avatar janpio commented on May 22, 2024

Ah ok, the plugin (and the one this is based on) kind of assume there to be a config.xml. That is actually something that might be improved I guess :/

Can you try fastlane init in the Ionic/Cordova project root and run the lane as you have it there?

from fastlane-plugin-ionic.

merlinofcha0s avatar merlinofcha0s commented on May 22, 2024

I can't do that because fastlane tell me that he didn't detect any android or IOS project

from fastlane-plugin-ionic.

janpio avatar janpio commented on May 22, 2024

Ok, so the fastlane init process got dumbed down :(

Just create the fastlane folder and Fastfile in it manually and try running it, that should work.

from fastlane-plugin-ionic.

merlinofcha0s avatar merlinofcha0s commented on May 22, 2024

Yup in this case it's working 😄
Kind of misleading with fastlane init 😭
Thanks

from fastlane-plugin-ionic.

janpio avatar janpio commented on May 22, 2024

Great, I created #43 to think about a solution for the initial problem you were having. This is some very special code reading/writing to config.xml that porbably would not have been relevant to you anyway, so I am not happy this cause problems for you.

Feel free to ask further questions if you encounter any additional problem! 🎢

from fastlane-plugin-ionic.

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.