-
-
Notifications
You must be signed in to change notification settings - Fork 132
Bumps Bolts-Swift dependency #175
Conversation
Thanks! Is the dependency also bumped for Carthage? |
No worries. It's locked to a commit (e9baa72d04521c3b25ef4fa6fef12b340953ee02) which supports Swift 4, but isn't a release... which I thought was odd. |
... with that said, the Parse-SDK-iOS-OSX doesn't build using Carthage as-is. It needs the patch I provided here: parse-community/Parse-SDK-iOS-OSX#1359. |
I just merged it, it seems there are still some issues with building portions of the SDK. As you may have seen in the build status |
I have to confess I haven't worked much with automatic builds on the Apple ecosystem. But I took a quick look at the build log after you merged parse-community/Parse-SDK-iOS-OSX#1359. It seems the Apple TV build is failing. The only thing I can think of, looking at the output, is that there isn't an OS version specified for the Apple TV build. The build fails with this error:
No OS version specified. While the available destinations all provide an OS version:
Here, version 11.1 is specified. I'm not sure where I'd look to correct this, or indeed if this the actual root of the issue. |
There is a set of scripts in the vendor folder as a submodule that provide the ruby tool chain that builds all the SDKs, and run the tests. (Those are inherited from the good old days, but still work). The problem is that those build scripts are looking for a particular tvOS simulator that isn’t available on the CI. So there are 2 options:
Check this out: |
Alright, I've made a change that may or may not fix this. Is there some way of checking that locally? Or should I just commit and see if the auto-build now works? |
you can change the submodule to point to another repo / commit and this should go ahead. I added you to the xctoolchain repo so you can push your changes directly in a branch (not master please) and point the submodule to that branch. |
Special powers; nice. Thanks.
You lost me here :D Do I need access to your CI to do this thing? |
Right... GitHub login :) |
We're talking about the iOS SDK not the liveQuery SDK here right? For the submodule we are talking about what is in Vendor/xctoolchain depending what you need to change. I believe you will need to commit and push to it's remote (https://github.com/parse-community/xctoolchain/tree/1dcfb1bb57695ba56a084913f64b87de943fec5f) So the following should do the trick (if you made a change in the xctoolchain) From Parse-SDK-iOS-OSX folder:
Does this help? |
It does. And it was a good excuse to read up on git submodules. But I'll probably need push access to the iOS SDK for the last step? |
For the last step, you can push to your branch on your repo, this should work, and then open a PR ;) |
I've opened a PR here parse-community/Parse-SDK-iOS-OSX#1364 For some reason it includes the earlier change I made, and that you merged earlier. It feels really weird to be pushing changes having no idea if they've actually fixed anything... |
I've opened another PR that hopefully fixes things; syntax was off in the last one. |
@flovilmart This is weird. More tests are failing for the new PR than the old. Test builds seem to be failing because they can't find some Bolts headers. It also seems some changes came with my commit that weren't actually changes I made. I'm feeling pretty confused just now. |
The travis-ci build still fails. The problem now is that there are too many matching destinations. There are 2 'Apple TV 1080p' destinations for iOS 11.0. I'll try another config... |
Using Swift 4 it's impossible to build this using CocoaPods as-is.
This bumps the version of Bolts-Swift to the version supporting Swift 4. I've done some brief manual testing and everything seems to be working fine.