This document provides instructions on how to set up this repository and install Expo on iOS for testing.
- Clone the repository:
git clone https://github.com/MikeDafi/Up.git/
- Navigate into the project directory:
cd Up
- Install the dependencies:
npm install
- Start the project:
npx expo start
- Open the App Store on your iOS device.
- Search for "Expo Go" and install the app.
- After installation, open Expo Go on your device.
- Scan the QR code displayed in the terminal or in Expo Dev Tools when your project is running.
- Ensure your iOS device and development machine are on the same network.
- In the Expo Dev Tools, scan the QR code with the Expo Go app.
- The app should now be running on your device.
- Ensure you have Xcode installed on your development machine.
- Start the iOS simulator by running the following command in the terminal:
Replace
xcrun simctl boot "iPhone 15"
"iPhone 15"
with the name of the simulator you want to use. - In the Expo Dev Tools, click on "Run on iOS simulator" or press
i
in the terminal. - The app should now be running on the simulator.
If you encounter ReferenceError: ReadableStream is not defined
, it may be due to an incorrect Node.js version. To resolve this:
- Ensure you have nvm installed.
- In the project directory, run:
This will switch to the Node.js version specified in the
nvm use
.nvmrc
file.
- Michael Askndafi