From 389899286902734629d7ab44562396180c5bd626 Mon Sep 17 00:00:00 2001 From: Daniel Dahan Date: Fri, 24 May 2019 12:27:17 -0400 Subject: [PATCH] added installation instructions --- CHANGELOG.md | 4 ++++ Graph.podspec | 2 +- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- Sources/Info.plist | 2 +- 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1fc19b2..632c8a23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.1 + +* Added installation instructions to README. + ## 2.2.2 * [issue-143](https://github.com/CosmicMind/Graph/issues/143): Renamed JSON class to GraphJSON to avoid framework collisions. diff --git a/Graph.podspec b/Graph.podspec index 725e4fdb..0c25dd06 100755 --- a/Graph.podspec +++ b/Graph.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Graph' - s.version = '3.1' + s.version = '3.1.1' s.swift_version = '5.0' s.license = 'BSD-3-Clause' s.summary = 'Graph is a semantic database that is used to create data-driven applications.' diff --git a/README.md b/README.md index 513a3b7e..6f5db1ab 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,50 @@ Graph is a semantic database that is used to create data-driven applications. ## Installation -> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Yosemite (10.10).** +> **Embedded frameworks require a minimum deployment target of iOS 8.** > - [Download Graph](https://github.com/CosmicMind/Graph/archive/master.zip) -Visit the [Installation](https://github.com/CosmicMind/Graph/wiki/Installation) page to learn how to install Graph using [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage). +## CocoaPods + +[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command: + +```bash +$ gem install cocoapods +``` + +To integrate Graph's core features into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' +use_frameworks! + +pod 'Graph', '~> 3.1.0' +``` + +Then, run the following command: + +```bash +$ pod install +``` + +## Carthage + +Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. + +You can install Carthage with Homebrew using the following command: + +```bash +$ brew update +$ brew install carthage +``` +To integrate Graph into your Xcode project using Carthage, specify it in your Cartfile: + +```bash +github "CosmicMind/Graph" +``` + +Run `carthage update` to build the framework and drag the built `Graph.framework` into your Xcode project. ## Changelog diff --git a/Sources/Info.plist b/Sources/Info.plist index 543e5f92..d353b3ef 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.1.0 + 3.1.1 CFBundleSignature ???? CFBundleVersion