diff --git a/scripts/generate-react-native-fixture.js b/scripts/generate-react-native-fixture.js index 8640b75c2..fe841d28e 100644 --- a/scripts/generate-react-native-fixture.js +++ b/scripts/generate-react-native-fixture.js @@ -61,7 +61,7 @@ if (!process.env.SKIP_GENERATE_FIXTURE) { } // create the test fixture - const RNInitArgs = [`react-native@${process.env.RN_VERSION}`, 'init', 'reactnative', '--directory', fixtureDir, '--version', reactNativeVersion, '--npm', '--skip-install'] + const RNInitArgs = ['@react-native-community/cli@latest', 'init', 'reactnative', '--directory', fixtureDir, '--version', reactNativeVersion, '--npm', '--skip-install'] execFileSync('npx', RNInitArgs, { stdio: 'inherit' }) replaceGeneratedFixtureFiles() @@ -91,9 +91,6 @@ if (process.env.BUILD_ANDROID === 'true' || process.env.BUILD_ANDROID === '1') { if (process.env.BUILD_IOS === 'true' || process.env.BUILD_IOS === '1') { fs.rmSync(`${fixtureDir}/reactnative.xcarchive`, { recursive: true, force: true }) - // bundle install - execFileSync('bundle', ['install'], { cwd: `${fixtureDir}/ios`, stdio: 'inherit' }) - // install pods execFileSync('pod', ['install'], { cwd: `${fixtureDir}/ios`, stdio: 'inherit' }) diff --git a/test/react-native/features/fixtures/app/dynamic/ios/Info.plist b/test/react-native/features/fixtures/app/dynamic/ios/Info.plist index 681263df8..d36436fbd 100644 --- a/test/react-native/features/fixtures/app/dynamic/ios/Info.plist +++ b/test/react-native/features/fixtures/app/dynamic/ios/Info.plist @@ -27,8 +27,6 @@ NSAppTransportSecurity NSAllowsArbitraryLoads - - NSAllowsLocalNetworking NSExceptionDomains