Set version fields to use Xcode build settings
Seto Elkahfi committed
May 14, 2026 at 19:15 UTC
f26b959328116d3649457a033385204a5374bb2e
3 files changed
+7
-11
Klepon.xcodeproj/xcshareddata/xcschemes/Klepon Watch.xcscheme
+3
-9
@@ -1,11 +1,10 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<Scheme
3
LastUpgradeVersion = "2600"
4
- version = "1.7">
4
+ version = "1.3">
5
<BuildAction
6
parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES"
8
- runPostActionsOnFailure = "NO">
7
+ buildImplicitDependencies = "YES">
8
<BuildActionEntries>
9
<BuildActionEntry
10
buildForTesting = "YES"
@@ -27,8 +26,7 @@
26
buildConfiguration = "Debug"
27
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30
- shouldUseLaunchSchemeArgsEnv = "YES"
31
- onlyGenerateCoverageForSpecifiedTargets = "NO">
29
+ shouldUseLaunchSchemeArgsEnv = "YES">
30
<MacroExpansion>
31
<BuildableReference
32
BuildableIdentifier = "primary"
@@ -61,8 +59,6 @@
59
ReferencedContainer = "container:Klepon.xcodeproj">
60
</BuildableReference>
61
</BuildableProductRunnable>
64
- <CommandLineArguments>
65
- </CommandLineArguments>
62
</LaunchAction>
63
<ProfileAction
64
buildConfiguration = "Release"
@@ -80,8 +76,6 @@
76
ReferencedContainer = "container:Klepon.xcodeproj">
77
</BuildableReference>
78
</BuildableProductRunnable>
83
- <CommandLineArguments>
84
- </CommandLineArguments>
79
</ProfileAction>
80
<AnalyzeAction
81
buildConfiguration = "Debug">
Klepon/Info.plist
+2
-2
@@ -15,9 +15,9 @@
15
<key>CFBundlePackageType</key>
16
<string>APPL</string>
17
<key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
18
+ <string>$(MARKETING_VERSION)</string>
19
<key>CFBundleVersion</key>
20
- <string>1</string>
20
+ <string>$(CURRENT_PROJECT_VERSION)</string>
21
<key>ITSAppUsesNonExemptEncryption</key>
22
<false/>
23
<key>UIApplicationSceneManifest</key>
project.yml
+2
@@ -47,6 +47,8 @@ targets:
47
info:
48
path: Klepon/Info.plist
49
properties:
50
+ CFBundleShortVersionString: $(MARKETING_VERSION)
51
+ CFBundleVersion: $(CURRENT_PROJECT_VERSION)
52
ITSAppUsesNonExemptEncryption: false
53
UILaunchScreen: {}
54
UIApplicationSceneManifest: