Skip to content

Instantly share code, notes, and snippets.

@cotyembry
Created March 19, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cotyembry/ff13d2da4031b06fccf116968ea8409f to your computer and use it in GitHub Desktop.
Save cotyembry/ff13d2da4031b06fccf116968ea8409f to your computer and use it in GitHub Desktop.
My super quick overview of the steps I did tonight to get a fresh, up to date, react-native project setup
  1. create-react-native-app projectName
  2. pod init in the ios folder 2.1. add any pod files you want to ios/Podfile 2.2. pod install 2.2.1 sometimes this git repo doesnt download...you can google and find the .zip file for it and just take the .git file that is created and use it any synthetically create this stupid workaround... 2.2.2 pod install --no-update (or some modifier like that - sorry, this isnt exact...youre honestly lucky im taking the small amount of time to write what I'm writing)
  3. react-native link (something like that) to link the pod files
  4. create a workspace in xcode (if you need to write native code)
  5. drag the .xcodeproject (or whatever its called) to the newly created .wrkspace project
  6. from now on only use the .wrkspace project (this is because of the pod files have to be structured in the project directory as they are - you can read about it)
  7. build the app (in the xcode workspace project) and hopefully it will run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment