Trave.ly CS Senior Project (COMP 495 @ USD)
-
In your Xcode project, pull from
develop
. -
Open
terminal
(Command + Space
, then search for "terminal"). -
cd
into the same directory as where your code for Trave.ly is stored.For example, if my code is on the Desktop, then I'll need to use
cd Desktop/comp495-sp18-travely
. -
Use the following commands to install
CocoaPods
:sudo gem install cocoapods
pod setup
<-- this is a big file, it may take a few minutespod install
-
Once the installation has finished, quit Xcode.
-
Open Trave.ly in Finder. In your Trave.ly folder you should see two Xcode files, a blue one that ends in
.xcodeproj
and a white one that ends in.xcworkspace
. Double click on the white.xcworkspace
file to open the project (you'll have to use white icon from now on). -
You will also need an API Key from Amadeus for this app to work. Navigate to Amadeus website. Create a new Amadeus account and generate an API Key.
-
Once you have the API Key, go to the APIKey.swift file in XCode. Copy and paste your new API Key into the two spots where it says Insert API Key Here (Make sure to keep the quotations marks on both sides)
-
Command + R
to build and run!
If you have any issues, please refer to this helpful Stack Overflow post.