@@ -135,8 +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
138+ # Populated from environment variable during `xcodegen`
139+ PROVISIONING_PROFILE_SPECIFIER : ${APP_PROVISIONING_PROFILE_ID}
140140
141141 # (ThomasK33): Install the application into the /Applications folder
142142 # so that macOS stops complaining about the app being run from an
@@ -148,7 +148,7 @@ targets:
148148 dependencies :
149149 - target : CoderSDK
150150 embed : true
151- - target : VPNLib
151+ - target : VPNXPC
152152 embed : true
153153 - target : VPN
154154 embed : without-signing # Embed without signing.
@@ -218,13 +218,16 @@ targets:
218218 PRODUCT_NAME : " $(PRODUCT_BUNDLE_IDENTIFIER)"
219219 SWIFT_EMIT_LOC_STRINGS : YES
220220 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
221+ CODE_SIGN_IDENTITY : " Apple Development"
222+ CODE_SIGN_STYLE : Automatic
223+ PROVISIONING_PROFILE_SPECIFIER : ${EXT_PROVISIONING_PROFILE_ID}
223224 dependencies :
224225 - target : VPNLib
225226 embed : true
226227 - target : CoderSDK
227228 embed : true
229+ - target : VPNXPC
230+ embed : true
228231 - sdk : NetworkExtension.framework
229232
230233 VPNLib :
@@ -240,8 +243,6 @@ targets:
240243 DYLIB_COMPATIBILITY_VERSION : 1
241244 DYLIB_CURRENT_VERSION : 1
242245 DYLIB_INSTALL_NAME_BASE : " @rpath"
243- CODE_SIGN_IDENTITY : " Apple Development"
244- CODE_SIGN_STYLE : Automatic
245246 LD_RUNPATH_SEARCH_PATHS :
246247 - " @executable_path/../Frameworks"
247248 - " @loader_path/Frameworks"
@@ -284,8 +285,6 @@ targets:
284285 DYLIB_COMPATIBILITY_VERSION : 1
285286 DYLIB_CURRENT_VERSION : 1
286287 DYLIB_INSTALL_NAME_BASE : " @rpath"
287- CODE_SIGN_IDENTITY : " Apple Development"
288- CODE_SIGN_STYLE : Automatic
289288 scheme :
290289 testTargets :
291290 - CoderSDKTests
0 commit comments