Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add sections for basic setup and providing apple developer access #791

Merged
merged 1 commit into from
Oct 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ In order to successfully run the Optic-expo app locally you will need the follow

## Running on a iOS device

1. Create an issue in this repo asking for apple connect developer access for the app
1. Create an issue in this repo asking for apple connect developer access for the app (see section: [Providing Apple Developer Access](##providing-apple-developer-access))
1. Install expo-cli globally: `npm i -g expo-cli`
1. Run in the simulator first: `npm run ios`
1. Install [expo go](https://apps.apple.com/us/app/expo-go/id982107779) on your device
Expand All @@ -47,6 +47,28 @@ In order to successfully run the Optic-expo app locally you will need the follow
1. Run: `expo run:ios --device`
1. Select your device from the list

## Setup Android Studio (MacOS)

1. Running `yarn android` will help you throughout the process.
1. Follow the [expo tutorial](https://docs.expo.dev/workflow/android-studio-emulator/).
1. Java Runtime will be necessary. OpenJDK version 11 worked. [Homebrew](https://formulae.brew.sh/formula/openjdk@11)
1. Read the output of the installation and execute the suggested commands related to symlink and including in the PATH variable.

## Setup Xcode/Simulator (MacOS)

1. Running `yarn ios` will help you throughout the following steps;
1. Create an Apple ID if you don't have one. If applicable, use your NearForm email.
1. Download Xcode from the App Store.
1. Open Xcode, navigate to "Preferences / Locations" and select the appropriate version in Command Line Tools.

## Providing Apple Developer Access

1. Login to Apple Developer using an account with "App Manager" role
1. You might need to use the nearform root account to provide permission above 'developer'
1. 'App Manager' role is needed if you want to give access to create new releases in play store
1. Navigate to [https://appstoreconnect.apple.com/access/users](https://appstoreconnect.apple.com/access/users)
1. Click on the "+" button on the top left corner and add the user info (most of the time will be developer or app manager) and choose what apps they have access to

## Notes

- The app doesn't run on the web
Expand Down