question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I regenerate ios folder in React Native project?

See original GitHub issue

Ask your Question

How can I regenerate ios folder in React Native project?

react-native-cli: 2.0.1 react-native: 0.61.2

❯ react-native eject error Unrecognized command “eject”. info Run “react-native --help” to see a list of all available commands.

❯ react-native upgrade --legacy true error: unknown option `–legacy’

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

134reactions
thymikeecommented, Oct 17, 2019

You can init a new project that’s named the same in another folder and copy ios dir over:

# inside YourProjectName directory
npx react-native init YourProjectName
mv YourProjectName/ios ios
rm -rf YourProjectName

Make sure you have clean git history before doing so, in case you need to revert

33reactions
socialtycommented, Oct 20, 2019

think there should be an command like eject

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS : How can I regenerate ios folder in React Native project?
iOS : How can I regenerate ios folder in React Native project ? [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS...
Read more >
Regenerate ios and android folder in React Native Project
Regenerate ios and android folder in React Native Project. Delete ios and android folders. Inside your project directory. npx react-native init YourProjectName
Read more >
Regenerate ios and android folder in React Native Project
Regenerate ios and android folder in React Native Project · Delete ios and android folders. · Inside your project directory.
Read more >
How to regenerate ios folder in React Native project - iTecNote
Best Solution · First copy the directory which your to-be-name-changed application exists. · Change the name at index. · Change the name and...
Read more >
React Native Notes 7 : How to regenerate ios and android ...
We need to add two more lines in our app.json file. ... You regenerate ios and android folder like that :) If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found