@@ -114,7 +114,7 @@ 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.app-sandbox : true
120
120
com.apple.security.files.user-selected.read-only : true
@@ -125,6 +125,7 @@ targets:
125
125
base :
126
126
ASSETCATALOG_COMPILER_APPICON_NAME : AppIcon # Sets the app icon to "AppIcon".
127
127
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME : AccentColor
128
+ # `CODE_SIGN_*` options are overriden during a release build
128
129
CODE_SIGN_IDENTITY : " Apple Development"
129
130
CODE_SIGN_STYLE : Automatic
130
131
COMBINE_HIDPI_IMAGES : YES
@@ -135,6 +136,8 @@ targets:
135
136
INFOPLIST_KEY_NSHumanReadableCopyright : " "
136
137
SWIFT_EMIT_LOC_STRINGS : YES
137
138
PRODUCT_BUNDLE_IDENTIFIER : " com.coder.Coder-Desktop"
139
+ # Empty outside of release builds
140
+ PROVISIONING_PROFILE_SPECIFIER : ${APP_PROVISIONING_PROFILE_ID}
138
141
139
142
# (ThomasK33): Install the application into the /Applications folder
140
143
# so that macOS stops complaining about the app being run from an
@@ -200,12 +203,15 @@ targets:
200
203
path : VPN/VPN.entitlements
201
204
properties :
202
205
com.apple.developer.networking.networkextension :
203
- - packet-tunnel-provider
206
+ # PTP_SUFFIX is populated at `xcodegen` time.
207
+ - packet-tunnel-provider${PTP_SUFFIX}
204
208
com.apple.security.app-sandbox : true
205
209
com.apple.security.application-groups :
206
210
- $(TeamIdentifierPrefix)com.coder.Coder-Desktop
207
211
com.apple.security.network.client : true
208
212
com.apple.security.network.server : true
213
+ # TODO: Remove this
214
+ com.apple.security.cs.disable-library-validation : true
209
215
settings :
210
216
base :
211
217
ENABLE_HARDENED_RUNTIME : YES
@@ -215,6 +221,11 @@ targets:
215
221
PRODUCT_NAME : " $(PRODUCT_BUNDLE_IDENTIFIER)"
216
222
SWIFT_EMIT_LOC_STRINGS : YES
217
223
SWIFT_OBJC_BRIDGING_HEADER : " VPN/com_coder_Coder_Desktop_VPN-Bridging-Header.h"
224
+ # `CODE_SIGN_*` are overriden during a release build
225
+ CODE_SIGN_IDENTITY : " Apple Development"
226
+ CODE_SIGN_STYLE : Automatic
227
+ # Empty outside of release builds
228
+ PROVISIONING_PROFILE_SPECIFIER : ${EXT_PROVISIONING_PROFILE_ID}
218
229
dependencies :
219
230
- target : VPNLib
220
231
embed : true
@@ -235,8 +246,6 @@ targets:
235
246
DYLIB_COMPATIBILITY_VERSION : 1
236
247
DYLIB_CURRENT_VERSION : 1
237
248
DYLIB_INSTALL_NAME_BASE : " @rpath"
238
- CODE_SIGN_IDENTITY : " Apple Development"
239
- CODE_SIGN_STYLE : Automatic
240
249
LD_RUNPATH_SEARCH_PATHS :
241
250
- " @executable_path/../Frameworks"
242
251
- " @loader_path/Frameworks"
@@ -297,4 +306,4 @@ targets:
297
306
settings :
298
307
base :
299
308
TEST_HOST : " $(BUILT_PRODUCTS_DIR)/Coder Desktop.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Coder Desktop"
300
- PRODUCT_BUNDLE_IDENTIFIER : com.coder.Coder-Desktop.CoderSDKTests
309
+ PRODUCT_BUNDLE_IDENTIFIER : com.coder.Coder-Desktop.CoderSDKTests
0 commit comments