iOS Utility library
- Get the latest source from GitHub executing this command line in the root of your project(where .xcodeproj file exits):
git submodule add git@github.com:madcato/OSLibrary.git
- Right-click on the your project in the navigator, click "Add Files to 'Your Project'", and browse to and select "OSLibrary.xcodeproj"
- In your project's target settings, go to "Build Phases" -> "Link Binary With Libraries" and add libOSLibrary.a.
- Optional. In "Build Phases" add OSLibrary to "Target dependencies". (This is compulsory if you are going to change or add code to OSLibrary project)
- In "Build Phases" add SystemConfiguration.framework, QuartzCore.framework, CoreLocation.framework CloudKit.framework, Security.framework and CoreData.framework to "Linked Binary Wit Libraries".
- Include the following line in your precompiled file (.pch):
#import <SystemConfiguration/SystemConfiguration.h>
#import <QuartzCore/QuartzCore.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreData/CoreData.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import "OSLibrary/OSLibrary.h"