Comments (12)
If I include the version in the Deliverfile
if it works ... This is correct?
from fastlane.
Well, it should fetch the version number from the ipa
file. Looks like deliver
has issues detecting the version number.
from fastlane.
Might be caused by too many plist files:
I need more information about the extracted ipa file to solve this problem.
from fastlane.
I can see in generated ipa
file there are some plist
files:
- For own consumption of the app in the root of
.app
folder - Inside each storyboards of the app
- In the localization folders (
en.lproj
,es.lproj
...) - And only one Info.plist in the root folder with the relevant information
CFBundleShortVersionString
,CFBundleVersion
...
This information can help you?
from fastlane.
Same here with last fastlane version
from fastlane.
Sorry about that, you can pass the version number manually and provide your own automatic detection of the version number using PlistBuddy
π
from fastlane.
It's possible to send version as parameter? Or we should update DeliverFile programmatically?
from fastlane.
Yes, of course: https://github.com/KrauseFx/deliver/blob/master/Deliverfile.md#version
Just add
version "1.0"
or something like
version File.read("file.txt")
or your own script
from fastlane.
Oh, nice approach! Maybe I'll do one action for that :)
Finally I used these two lines:
FastFile:
before_all do |lane|
system("/usr/libexec/plistbuddy -c Print:CFBundleShortVersionString '../myProject-Info.plist' > ./app_version.txt")
end
DeliverFile (as you said @KrauseFx):
version File.read('./app_version.txt')
In my case, I added fastlane/app_version.txt
to my .gitignore, opinions?
from fastlane.
Change it to just
version `"/usr/libexec/plistbuddy -c Print:CFBundleShortVersionString '../myProject-Info.plist'`
and remove the before_all
π
from fastlane.
π
from fastlane.
This is also improved with the latest version π
from fastlane.
Related Issues (20)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 8
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device)
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.