- xcode (available on app store or https://developer.apple.com/download/more/ if you are signed in with your developer account)
- npm (automatically installed if you have node)
- homebrew macOS package manager
- cocoapods Install via homebrew
brew install cocoapods
// TODO add Android tooling
In the RN project directory run npm install
Once that is finished install the iOS dependencies from the ios
directiory i.e cd ios && pod install
Make sure you are in the root directory and run npm start
note: if youve made some changes to the .env
file make sure you use npm start -- --reset-cache
to pick up any changes
To run the native iOS app, the simplest way is to build via xcode.
To do this open xcode and then choose 'Open a project or file'.
You should navigate to, and select the file Akkroo.xcworkspace
, this will be in the projects ios
directory.
Once open it will take some time indexing files etc, you should be good then to select a simulator in the top left corner and press 'play'.
This will run an xcode build of the app and start it automatically on the selected simulator
// TODO
// TODO
Run the unit tests using the command npm test
Debug the tests using npm run test-debug
Run npm run eslint
Use home-brew to install cocoapods - brew install cocoapods