Giter Site home page Giter Site logo

aerogear-ios-sync-client's Introduction

AeroGear iOS Differential Synchronization Client

This project represents a client side implementation for AeroGear Differential Synchronization (DS) Server.

This client uses the communication with the backend server implementation. The iOS SyncEngine performs the actual work of the DiffSync protocol, please refer to it's README.md for more details.

Prerequisites

This project requires Xcode 6.0 to run.

This project used CocoaPods to managed its dependencies. The following command must be run prior to building:

sudo gem install cocoapods --pre
pod install

This project is also a Cocoapod and can be pushed to the Cocoapods specs repository. Currently we are using a private/local Cocoapods repo before publishing the real ones. This is only for testing. Please follow the instructions here to set up a local repo.

pod spec lint AeroGearSyncClient.podspec --sources='https://github.com/danbev/Cocoapods-repo.git' --verbose --allow-warnings

Building

Building can be done by opening the project in Xcode:

open AeroGearSyncClient.xcworkspace

or you can use the command line:

xcodebuild -workspace AeroGearSyncClient.xcworkspace/ -scheme AeroGearSyncClient -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

Testing

Tests can be run from with in Xcode using Product->Test menu option (CMD+U).
You can also run test from the command:

xcodebuild -workspace AeroGearSyncClient.xcworkspace/ -scheme AeroGearSyncClient -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO test

Note At the moment the test require that the AeroGear Differential Synchronization (DS) Server. is running. If it is not en error message simliar to this will be displayed:

aerogear-ios-sync-client/AeroGearSyncClientTests/SyncClientTests.swift:44: error: -[AeroGearSyncClientTests.SyncClientTests testDiffAndSync] : Asynchronous wait failed: Exceeded timeout of 3 seconds, with unfulfilled expectations: "Callback should be invoked. Is the Sync Server running?".

aerogear-ios-sync-client's People

Contributors

danbev avatar lholmquist avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.