-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 7.3 Support #567
Xcode 7.3 Support #567
Conversation
Looks like we've got a valid test failure
The it(@"should keep the git_signature alive even if the object goes out of scope", ^{
const git_signature *git_signature = NULL;
{
GTSignature *testSignature __attribute__((objc_precise_lifetime)) = [[GTSignature alloc] initWithName:name email:email time:time];
git_signature = testSignature.git_signature;
}
GTSignature *testSignature = [[GTSignature alloc] initWithGitSignature:git_signature]; This is different in Xcode 7.3. It works fine in 7.2.1. |
@phatblat I have a patch, will post it in 2 minutes. |
xctool 0.2.8 died in the same spot running the iOS tests as we had trouble with it testing Quick on Xcode 7.3. However, the message is different.
Updating xctool to HEAD to see if that gets past this. |
I released https://github.com/libgit2/objective-git/releases/tag/0.12.0 as |
The crashing test - After that, I don't know if I fully understand I've removed these two instances of |
Something is going wrong in
It looks as if the |
Nice work. 2 cents:
|
Sure, I can clean this up and rebase it. As for xcpretty, I'm game. I ran into some trouble with it and Xcode 7.0 last fall but with all the trouble we've had with xctool, I think it's worth looking into again. |
- Quick 0.9.1+ - Nimble 3.2.0+ These resolve many deprecation warnings with Swift 2.2 in Xcode 7.3
- Replaced xctool with xcodebuild + xcpretty - Removed unused cruft and awk scripts
Also enabled fast_finish for builds
9749d90
to
9145b0a
Compare
Closing/reopening PR to trigger build. |
@@ -1,14 +1,17 @@ | |||
osx_image: xcode7 | |||
language: objective-c | |||
matrix: | |||
fast_finish: true: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is why Travis is not starting the build true:
should be true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
Travis smartypants 👍 |
echo "*** Building and testing $SCHEME..." | ||
echo | ||
|
||
xcodebuild -workspace "$XCWORKSPACE" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the xcpretty
docs:
$ set -o pipefail && xcodebuild [flags] | xcpretty
#
# OR
#
$ xcodebuild [flags] | xcpretty && exit ${PIPESTATUS[0]}
The build is finally 💚 |
Looks good but waiting for the merge since Nimble 4.0.0 was just released and I suspect a |
Fine by me. I'd rather be using released versions. Quick may take a couple days because I just submitted Quick/Nimble#278 to unblock Quick/Quick#507 |
Falling back to default of iOS 8.0
It's counter-intuitive, but I think that build failure basically means Xcode is confused because the deployment target isn't 8.0. |
Quick and Nimble have been updated. This PR is ready to be merged! 🚀 |
Sweet 👌 |
Quick & Nimble
Update Quick & Nimble for Swift 2.2 compatibility. Quick (0.9.2) and Nimble (4.0) contain fixes (Quick/Quick#504 and Quick/Nimble#269) for Swift 2.2.
xctool
Due to issues with xctool (such as facebookarchive/xctool#666) with Xcode upgrades, it has been dropped as a build tool.
xcpretty
The
cibuild
script has been completely overhauled, making it much simpler and more reliable. Instead of xctool, it now uses straight xcodebuild commands with output piped through xcpretty.When running on Travis, xcpretty-travis-formatter is used to format the the output.