Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Sample code does not work #365

Open
singleseeker opened this issue Oct 17, 2018 · 1 comment
Open

Sample code does not work #365

singleseeker opened this issue Oct 17, 2018 · 1 comment

Comments

@singleseeker
Copy link

☁  Basic [master] react-native start
Scanning 559 folders for symlinks in /private/tmp/react-native-side-menu/examples/Basic/node_modules (8ms)
 ┌────────────────────────────────────────────────────────────────────────────┐
 │  Running packager on port 8081.                                            │
 │                                                                            │
 │  Keep this packager running while developing on any JS projects. Feel      │
 │  free to close this tab and run your own packager instance if you          │
 │  prefer.                                                                   │
 │                                                                            │
 │  https://github.com/facebook/react-native                                  │
 │                                                                            │
 └────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
   /private/tmp/react-native-side-menu/examples/Basic


React packager ready.

Loading dependency graph, done.
@ZHamburglar
Copy link

This should be a fairly easy fix. I'll lay it out for everyone in the future reading this (for IOS).

Step 1: Clone the repo
git clone https://github.com/react-native-community/react-native-side-menu.git

Step 2: Change to the examples directory.
cd react-native-side-menu/examples/Basic/

Step 3: Install the Node Modules.
npm install

Step 4: Start up the XCode application. (I believe this is where you went wrong).

Step 5: When XCode opens, click on 'Open Another Project.....' and navigate to the file in the following directory and open it-
YOUR_DIRECTORY/react-native-side-menu/examples/Basic/ios/Basic.xcodeproj

Step 6: Whenever you are in XCode with the project loaded, choose your IPhone and click the play button and it should build it all from there.

I hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants