react-native-side-menu icon indicating copy to clipboard operation
react-native-side-menu copied to clipboard

Sample code does not work

Open singleseeker opened this issue 7 years ago • 1 comments

☁  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.

singleseeker avatar Oct 17 '18 13:10 singleseeker

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.

ZHamburglar avatar Nov 22 '18 00:11 ZHamburglar