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)
- Having issues with provisioning profiles HOT 1
- ARCHIVE FAILED The following build commands failed: ...(in target 'React-rncore' from project 'Pods') HOT 10
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
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.