Skip to content

Commit f9d3b75

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

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
@@ -79,7 +79,9 @@ export const packageIosAction = async (
7979

8080
// 2) Merge the .framework outputs of the framework target
8181
const productsPath = path.join(buildFolder, 'Build', 'Products');
82-
const { packageDir: frameworkTargetOutputDir } = getBuildPaths('ios');
82+
const frameworkTargetOutputDir = args.buildFolder
83+
? path.join(args.buildFolder, 'package')
84+
: getBuildPaths('ios').packageDir;
8385
const { sourceDir } = iosConfig;
8486

8587
await mergeFrameworks({

0 commit comments

Comments
 (0)