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)
- [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.
- TestFairy Action Fails with NoMethodError for key? Method on String
- Unable to ^C in response to 'Could not find fastlane ... Would you like to set fastlane up?'
- Match CLI Doc wrong? HOT 1
- [Sigh] Creating tvos provisioning profile fails when fetching devices. HOT 1
- `fastlane build_app` does not apply Flutter Flavor / Xcode Scheme HOT 1
- `fastlane match appstore` fails when generating tvOS profile HOT 2
- cert blocks sig 9
- You appear to have CocoaPods installed but it is not working. HOT 1
- exportArchive app requires a provisioning profile with the Access Wi-Fi Information, Hotspot, and Push Notifications features. HOT 1
- Match development with Appstore Connect API KEY fails due unexpected token error if there are more 18 bundle ids in matchfile
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.