fix: version number mismatch between iOS and Watch apps#700
Merged
dnzxy merged 1 commit intonightscout:devfrom Aug 11, 2025
Merged
Conversation
All app targets (Watch App, Watch Complication, Live Activity) now use version numbers from Config.xcconfig instead of hardcoded values. Changed: - MARKETING_VERSION from "1.0" to "$(APP_VERSION)" - CURRENT_PROJECT_VERSION from "1" to "$(APP_BUILD_NUMBER)" This ensures all targets use the same version (0.5.0) and build number, preventing Xcode Cloud build failures due to version mismatches. Fixes #10
Contributor
|
Was the last commit pushed to the wrong branch? |
Contributor
Author
|
Jup, shitttt |
eae2e09 to
d81e139
Compare
Contributor
Author
|
@bjornoleh THANKS! Doing a lot at the same time. SO thanks for looking out. It is fixed now. |
dnzxy
approved these changes
Aug 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
When building via Xcode Cloud, the build fails with:
Solution
Updated all app targets (Watch App, Watch Complication, Live Activity) to use version numbers from
Config.xcconfiginstead of hardcoded values:MARKETING_VERSIONfrom1.0to$(APP_VERSION)CURRENT_PROJECT_VERSIONfrom1to$(APP_BUILD_NUMBER)This ensures all targets inherit the same version configuration from the central config file.
Test plan