@@ -2,7 +2,7 @@ name: "Coder Desktop"
2
2
options :
3
3
bundleIdPrefix : com.coder
4
4
deploymentTarget :
5
- macOS : " 14.6 "
5
+ macOS : " 14.0 "
6
6
xcodeVersion : " 1600"
7
7
minimumXcodeGenVersion : " 2.42.0"
8
8
@@ -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
@@ -135,6 +135,8 @@ targets:
135
135
INFOPLIST_KEY_NSHumanReadableCopyright : " "
136
136
SWIFT_EMIT_LOC_STRINGS : YES
137
137
PRODUCT_BUNDLE_IDENTIFIER : " com.coder.Coder-Desktop"
138
+ # Populated from environment variables at `xcodebuild` time
139
+ PROVISIONING_PROFILE_SPECIFIER : $CODER_APP_PROFILE
138
140
139
141
# (ThomasK33): Install the application into the /Applications folder
140
142
# so that macOS stops complaining about the app being run from an
@@ -146,7 +148,7 @@ targets:
146
148
dependencies :
147
149
- target : CoderSDK
148
150
embed : true
149
- - target : VPNXPC
151
+ - target : VPNLib
150
152
embed : true
151
153
- target : VPN
152
154
embed : without-signing # Embed without signing.
@@ -200,7 +202,8 @@ targets:
200
202
path : VPN/VPN.entitlements
201
203
properties :
202
204
com.apple.developer.networking.networkextension :
203
- - packet-tunnel-provider
205
+ # PTP_SUFFIX is populated at `xcodegen` time.
206
+ - packet-tunnel-provider${PTP_SUFFIX}
204
207
com.apple.security.app-sandbox : true
205
208
com.apple.security.application-groups :
206
209
- $(TeamIdentifierPrefix)com.coder.Coder-Desktop
@@ -215,13 +218,13 @@ targets:
215
218
PRODUCT_NAME : " $(PRODUCT_BUNDLE_IDENTIFIER)"
216
219
SWIFT_EMIT_LOC_STRINGS : YES
217
220
SWIFT_OBJC_BRIDGING_HEADER : " VPN/com_coder_Coder_Desktop_VPN-Bridging-Header.h"
221
+ # Populated from environment variables at `xcodebuild` time
222
+ PROVISIONING_PROFILE_SPECIFIER : $CODER_EXT_PROFILE
218
223
dependencies :
219
224
- target : VPNLib
220
225
embed : true
221
226
- target : CoderSDK
222
227
embed : true
223
- - target : VPNXPC
224
- embed : true
225
228
- sdk : NetworkExtension.framework
226
229
227
230
VPNLib :
@@ -281,6 +284,8 @@ targets:
281
284
DYLIB_COMPATIBILITY_VERSION : 1
282
285
DYLIB_CURRENT_VERSION : 1
283
286
DYLIB_INSTALL_NAME_BASE : " @rpath"
287
+ CODE_SIGN_IDENTITY : " Apple Development"
288
+ CODE_SIGN_STYLE : Automatic
284
289
scheme :
285
290
testTargets :
286
291
- CoderSDKTests
0 commit comments