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

Commit 1b5694e

Browse files
author
scottbommarito
committed
replace pod init file
1 parent 4fb0e7b commit 1b5694e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class RNIOS extends Platform.IOS implements RNPlatform {
173173
var appDelegatePath: string = path.join(iOSProject, TestConfig.TestAppName, "AppDelegate.m");
174174
// Create and install the Podfile
175175
return TestUtil.getProcessOutput("pod init", { cwd: iOSProject })
176-
.then(() => { return fs.appendFileSync(path.join(iOSProject, "Podfile"),
176+
.then(() => { return fs.writeFileSync(path.join(iOSProject, "Podfile"),
177177
"target '" + TestConfig.TestAppName + "'\n pod 'React', :path => '../node_modules/react-native', :subspecs => [ 'Core', 'RCTImage', 'RCTNetwork', 'RCTText', 'RCTWebSocket', ]\n pod 'CodePush', :path => '../node_modules/react-native-code-push'\n"); })
178178
// Put the IOS deployment key in the Info.plist
179179
.then(TestUtil.replaceString.bind(undefined, infoPlistPath,

0 commit comments

Comments
 (0)