iOS/Objective-C client library implementation for AeroGear!
The AeroGear iOS client lib is based on the AFNetworking library.
The project requires CocoaPods for dependency management;
The API is documented here.
Some basic usages are documented here.
Open the AeroGear-iOS.xcworkspace in Xcode, if you want to get the project...
We also have a little page for getting started with Xcode and the library!
There is an issue when running unit tests on the iOS 6 simulator and in particular when you switch live from another iOS version (e.g. iOS 7). It turns out that the keychain access is broken, resulting in test failures whenever a method tries to access the keychain. A workaround for this is to File->Exit the emulator and re-run the tests on iOS 6. We are continue investigating the cause of this issue (see discussion on Apple forum for more information)
To get the code covered by tests, follow these steps:
1. Run the tests like so:
xctool -workspace AeroGear-iOS.xcworkspace -sdk iphonesimulator -scheme AeroGear-iOS -configuration CodeCoverage clean test
2. Verify that the command generated
.gcda files in
3. Open those
.gcno files in CoverStory