Skip to content

Commit 71907ef

Browse files
committed
Merge pull request #567 from phatblat/ben/quick-nimble
Xcode 7.3 Support
2 parents f06bbdd + e19fcc4 commit 71907ef

File tree

16 files changed

+95
-368
lines changed

16 files changed

+95
-368
lines changed

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
osx_image: xcode7
22
language: objective-c
33
matrix:
4+
fast_finish: true
45
include:
5-
- osx_image: xcode7
6-
env: SCHEME="ObjectiveGit Mac"
7-
- osx_image: xcode7
8-
env: SCHEME="ObjectiveGit iOS"
6+
- osx_image: xcode7.3
7+
env:
8+
- SCHEME="ObjectiveGit Mac"
9+
- osx_image: xcode7.3
10+
env:
11+
- SCHEME="ObjectiveGit iOS"
912
before_install:
10-
- brew update
11-
- brew outdated xctool || brew upgrade xctool
13+
- gem install xcpretty
14+
- gem install xcpretty-travis-formatter
1215
install: script/bootstrap
1316
script: script/cibuild
1417
notifications:

Cartfile.private

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
github "jspahrsummers/xcconfigs" >= 0.7.1
2-
github "Quick/Quick" ~> 0.9.1
3-
github "Quick/Nimble" ~> 3.1
2+
github "Quick/Quick" ~> 0.9.2
3+
github "Quick/Nimble" ~> 4.0
44
github "ZipArchive/ZipArchive" ~> 1.1

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "Quick/Nimble" "v3.1.0"
2-
github "Quick/Quick" "v0.9.1"
1+
github "Quick/Nimble" "v4.0.0"
2+
github "Quick/Quick" "v0.9.2"
33
github "ZipArchive/ZipArchive" "v1.1"
44
github "jspahrsummers/xcconfigs" "0.9"

Carthage/Checkouts/Nimble

Submodule Nimble updated 133 files

Carthage/Checkouts/Quick

Submodule Quick updated 59 files

ObjectiveGitFramework.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,6 @@
22352235
GCC_WARN_UNUSED_VARIABLE = YES;
22362236
HEADER_SEARCH_PATHS = "$(inherited)";
22372237
INFOPLIST_FILE = "ObjectiveGitTests/ObjectiveGitTests-Info.plist";
2238-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
22392238
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
22402239
LIBRARY_SEARCH_PATHS = (
22412240
.,
@@ -2281,7 +2280,6 @@
22812280
GCC_WARN_UNUSED_VARIABLE = YES;
22822281
HEADER_SEARCH_PATHS = "$(inherited)";
22832282
INFOPLIST_FILE = "ObjectiveGitTests/ObjectiveGitTests-Info.plist";
2284-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
22852283
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
22862284
LIBRARY_SEARCH_PATHS = (
22872285
.,
@@ -2328,7 +2326,6 @@
23282326
GCC_WARN_UNUSED_VARIABLE = YES;
23292327
HEADER_SEARCH_PATHS = "$(inherited)";
23302328
INFOPLIST_FILE = "ObjectiveGitTests/ObjectiveGitTests-Info.plist";
2331-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
23322329
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
23332330
LIBRARY_SEARCH_PATHS = (
23342331
.,
@@ -2375,7 +2372,6 @@
23752372
GCC_WARN_UNUSED_VARIABLE = YES;
23762373
HEADER_SEARCH_PATHS = "$(inherited)";
23772374
INFOPLIST_FILE = "ObjectiveGitTests/ObjectiveGitTests-Info.plist";
2378-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
23792375
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
23802376
LIBRARY_SEARCH_PATHS = (
23812377
.,

ObjectiveGitTests/GTOIDSpec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
const git_oid *git_oid = NULL;
4949

5050
{
51-
GTOID *testOID __attribute__((objc_precise_lifetime)) = [[GTOID alloc] initWithSHA:testSHA];
51+
GTOID *testOID = [[GTOID alloc] initWithSHA:testSHA];
5252
git_oid = testOID.git_oid;
5353
}
5454

ObjectiveGitTests/GTSignatureSpec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
const git_signature *git_signature = NULL;
5050

5151
{
52-
GTSignature *testSignature __attribute__((objc_precise_lifetime)) = [[GTSignature alloc] initWithName:name email:email time:time];
52+
GTSignature *testSignature = [[GTSignature alloc] initWithName:name email:email time:time];
5353
git_signature = testSignature.git_signature;
5454
}
5555

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A brief summary of the available functionality:
1818

1919
Not all libgit2 features are available, but if you run across something missing, please consider [contributing a pull request](#contributing)!
2020

21-
Many classes in the ObjectiveGit API wrap a C struct from libgit2 and expose the underlying data and operations using Cocoa idioms. The underlying libgit2 types are prefixed with `git_` and are often accessible via a property so that your application can take advantage of the libgit2 API directly.
21+
Many classes in the ObjectiveGit API wrap a C struct from libgit2 and expose the underlying data and operations using Cocoa idioms. The underlying libgit2 types are prefixed with `git_` and are often accessible via a property so that your application can take advantage of the [libgit2 API](https://libgit2.github.com/libgit2/#HEAD) directly.
2222

2323
The ObjectiveGit API makes extensive use of the Cocoa NSError pattern. The public API is also decorated with nullability attributes so that you will get compile-time feedback of whether nil is allowed or not. This also makes the framework much nicer to use in Swift.
2424

@@ -32,15 +32,18 @@ or download them [manually](#manually).
3232

3333
### Other Tools
3434

35-
To start building the framework, you must install the required dependencies,
36-
[xctool](https://github.com/facebook/xctool) and
37-
[cmake](https://github.com/Kitware/CMake). We recommend using
38-
[Homebrew](http://brew.sh) to install these tools.
39-
40-
Once you have the dependencies you should clone this repository and then run [`script/bootstrap`](script/bootstrap). This will automatically pull down and install any other
41-
dependencies.
42-
43-
Note that the `bootstrap` script automatically installs some libraries that ObjectiveGit relies upon, using Homebrew. If you not want to use Homebrew, you will need to ensure these dependent libraries and their headers are installed where the build scripts [expect them to be](https://github.com/libgit2/objective-git/blob/master/script/bootstrap#L80-L99).
35+
Simply run the [`script/bootstrap`](script/bootstrap) script to automatically install
36+
dependencies needed to start building the framework. This script uses
37+
[Homebrew](http://brew.sh) to install these tools. If your Mac does not have
38+
Homebrew, you will need to install the following manually:
39+
40+
- [cmake](https://github.com/Kitware/CMake)
41+
- libtool
42+
- autoconf
43+
- automake
44+
- pkg-config
45+
- libssh2
46+
- symlinks: lib/libssh2.a include/libssh2.h include/libssh2_sftp.h include/libssh2_publickey.h
4447

4548
To develop ObjectiveGit on its own, open the `ObjectiveGitFramework.xcworkspace` file.
4649

script/LICENSE.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)