@@ -2,7 +2,7 @@ name: "Coder Desktop"
22options :
33 bundleIdPrefix : com.coder
44 deploymentTarget :
5- macOS : " 14.6 "
5+ macOS : " 14.0 "
66 xcodeVersion : " 1600"
77 minimumXcodeGenVersion : " 2.42.0"
88
@@ -114,7 +114,7 @@ targets:
114114 path : Coder Desktop/Coder_Desktop.entitlements
115115 properties :
116116 com.apple.developer.networking.networkextension :
117- - packet-tunnel-provider
117+ - packet-tunnel-provider${PTP_SUFFIX}
118118 com.apple.developer.system-extension.install : true
119119 com.apple.security.app-sandbox : true
120120 com.apple.security.files.user-selected.read-only : true
@@ -135,6 +135,8 @@ targets:
135135 INFOPLIST_KEY_NSHumanReadableCopyright : " "
136136 SWIFT_EMIT_LOC_STRINGS : YES
137137 PRODUCT_BUNDLE_IDENTIFIER : " com.coder.Coder-Desktop"
138+ # Populated from environment variables at `xcodebuild` time
139+ PROVISIONING_PROFILE_SPECIFIER : $CODER_APP_PROFILE
138140
139141 # (ThomasK33): Install the application into the /Applications folder
140142 # so that macOS stops complaining about the app being run from an
@@ -146,7 +148,7 @@ targets:
146148 dependencies :
147149 - target : CoderSDK
148150 embed : true
149- - target : VPNXPC
151+ - target : VPNLib
150152 embed : true
151153 - target : VPN
152154 embed : without-signing # Embed without signing.
@@ -200,7 +202,8 @@ targets:
200202 path : VPN/VPN.entitlements
201203 properties :
202204 com.apple.developer.networking.networkextension :
203- - packet-tunnel-provider
205+ # PTP_SUFFIX is populated at `xcodegen` time.
206+ - packet-tunnel-provider${PTP_SUFFIX}
204207 com.apple.security.app-sandbox : true
205208 com.apple.security.application-groups :
206209 - $(TeamIdentifierPrefix)com.coder.Coder-Desktop
@@ -215,13 +218,13 @@ targets:
215218 PRODUCT_NAME : " $(PRODUCT_BUNDLE_IDENTIFIER)"
216219 SWIFT_EMIT_LOC_STRINGS : YES
217220 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
218223 dependencies :
219224 - target : VPNLib
220225 embed : true
221226 - target : CoderSDK
222227 embed : true
223- - target : VPNXPC
224- embed : true
225228 - sdk : NetworkExtension.framework
226229
227230 VPNLib :
@@ -281,6 +284,8 @@ targets:
281284 DYLIB_COMPATIBILITY_VERSION : 1
282285 DYLIB_CURRENT_VERSION : 1
283286 DYLIB_INSTALL_NAME_BASE : " @rpath"
287+ CODE_SIGN_IDENTITY : " Apple Development"
288+ CODE_SIGN_STYLE : Automatic
284289 scheme :
285290 testTargets :
286291 - CoderSDKTests
0 commit comments