8
8
9
9
settings :
10
10
base :
11
- MARKETING_VERSION : " 1.0 " # Sets the version number.
12
- CURRENT_PROJECT_VERSION : " 1 " # Sets the build number.
11
+ MARKETING_VERSION : ${MARKETING_VERSION} # Sets the version number.
12
+ CURRENT_PROJECT_VERSION : ${CURRENT_PROJECT_VERSION} # Sets the build number.
13
13
14
14
ALWAYS_SEARCH_USER_PATHS : NO
15
15
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS : YES
@@ -114,14 +114,15 @@ targets:
114
114
path : Coder Desktop/Coder_Desktop.entitlements
115
115
properties :
116
116
com.apple.developer.networking.networkextension :
117
- - packet-tunnel-provider
117
+ - packet-tunnel-provider${PTP_SUFFIX}
118
118
com.apple.developer.system-extension.install : true
119
119
com.apple.security.application-groups :
120
120
- $(TeamIdentifierPrefix)com.coder.Coder-Desktop
121
121
settings :
122
122
base :
123
123
ASSETCATALOG_COMPILER_APPICON_NAME : AppIcon # Sets the app icon to "AppIcon".
124
124
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME : AccentColor
125
+ # `CODE_SIGN_*` options are overriden during a release build
125
126
CODE_SIGN_IDENTITY : " Apple Development"
126
127
CODE_SIGN_STYLE : Automatic
127
128
COMBINE_HIDPI_IMAGES : YES
@@ -132,6 +133,8 @@ targets:
132
133
INFOPLIST_KEY_NSHumanReadableCopyright : " "
133
134
SWIFT_EMIT_LOC_STRINGS : YES
134
135
PRODUCT_BUNDLE_IDENTIFIER : " com.coder.Coder-Desktop"
136
+ # Empty outside of release builds
137
+ PROVISIONING_PROFILE_SPECIFIER : ${APP_PROVISIONING_PROFILE_ID}
135
138
136
139
# (ThomasK33): Install the application into the /Applications folder
137
140
# so that macOS stops complaining about the app being run from an
@@ -197,7 +200,8 @@ targets:
197
200
path : VPN/VPN.entitlements
198
201
properties :
199
202
com.apple.developer.networking.networkextension :
200
- - packet-tunnel-provider
203
+ # PTP_SUFFIX is populated at `xcodegen` time.
204
+ - packet-tunnel-provider${PTP_SUFFIX}
201
205
com.apple.security.app-sandbox : true
202
206
com.apple.security.application-groups :
203
207
- $(TeamIdentifierPrefix)com.coder.Coder-Desktop
@@ -212,6 +216,11 @@ targets:
212
216
PRODUCT_NAME : " $(PRODUCT_BUNDLE_IDENTIFIER)"
213
217
SWIFT_EMIT_LOC_STRINGS : YES
214
218
SWIFT_OBJC_BRIDGING_HEADER : " VPN/com_coder_Coder_Desktop_VPN-Bridging-Header.h"
219
+ # `CODE_SIGN_*` are overriden during a release build
220
+ CODE_SIGN_IDENTITY : " Apple Development"
221
+ CODE_SIGN_STYLE : Automatic
222
+ # Empty outside of release builds
223
+ PROVISIONING_PROFILE_SPECIFIER : ${EXT_PROVISIONING_PROFILE_ID}
215
224
dependencies :
216
225
- target : VPNLib
217
226
embed : true
@@ -232,8 +241,6 @@ targets:
232
241
DYLIB_COMPATIBILITY_VERSION : 1
233
242
DYLIB_CURRENT_VERSION : 1
234
243
DYLIB_INSTALL_NAME_BASE : " @rpath"
235
- CODE_SIGN_IDENTITY : " Apple Development"
236
- CODE_SIGN_STYLE : Automatic
237
244
LD_RUNPATH_SEARCH_PATHS :
238
245
- " @executable_path/../Frameworks"
239
246
- " @loader_path/Frameworks"
@@ -294,4 +301,4 @@ targets:
294
301
settings :
295
302
base :
296
303
TEST_HOST : " $(BUILT_PRODUCTS_DIR)/Coder Desktop.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Coder Desktop"
297
- PRODUCT_BUNDLE_IDENTIFIER : com.coder.Coder-Desktop.CoderSDKTests
304
+ PRODUCT_BUNDLE_IDENTIFIER : com.coder.Coder-Desktop.CoderSDKTests
0 commit comments