- Get the code from https://github.com/WildAid/o-fish-ios
git clone https://github.com/WildAid/o-fish-ios.git
- Do a
pod install
to install any dependencies.
To get the latest version of Realm or other packages, you may need to runpod install --repo-update`
- Add the Realm App ID (from your template) to
o-fish-ios/LocalConstants.swift
realm_app_id=your_app_id
- Open
o-fish-ios.xcworkspace
in the o-fish-ios directory, or otherwise open the code in Xcode.app. - Select the “Product” menu, then the “Destination” item and choose either:
- Your physical device, if you have it connected
- The simulator you want to run the code on (e.g. iPhone 11), from the “iOS Simulators” submenu
- Select the “Product” menu and then the “Run” item to build and run the application on the destination you just chose.
- If you do not see your changes in the application, make sure to uninstall the application and try building again.
To be able to login to the app once it is built, you need to create a user in your instance of the O-FISH Realm App.
You’re all set!