Questions tagged [fastlane-gym]

62 questions
2
votes
0 answers

Why won't xcodebuild use my provisioning profiles?

I have a GitHub Action that builds my app and uploads it to TestFlight automatically. Ever since I added a Notification Service extension, I've been having issues with building the app. I have been using Fastlane, but I boiled the issue down to the…
2
votes
0 answers

How do I fix `Provisioning profile doesn't include entitlements` for a fastlane deployment with multiple targets

I have an app, with some additional targets (e.g. Siri, Widgets, push etc). My fastlane deploy step looks like this: lane :build do |options| match( app_identifier: [ ENV['IOS_APP_ID'], ENV['SIRI_BUNDLE_ID'], …
MDalt
  • 1,681
  • 2
  • 24
  • 46
2
votes
1 answer

Fastlane cannot get console size while init

just start my first steps with Fastlane but when running this command fastlane init I received this message $ fastlane init [02:33:16]: Detected an Android project in the current directory... Looking for related GitHub issues on…
2
votes
1 answer

Fastlane, deploy iOS, fatal error YogaKit.modulemap not found

I want to deploy my react-native application with Fastlane to TestFlight, where I get the follwing error Compiling main.m fatal error: module map…
Amir-Mousavi
  • 4,273
  • 12
  • 70
  • 123
2
votes
0 answers

App Center: In-app updates disabled: This release was either side-loaded or downloaded using a browser in private mode

When using fastlane to generate an Enterprise ipa with the following fastlane code platform :ios do desc "Create ipa for Enterprise distribution" lane :generate_ipa do gym scheme: 'SchemeName', configuration: 'Release', …
Soja
  • 514
  • 6
  • 13
2
votes
2 answers

Changing version and build number for a specific target Fastlane

I am trying to implement Fastlane into a Xcode project containing over 30 apps. At this moment I am stuck with the lane that builds the app for the "AppStore" as it has to change the version and the build number for a specific target. The code for…
Reimond Hill
  • 4,278
  • 40
  • 52
2
votes
1 answer

How to change the build configuration in Fastlane - via gym , build _app or xcodebuild

We have four build configuration in the scheme - QA, Pre prod, Staging, Releasing with different BaseUrl, I am just trying to change this build configuration via Fastlane gym command but it fails, bu default it is taking the one which is selected…
2
votes
2 answers

iOS app fails to build in fastlane but works in Xcode

I'm building a React Native app and am using Fastlane to manage my signing, building and deployment. I'm trying to build an ad-hoc package but each time I run the build using Fastlane gym, I get an error message about a missing header file. The…
Mourndark
  • 2,526
  • 5
  • 28
  • 52
2
votes
1 answer

Build number is not set by fastlane, but is set by Xcode

I have setup my project to use a run script that automatically sets the build number based on the amount of commits I have in my main branch: The entire script, should that help any: #!/bin/bash # update_build_number.sh # Usage:…
CodeBender
  • 35,668
  • 12
  • 125
  • 132
2
votes
2 answers

When specifying provisioning profile in fastlane gym for ios do i supply the profile name or the path to the file?

How do I set the provisioning profile int he export_options for gym in fastlane? I have my profiles in my Documents folder. Does gym automatically locates it or I need to specify the path to the file? I know using match is the preferred way but…
Karias Bolster
  • 955
  • 3
  • 17
  • 31
2
votes
1 answer

Fastlane not working when creating ipa with gym

I'm using Fastlane to automatically generate an IPA. I have a provisioning profile and a production certificate from a team of which I am a member (but not an administrator). The problem arises when I try to generate the IPA with Fastlane, which…
Jaime Alcántara Arnela
  • 2,062
  • 5
  • 25
  • 56
2
votes
0 answers

Fastlane:iOS How to set up p12 certificate and PP file manually

I am a new user of fastlane and stackoverflow,if there is any problem, please forgive me. my developer p12 and pp file are created by Apple ID A, distribution p12 and pp file are created by Apple ID B, i got an apple ID C to public applictions. All…
Tara
  • 21
  • 2
2
votes
2 answers

Fastlane - Override output name

I build with fastlane ios lanename but for integration into Jenkins want to override the output file name. By default output names are defined in the Fastfile gym options but I want to add version and build number to the filename in Jenkins. However…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
1
vote
0 answers

CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK"

I'm using Fastlane with unity plugin and gym. After unity step I have a Podfile with pods: source 'https://cdn.cocoapods.org/' platform :ios, '11.0' target 'UnityFramework' do pod 'AppLovinMediationGoogleAdapter', '10.6.0.0' pod…
1
vote
0 answers

Github Actions self hosted local macOS machine iOS build failing with "The device is passcode protected"

I'm using GitHub self hosted actions to run on my local dev machine to save the free credits when my machine is running. It works most of the time but sometimes it gets stuck with this error: ▸ Compiling CapacitorCamera_vers.c ▸ Compiling…