Questions tagged [fastfile]

19 questions
10
votes
1 answer

Best way of code sign using Fastlane on CI

Before you get mad at my question, I know there is not one best way to setup Fastlane, but I would like to understand better the different approaches that you can take when you start using it. I am setting up Fastlane for a project. Now I only have…
Elena
  • 171
  • 9
10
votes
0 answers

Fastlane - Uploading to TestFlight return an error but still showing the build as available for testing

In my last two attempts to upload to TestFlight, I encountered an error from Fastlane. +------+-------------------------------+-------------+ | fastlane summary …
NDM
  • 944
  • 9
  • 30
4
votes
0 answers

Why does "bundle exec fastlane android" execute code inside the ios platform block as well?

We have a React Native app that we build using Fastlane. Everything works ok, but when we were optimising our Fastfile we noticed that code inside the ios platform block is executed as well when specifying android and vice versa. The lanes are…
Wannes
  • 1,019
  • 2
  • 11
  • 18
2
votes
1 answer

Azure pipeline how detect when pipeline stoped when script waiting for user input

I have a pipeline that is executing scripts and some of them are 3third party scripts. in this case is Fastlane script. Now in some rare cases, the Fastlane script is expecting the user to input value to stdin my question is how can I detect when a…
user63898
  • 29,839
  • 85
  • 272
  • 514
2
votes
2 answers

Fastlane Increment build number based on previous build number in test flight

I had setup fast lane and everything works fine and the app gets uploaded to test flight using the following fast file. I want to auto increment the build number based on the previous build number in TestFlight and upload new build with that…
Mohanraj
  • 587
  • 4
  • 21
2
votes
1 answer

How to automate xcode clean process using fastlane Fastfile lane

I am looking for a way to automate xcode clean process using fastlate. What I am looking to achieve: Clear Derived Data Folder Clean build folder Clean Build So far I automated the derived data folder lane :clean do clear_derived_data end
Tal Zion
  • 6,308
  • 3
  • 50
  • 73
1
vote
1 answer

Jenkins credentials - how to pass into Fastlane?

I have a secret file in Jenkins Credentials. And I am trying to use it as an environment variable to use later in Fastlane script. But inside the Fastlane script I am getting only ****. How can I get the secret key in Fastlane from Jenkins? Piece of…
bodich
  • 1,708
  • 12
  • 31
1
vote
1 answer

Fastlane upload_to_testflight lane is looking for target selection manually

Im trying to build and upload an ipa file to testflight using Fastfile, but when i start fastlane command to run, there is pop is coming and that is looking for target selection. Hence it still needs a manual intervention however i aimed to automate…
1
vote
0 answers

error: exportArchive: Code signing "MyFramework.framework" failed in fastlane build

Archive succeeded but export failed through Fastlane build. But the same export is working fine through Xcode because Xcode is not even asking for MyFrameworkIOS to sign. I have two ways in mind to get this resolution: How to avoid signing…
1
vote
1 answer

How can I make sure that builds are using v14.x iOS/tvOS simulators?

Some of the builds in our environment are failing because the builds are using a 13.X iOS/tvOS simulator and for some reason that causes issues. I made changes to our Fastfile so that the builds use a 14.2 simulator instead and now the builds are…
JFortYork
  • 137
  • 10
1
vote
1 answer

add generateAppStoreInformation in exportOptions.plist file in Fastfile

I am trying to add generateAppStoreInformation as true in exportOptions.plist. but it is showing this error : What is best way and command to add generateAppStoreInformation in fastlane file. What is the exact syntax to add…
ios developer
  • 3,363
  • 3
  • 51
  • 111
1
vote
1 answer

Incorporating Jazzy documentation generator with Fastlane

I've been able to produce jazzy documentation for my iOS/swift projects and frameworks locally. I'd like to start producing them via Fastlane so that they get updated automatically when they get built on a Jenkins job. I haven't been able to find…
1
vote
1 answer

How to write message to Mattermost using Fastlane?

How do I write a message to Mattermost using Fastlane ? Below is my trial. I got most from this link. What is still wrong ? (of course, I replaced the MATTERMOST_WEBHOOK_URL by the actual value that I established in Mattermost). In the link above, I…
iKK
  • 6,394
  • 10
  • 58
  • 131
1
vote
0 answers

How to setup build number as a pipeline id in fastlane?

This is what I currently have in Fastfile: def build(target_name) cocoapods cert sigh if ENV['CI_PIPELINE_ID'] increment_build_number(build_number: "#{ENV['CI_PIPELINE_ID']}") end build_app( scheme: target_name, …
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
0
votes
0 answers

Do I need to use individual fastlane metadata files?

Do I need to supply individual metadata files if I am using Deliverfile? Can't I supply all the values found in the metadata files - can't I provide them inside the Deliverfile?
Steve Kennedy
  • 5,312
  • 3
  • 26
  • 41
1
2