mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #109] Unable to build master / auto-bump build number #79
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JoniVR on GitHub (Jul 2, 2019).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/109
I'm unable to build the current master.
I suspect the issue is related to the recent change in both
Info.plistfiles. The$(CURRENT_PROJECT_VERSION)is mentioned in the error.Can anyone confirm this? Or is it just me?
@the0neyouseek @reitermarkus
We could really use #5
@JoniVR commented on GitHub (Jul 2, 2019):
May have found a solution:https://stackoverflow.com/a/56481486/6863743
edit: that didn't actually work.
What worked for me was to run
manually in the console to increase the build number and then discard the changes to the 2 updated info.plist files. Now it builds just fine again.. weird
@JoniVR commented on GitHub (Aug 27, 2019):
Apparently I'm not the only person facing this issue. See discussion in #116.
@robertbressi commented on GitHub (Aug 30, 2019):
Adding relevant comment from #116:
@robertbressi commented on GitHub (Aug 31, 2019):
Build numbers are generally intended to identify when a "formal" build has been made, usually by CI. They aren't really relevant for individual contributors making day-to-day changes to the code. They're great to differentiate releases in an enterprise environment where there could be multiple builds of the same release version kicking around in QA and various stages of testing.
In fact, there are examples of fairly big open-source Swift projects (e.g.: https://github.com/kickstarter/ios-oss) which don't even bother with build number - they just set it to a static number and use version numbers to differentiate different releases of the product to users and developers.
I think, in the meantime before #5 is implemented, you should just get rid of the auto-incrementing build number script and do a manual commit before each release to bump up the build number (optionally) and the version string.
@JoniVR commented on GitHub (Sep 15, 2019):
Fixed temporarily by reverting back to using the build number inside the plist. Might need a better solution in the future when we move to CI/CD, going to consider it closed for now.