This commit is contained in:
Yin Yin Wu 2016-08-01 00:10:45 -07:00
Родитель f0582db981
Коммит 09e841f4e8
1 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -7,16 +7,14 @@
## 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.
0. If you havent already, signup for a Loop account and create an app on the [Loop Developer Site](https://www.loop.ms)
0. Signup for a LOOP account and create an app on the [Loop Developer Site](https://www.loop.ms)
0. Get the sample app
0. Clone this sample app `https://github.com/Microsoft/Loop-Sample-Trips-IOS.git`
0. Open it in XCode
0. Make a copy of `Config/Keys.example.xcconfig` and call it `Config/Keys.xcconfig`
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 app token from the dashboard.
0. Touch the `Loop Test User.xcconfig` file
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.
0. Create test users in the user dashboard at the [Loop Developer Site](https://www.loop.ms)
0. 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.
0. From the command line in the project directory run `carthage update --platform iOS`
0. Build an run the app
0. Build and run the app
After the app runs for a while you will see your user's trips and drives. This should only take a few hours but no longer than 24 hours as you move between locations.
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.