We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbb2a2e commit 80ccb79Copy full SHA for 80ccb79
1 file changed
packages/cli/src/brownfield/commands/packageIos.ts
@@ -55,6 +55,13 @@ export const packageIosCommand = curryOptions(
55
// therefore we resolve it manually from RN's package.json using Rock's utils
56
reactNativeVersion: getReactNativeVersion(projectRoot),
57
usePrebuiltRNCore: 0, // for brownfield, it is required to build RN from source
58
+ // below: RN CLI config detection in Rock depends on the existence of a Rock config file;
59
+ // the below is an escape hatch to provide the config manually and escape Rock's config-dependent logic
60
+ iosConfigOverride: {
61
+ sourceDir: userConfig.project.ios.sourceDir,
62
+ xcodeProject: userConfig.project.ios.xcodeProject,
63
+ },
64
+ skipCache: true, // cache is dependent on existence of Rock config file
65
},
66
platformConfig
67
);
0 commit comments