Comments (1)
I had this same issue. Here is what my code looked like:
lane :build do
# add actions here: https://docs.fastlane.tools/actions
# app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
api_key = lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
setup_ci
match(type: 'appstore', readonly: is_ci)
# sync_code_signing(type: "Appstore")
build_app(
scheme: "File Editor",
clean: true,
output_directory: 'fastlane_builds/'
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
xcodeproj: "File\ Editor.xcodeproj"
)
upload_to_testflight
end
When I moved the increment_build_number block up above the build, everything was ok.
lane :build do
# add actions here: https://docs.fastlane.tools/actions
# app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
api_key = lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
setup_ci
match(type: 'appstore', readonly: is_ci)
# sync_code_signing(type: "appstore")
increment_build_number(
build_number: latest_testflight_build_number + 1,
xcodeproj: "File\ Editor.xcodeproj"
)
build_app(
scheme: "File Editor",
clean: true,
output_directory: 'fastlane_builds/'
)
upload_to_testflight
end
Here is a copy of my project if you want to see how I did this with GitLab CI: https://gitlab.com/honeydue/mobile-development/file-editor and you can see in this pipeline that the number is incremented and uploaded: https://gitlab.com/honeydue/mobile-development/file-editor/-/jobs/3590869185
from fastlane.
Related Issues (20)
- android - Invalid request HOT 2
- match encryption is outdated and doesn't guarantee it detects invalid passwords. Causes flaky test. HOT 9
- Snapshot not working when using SwiftUI / UIKit Map and significant number of annotations
- latest_testflight_build_number does not return highest build number, but the most recent one
- xcodebuild -showBuildSettings produces weird errors on stderr
- No code signing identity found and can not create a new one because you enabled `readonly` HOT 8
- Can't able to set privacy_url via upload_to_app_store for iOS.
- display_name value is not working as expected if i add special character reference inside it.
- bundled ox breaks bundle console
- Code Signing of iOS IPA is very unreliable on GitLab CI/CD HOT 2
- I have a Spaceship Login question and I need your help
- Missing ffi library in tests on Ruby 3.1 on Windows HOT 1
- "fastlane snapshot reset_simulators" no longer deletes simulators HOT 1
- fastlane does not like GCS buckets with manually created folders
- [iOS] deliver action error | altool - Unable to upload archive | Failed to generate JWT token HOT 2
- Can't upload screenshot by deliver: An exception occurred for locale: en-US. Check the screenshot requirements here HOT 3
- Failed to open TCP connection to www.googleapis.com:443 HOT 1
- Unexpected token when using appstore connect api key as json file
- Deliver fails to create a new app version on App Store Connect HOT 18
- testflight Action Fails with Error -1010 on CI/Jenkins After Updating to Xcode 15 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.