diff --git a/react-native.config.js b/react-native.config.js index 52ca04c02..29f627a4d 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -1,9 +1,4 @@ module.exports = { - project:{ - ios:{ - automaticPodsInstallation:true - } - }, dependency: { platforms: { android: { diff --git a/test/test.ts b/test/test.ts index eb60d193a..1f48bf8a0 100644 --- a/test/test.ts +++ b/test/test.ts @@ -307,7 +307,7 @@ class RNProjectManager extends ProjectManager { } mkdirp.sync(projectDirectory); - return TestUtil.getProcessOutput("npx react-native@10.0.0 init " + appName + " --version 0.71.3 --install-pods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 }) + return TestUtil.getProcessOutput("npx --yes react-native@~0.71.0 init " + appName + "--install-pods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 }) .then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; }) .then(this.copyTemplate.bind(this, templatePath, projectDirectory)) .then(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName) }))