Skip to content

Commit 48da76a

Browse files
committed
feat: make args.buildFolder override getBuildPaths in iOS brownfield plugin to work with non-Rock projects
1 parent f4b8611 commit 48da76a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/plugin-brownfield-ios/src/lib/pluginBrownfieldIos.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ export const packageIosAction = async (
7474

7575
// 2) Merge the .framework outputs of the framework target
7676
const productsPath = path.join(buildFolder, 'Build', 'Products');
77-
const { packageDir: frameworkTargetOutputDir } = getBuildPaths('ios');
77+
const frameworkTargetOutputDir = args.buildFolder
78+
? path.join(args.buildFolder, 'package')
79+
: getBuildPaths('ios').packageDir;
7880
const { sourceDir } = iosConfig;
7981

8082
await mergeFrameworks({

0 commit comments

Comments
 (0)