This repository contains the iOS implementation of Hubbub.
Important: Before following the instructions below for setting up and running Hubbub iOS, you must first complete all of the steps listed on the main Hubbub README, specifically the Setting up a dev environment section.
- A Firebase project setup after following the Hubbub README
- Xcode 7.3 or later
- Cocoapods 1.0.0 or later
- Clone this repository:
git clone https://github.com/all-the-hubbub/hubbub-ios.git
- Install pods:
cd hubbub-ios pod install
- Open workspace:
open Hubbub.xcworkspace
- Go to the Firebase console and navigate to your project called
hubbub-dev
(See prerequisites) - Click "Add Firebase to your iOS app"
- Choose a bundle identifier and enter it in the
iOS bundle ID
field - Click "Register App"
- Follow the instructions to download and add
GoogleService-Info.plist
to the Xcode project
- In Xcode, navigate to the Build Settings for the
Hubbub
target (see image below) - In the
Packaging
section, locateProduct Bundle Identifier
- Edit the
Debug
entry: replace<DEV_BUNDLE_IDENTIFIER>
with the bundle identifier you chose in step 3 above
- Open
Config.swift
in Xcode - Update the config entries as indicated in the file
- Choose the
Hubbub-dev
scheme and select an iPhone simulator of your choosing (or an attached iPhone device) - Click the "play" button to build and run the app