Use appropriate capitalization of Xcode
Summary: [Xcode](https://developer.apple.com/xcode/) is spelled with a lowercase `c`. 😄 **Test plan (required)** ctrl-f project for `XCode`, case sensitive, find-and-replace with `Xcode`. Make sure tests pass on both Travis and Circle CI. Closes https://github.com/facebook/react-native/pull/12572 Differential Revision: D4622075 Pulled By: hramos fbshipit-source-id: d64f0b10254cd624a71844ebaefa6fc29bc1ea57
This commit is contained in:
parent
643925b41d
commit
1b0d8ac43b
|
@ -10,7 +10,7 @@ const getPlistPath = require('./getPlistPath');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function works in a similar manner to its Android version,
|
* This function works in a similar manner to its Android version,
|
||||||
* except it does not copy fonts but creates XCode Group references
|
* except it does not copy fonts but creates Xcode Group references
|
||||||
*/
|
*/
|
||||||
module.exports = function linkAssetsIOS(files, projectConfig) {
|
module.exports = function linkAssetsIOS(files, projectConfig) {
|
||||||
const project = xcode.project(projectConfig.pbxprojPath).parseSync();
|
const project = xcode.project(projectConfig.pbxprojPath).parseSync();
|
||||||
|
|
|
@ -17,7 +17,7 @@ module.exports = function createGroupWithMessage(project, path) {
|
||||||
|
|
||||||
log.warn(
|
log.warn(
|
||||||
'ERRGROUP',
|
'ERRGROUP',
|
||||||
`Group '${path}' does not exist in your XCode project. We have created it automatically for you.`
|
`Group '${path}' does not exist in your Xcode project. We have created it automatically for you.`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ module.exports = function unlinkAssetsIOS(files, projectConfig) {
|
||||||
if (!project.pbxGroupByName('Resources')) {
|
if (!project.pbxGroupByName('Resources')) {
|
||||||
return log.error(
|
return log.error(
|
||||||
'ERRGROUP',
|
'ERRGROUP',
|
||||||
`Group 'Resources' does not exist in your XCode project. There is nothing to unlink.`
|
`Group 'Resources' does not exist in your Xcode project. There is nothing to unlink.`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ info " - Disable Chrome debugging."
|
||||||
info " - Enable Hot Reloading, change a file (index.ios.js, index.android.js) and save. The UI should refresh."
|
info " - Enable Hot Reloading, change a file (index.ios.js, index.android.js) and save. The UI should refresh."
|
||||||
info " - Disable Hot Reloading."
|
info " - Disable Hot Reloading."
|
||||||
info ""
|
info ""
|
||||||
info "Press any key to open the project in XCode"
|
info "Press any key to open the project in Xcode"
|
||||||
info ""
|
info ""
|
||||||
read -n 1
|
read -n 1
|
||||||
open "/tmp/${project_name}/ios/${project_name}.xcodeproj"
|
open "/tmp/${project_name}/ios/${project_name}.xcodeproj"
|
||||||
|
|
Loading…
Reference in New Issue