You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add manual Cocoapods installation info (#2204)
* feat: add manual Cocoapods installation info
* feat: apply review comments
* fix: move logger.info out of nested if
* fix: hide banner in CI
* fix: check for Install cocoapods only on darwin
* test: check if cocoapods instruction is shown in another test
* Update packages/cli/src/commands/init/printRunInstructions.ts
Co-authored-by: Riccardo Cipolleschi <[email protected]>
---------
Co-authored-by: Riccardo Cipolleschi <[email protected]>
'Installing pods failed. This doesn\'t affect project initialization and you can safely proceed. \nHowever, you will need to install pods manually when running iOS, follow additional steps in "Run instructions for iOS" section.\n',
235
+
);
236
+
}
222
237
loader.fail();
223
-
throwe;
238
+
didInstallPods=false;
224
239
}finally{
225
240
fs.removeSync(templateSourceDir);
226
241
}
242
+
243
+
if(process.platform==='darwin'){
244
+
logger.log('\n');
245
+
logger.info(
246
+
`💡 To enable automatic CocoaPods installation when building for iOS you can create react-native.config.js with automaticPodsInstallation field. \n${chalk.reset.dim(
0 commit comments