A logging library based on CocoaLumberjack that is used in mysms projects.
- XCode 4.5 or higher
- Apple LLVM compiler
- iOS 5.0 or higher
- ARC
The recommended approach for installating CLog is via the CocoaPods package manager, as it provides flexible dependency management and dead simple installation.
For best results, it is recommended that you install via CocoaPods >= 0.15.2 using Git >= 1.8.0 installed via Homebrew.
Install CocoaPods if not already available:
$ [sudo] gem install cocoapods
$ pod setupChange to the directory of your Xcode project:
$ cd /path/to/MyProject
$ touch Podfile
$ edit PodfileEdit your Podfile and add the library:
platform :ios, '6.0'
pod 'CLog', :git => 'https://github.com/mysms/clog.git'Install into your Xcode project:
$ pod installOpen your project in Xcode from the .xcworkspace file (not the usual project file)
$ open MyProject.xcworkspacePlease note that if your installation fails, it may be because you are installing with a version of Git lower than CocoaPods is expecting. Please ensure that you are running Git >= 1.8.0 by executing git --version. You can get a full picture of the installation details by executing pod install --verbose.
Christoph Lückler (@oe8clr)