File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
packages/cli/src/brownfield/commands Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ export const packageIosCommand = curryOptions(
5555 // therefore we resolve it manually from RN's package.json using Rock's utils
5656 reactNativeVersion : getReactNativeVersion ( projectRoot ) ,
5757 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
5865 } ,
5966 platformConfig
6067 ) ;
You can’t perform that action at this time.
0 commit comments