@@ -57,6 +57,11 @@ export function createRepackBuildFunction(): BuildFunction {
5757 allowedValueTypeName : BuildStepInputValueTypeName . BOOLEAN ,
5858 required : false ,
5959 } ) ,
60+ BuildStepInput . createProvider ( {
61+ id : 'ios_signing_with_app_entitlements' ,
62+ allowedValueTypeName : BuildStepInputValueTypeName . BOOLEAN ,
63+ required : false ,
64+ } ) ,
6065 BuildStepInput . createProvider ( {
6166 id : 'repack_version' ,
6267 allowedValueTypeName : BuildStepInputValueTypeName . STRING ,
@@ -138,6 +143,7 @@ export function createRepackBuildFunction(): BuildFunction {
138143 iosSigningOptions : await resolveIosSigningOptionsAsync ( {
139144 job : stepsCtx . global . staticContext . job ,
140145 logger : stepsCtx . logger ,
146+ inputs,
141147 } ) ,
142148 logger : stepsCtx . logger ,
143149 spawnAsync : repackSpawnAsync ,
@@ -275,9 +281,11 @@ export async function resolveAndroidSigningOptionsAsync({
275281export async function resolveIosSigningOptionsAsync ( {
276282 job,
277283 logger,
284+ inputs,
278285} : {
279286 job : Job ;
280287 logger : bunyan ;
288+ inputs : { [ key : string ] : { value : unknown } } ;
281289} ) : Promise < IosSigningOptions | undefined > {
282290 const iosJob = job as Ios . Job ;
283291 const buildCredentials = iosJob . secrets ?. buildCredentials ;
@@ -295,5 +303,6 @@ export async function resolveIosSigningOptionsAsync({
295303 provisioningProfile,
296304 keychainPath : credentials . keychainPath ,
297305 signingIdentity : credentials . applicationTargetProvisioningProfile . data . certificateCommonName ,
306+ useAppEntitlements : inputs . ios_signing_with_app_entitlements ?. value as boolean | undefined ,
298307 } ;
299308}
0 commit comments