Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 4354e7b

Browse files
Check manual install cocoapods
1 parent 25f11ef commit 4354e7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ class RNProjectManager extends ProjectManager {
308308
mkdirp.sync(projectDirectory);
309309

310310
return TestUtil.getProcessOutput("npx react-native init " + appName + " --version 0.71.3 --install-pods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })
311-
.then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; })
311+
.then(()=>{TestUtil.getProcessOutput("gem install cocoapods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })})
312+
.then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; })
312313
.then(this.copyTemplate.bind(this, templatePath, projectDirectory))
313314
.then<void>(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName) }))
314315
.then(() => { return null; })

0 commit comments

Comments
 (0)