aerogear ios sync
NOTE: The library has been tested with Xcode 6.3
AeroGear iOS Differential Synchronization Client Engine represents a client side implementation for AeroGear Differential Synchronization (DS) Server.
Project Info | |
---|---|
License: | Apache License, Version 2.0 |
Build: | CocoaPods |
Documentation: | http://aerogear.org/ios/ |
Issue tracker: | https://issues.jboss.org/browse/AGIOS |
Mailing lists: | aerogear-users (subscribe) |
aerogear-dev (subscribe) |
Build, test and play with aerogear-ios-sync
Clone this project
Get the dependencies
The project uses cocoapods 0.36 release for handling its dependencies. As a pre-requisite, install cocoapods and then install the pod. On the root directory of the project run:
bash
pod install
3. open AeroGearSync.xcworkspace
Adding the library to your project
To add the library in your project, you can either use Cocoapods or manual install in your project. See the respective sections below for instructions:
Using Cocoapods
Support for Swift frameworks is supported from CocoaPods-0.36 release upwards. In your Podfile
add:
source 'https://github.com/CocoaPods/Specs.git'
xcodeproj 'YourProjectName.xcodeproj'
platform :ios, '8.0'
use_frameworks!
pod 'AeroGearSync'
and then:
pod install
to install your dependencies.
Manual Installation
Follow these steps to add the library in your Swift project:
- Add AeroGearSync as a submodule in your project. Open a terminal and navigate to your project directory. Then enter:
bash git submodule add https://github.com/aerogear/aerogear-ios-sync.git
- Open the
aerogear-ios-sync
folder, and drag theAeroGearSync.xcodeproj
into the file navigator in Xcode. - In Xcode select your application target and under the
Targets
heading section, ensure that the ‘iOS Deployment Target’ matches the application target of AeroGearSync.framework (Currently set to 8.0). - Select the
Build Phases
heading section, expand theTarget Dependencies
group and addAeroGearSync.framework
. - Click on the
+
button at the top left of the panel and selectNew Copy Files Phase
. Rename this new phase toCopy Frameworks
, set theDestination
toFrameworks
, and addAeroGearSync.framework
.
Documentation
For more details about the current release, please consult our documentation.
Development
If you would like to help develop AeroGear you can join our developer’s mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.
Also takes some time and skim the contributor guide
Questions?
Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!
Found a bug?
If you found a bug please create a ticket for us on Jira with some steps to reproduce it.