Skip to content

Commit

Permalink
Rename ios project name with new template (facebook#24292)
Browse files Browse the repository at this point in the history
Summary:
With new `init` implementation we replace all occurrences of the project name (`HelloWorld`) inside `ios` and `android` directories. For some reason, a product name field in `ios` was named wrongly. This shouldn't impact initialization using `global-cli`

[iOS] [Fixed] - Change productName in iOS in new init.
Pull Request resolved: facebook#24292

Differential Revision: D14749249

Pulled By: cpojer

fbshipit-source-id: aaf4294ab23180770aac3075789d3ffb4d5a4f3f
  • Loading branch information
Esemesek authored and facebook-github-bot committed Apr 3, 2019
1 parent 6a26cb4 commit 81b87e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
"third-party-podspecs",
"template",
"local-cli",
"template.config.js"
"template.config.js",
"!template/node_modules",
"!template/yarn.lock",
"!template/package-lock.json"
],
"scripts": {
"start": "react-native start --reactNativePath .",
Expand Down
2 changes: 1 addition & 1 deletion template/ios/HelloWorld.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
dependencies = (
);
name = HelloWorld;
productName = "Hello World";
productName = "HelloWorld";
productReference = 13B07F961A680F5B00A75B9A /* HelloWorld.app */;
productType = "com.apple.product-type.application";
};
Expand Down

0 comments on commit 81b87e4

Please sign in to comment.