Coder Social home page Coder Social logo

loop-sample-trips-ios's Introduction

LOOP iOS Sample - Trips

Prerequisites:

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

Build instructions:

These instructions will get you a copy of the Location and observation platform (LOOP) sample app that will download and display trips.

  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.

loop-sample-trips-ios's People

Contributors

microsoft-github-policy-service[bot] avatar ms-xuca avatar sseiber avatar yyw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

loop-sample-trips-ios's Issues

Demo does't compile

Gives an error "swift 3.0 cannot be imported in swift 3.0.2"

Please recompile the SDK with swift 3.0.2. Tried with Xcode 8.2.1

Swift 3.0.1 support missing

I can't build with Swift 3.0.1. I get "Module compiled with Swift 3.0 cannot be importted in Swift 3.0.1." error message

Compiler Error on XCode 8

/.../Loop-Sample-Trips-IOS/LoopTripIOS/TripRepository.swift:27:8: Module file was created by an older version of the compiler; rebuild 'LoopSDK' and try again: /.../Loop-Sample-Trips-IOS/Carthage/Build/iOS/LoopSDK.framework/Modules/LoopSDK.swiftmodule/arm64.swiftmodule

This seems to be a limitation in XCode 8 but it would be great to be able to run it on the latest and greatest: https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
"The version of Swift 2 (2.3) used in Xcode 8 is very close to the version used in Xcode 7.3.1. However, it has been updated for the newer SDKs, and therefore is not compatible with Swift frameworks compiled in Xcode 7.3.1. Distributing binary Swift frameworks remains unsupported in Xcode 8. (25680392)"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.