Link Search Menu Expand Document

Build the iOS App

  1. Get the code from https://github.com/WildAid/o-fish-ios
    git clone https://github.com/WildAid/o-fish-ios.git
    

    OR
    Download and extract the code

  2. Do a pod install to install any dependencies.
    To get the latest version of Realm or other packages, you may need to run
    pod install --repo-update`
    
  3. Add the Realm App ID (from your template) to o-fish-ios/LocalConstants.swift
    realm_app_id=your_app_id

  4. Open o-fish-ios.xcworkspace in the o-fish-ios directory, or otherwise open the code in Xcode.app.

  5. 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
  6. 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!



Troubleshooting - Up to main build page