Loop SDK sample
Перейти к файлу
Yin Yin Wu 09e841f4e8 Update readme 2016-08-01 00:10:45 -07:00
Config initial commit 2016-06-20 18:43:20 -07:00
Loop-Trip.xcodeproj update with new sdk 2016-07-20 17:55:23 -07:00
LoopTripIOS update with new sdk 2016-07-20 17:55:23 -07:00
.gitignore initial commit 2016-06-20 18:43:20 -07:00
Cartfile initial commit 2016-06-20 18:43:20 -07:00
Cartfile.resolved update sdk 2016-07-20 18:00:50 -07:00
LICENSE.txt initial commit 2016-06-20 18:43:20 -07:00
README.md Update readme 2016-08-01 00:10:45 -07:00
test.gpx initial commit 2016-06-20 18:43:20 -07:00

README.md

Loop iOS Sample - Trips

Prerequisites:

  • You will need the latest version of XCode (7.3.1 or greater) to run this sample app.
  • You will need to install Carthage

Build instructions:

These instructions will get you a copy of a Loop sample app that will download user trips generated in the Loop platform and display them.

  1. Signup for a LOOP account and create an app on the Loop Developer Site
  2. Get the sample app 0. Clone this sample app https://github.com/Microsoft/Loop-Sample-Trips-IOS.git 0. Open it in XCode 0. In the Keys.xcconfig file provide values for the LOOP_APP_ID_PROP and LOOP_APP_TOKEN_PROP using your LOOP app ID and token.
  3. Create test users in the user dashboard at the Loop Developer Site
  4. In the Keys.xcconfig file provide values for the LOOP_USER_ID_PROP and LOOP_DEVICE_ID_PROP using a test user id and device id from the dashboard.
  5. From the command line in the project directory run carthage update --platform iOS
  6. Build and run the app

After the app runs for a while you will see your trips and drives. This should only take a few hours but no longer than 24 hours as you move between locations.