Trid - City Guide Document
  • Trid - City Guide Document
  • 1. Create Backend (Firebase)
  • 2. Setting up the iOS app
  • 2.1. Setup multi languages
  • 3. Setting up the Android app
  • 4. Setting up the Admin Site
  • 5. Admin Site Guide
  • 6. Config In - App Purchase
  • 7. Weather API
  • FAQ's
  • Demo
  • Resource Credits
  • Changelog
Powered by GitBook
On this page
  • Importing and running
  • Facebook Login
  • Update contact info

2. Setting up the iOS app

Setting up steps for the Trid - City Guide iOS app

Previous1. Create Backend (Firebase)Next2.1. Setup multi languages

Last updated 6 years ago

Before you begin, you need a few things set up in your environment:

  • Xcode 9.2 or later

  • An Xcode project targeting iOS 10.11 El Capitan

  • Swift projects must use Swift 4.2

  • CocoaPods 0.39.0 and above

After purchase and download Trip package. You can Rename and Unzip it everywhere on your computer.

Importing and running

  1. Open Terminal and cd to "ios_source_code" folder in "trid_package" folder.

2. Run pod update

3. Open "trid.xcworkspace" in "ios_source_code" folder by Xcode

4. In the Tab Identity, Replace Bundle Identifier with Bundle ID of iOS app that you created in Firebase.

6. Press the Play button to test the app on the emulator.

Done. You have setup a successful iOS app.

Facebook Login

To accept for the user can Sign Up and Login by Facebook. You need config like below

Open "Info" tab & update Facebook App Id

Update contact info

Open file "trid/global/AppSetting.swift" to update your application info

5. Go to your and download the GoogleService-Info.plist' file and replace the placeholder in trid/dev/GoogleService-Info.plist

Firebase Console
Trid - City Guide package
Finish pod update
Trid - City Guide in Xcode
Update application contact info