Skip to content

marilynthai/Capstone-Colab

Repository files navigation

Gotchu

Introduction

Gotchu is a mobile iOS app that makes it easy for individuals to post and claim free items in their community. Utilizing a Google Firebase backend and a Swift iOS frontend, Gotchu provides a simplified user-friendly platform for exchanging goods. Whether you have items to give away or are in need of items, Gotchu streamlines the process and eliminates the hassle of navigating multiple buy-sell platforms.

Dependencies

Google Firebase:

  • Firebase Auth

  • FirebaseFirestore

  • Firebase Storage

SDWebImageSwiftUI

Installation

  1. Install Xcode.

Xcode is Apple's integrated development environment (IDE) used to develop software for macOS, iOS, iPadOS, watchOS, and tvOS. You can download the current release, Xcode 14 for free here. You will need Xcode to make any edits to the app code.

  1. Clone this repository in Xcode.

    1. Copy the URL needed to clone the repo.

    2. Open Xcode → click 'Clone an existing project' → Enter repo URL.

    3. Save the cloned project to your computer.

  2. Connect Firebase to the app. 

    1. Download the file GoogleService-Info.plist (firebase iOS config file).

    2. Save the file to the root of the project.

    This is how your file directory should look like with the added plist file: 

  3. Launch the app via the Simulator or a real iPhone.

Simulator: Xcode contains a powerful developer tool called Simulator that allows you to build and run the app on a simulated or real device without needing to lay out the user interface or write code. We recommend using the Simulator if you do not have access to an iPhone. If you do have an iPhone and wish to use it, follow the instructions below.

Real device set up:

NOTE: For development purposes, you will need to create a personal Apple ID if you do not already have one.

  1. Go to the project root NewTestProject folder in Xcode.

  2. Click 'Signing & Compatibilities'. Under 'Team', you'll want to click 'Add an Account' which will prompt you to sign in with your Apple ID. Assign your apple ID to Team. See below:

  1. If this is your first time running a developer app on your device, you will need to enable Developer Mode. If you have already done this, you can skip this step. Instructions for enabling Developer Mode were taken from here.

    1. On your device, open Settings > Privacy & Security.

    2. Scroll down to the Developer Mode list item and navigate into it. To toggle Developer mode, use the "Developer Mode" switch.

  2. Connect iPhone to computer via cable. Unlock the device. It may take a second for Xcode to prepare your device for development. The status bar will read Ready when it's finished preparing your device.  

  3. Choose your real device or Simulator device from the 'Run Destination' menu.

6. Click the Play Button to begin the app launch on your chosen device or simulator. For real device, once the app finishes installing, you can unplug your phone from the computer and run the app independent of Xcode. Anytime, you make edits to the code, you will need to plug it back in to re-install the new version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages