-
Notifications
You must be signed in to change notification settings - Fork 154
[Add] PlanGrid/ReactiveLists #288
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
Conversation
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.
Thanks for the pull request! Were you able to run project_precommit_check
here? When I try to run it, I see it fail with errors like this:
/tmp/swift-source-compat-suite/project_cache/ReactiveLists/Sources/CollectionViewDriver.swift:105:130: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
let visibleIndexPathsForHeaders = self.collectionView.indexPathsForVisibleSupplementaryElements(ofKind: UICollectionView.elementKindSectionHeader)
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
This seems to be coming from commit 7811400. It passed when rolling back to 65ab055.
Also, would you mind moving this configuration to be between the entires for ReactiveCocoa
and ReactiveSwift
?
projects.json
Outdated
{ | ||
"action": "BuildXcodeWorkspaceScheme", | ||
"workspace": "ReactiveLists.xcworkspace", | ||
"target": "ReactiveLists", |
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.
Since you're using a workspace here, we want to build a scheme
instead of a target
.
"target": "ReactiveLists", | |
"scheme": "ReactiveLists", |
Quick update: looks like this might be coming from the way we handle some xcodebuild flags. The project does indeed seem to build correctly with Swift 4.2. I'm looking into this, but we'll still want to make the two changes I suggested in the review. |
I've opened #292 to address this. |
Thanks @clackary ! I've updated the PR with the changes requests. The output of running:
Looks like we need to set some Xcode project settings for Swift 4.2? |
Ah, since you're checking something against Swift 4.2, you'd need to have Xcode 10 installed and selected. You appear to have Xcode 10.1 installed, which technically contains Swift 4.2.1. Not a huge deal. I'll start another round of testing. Thanks for making those changes! |
Awesome. Thanks @clackary ! 🙌 |
@swift-ci test |
From the build log, it looks like it's failing when trying to run
I found the corresponding script in ReactiveLists sources. This might be coming from an interaction with the sandbox. Network activity is blocked during build time. Maybe SwiftLint is trying to install during build? |
@clackary Hm... it shouldn't be trying to install. We install via CocoaPods and check-in I'll investigate. |
hey @clackary sorry for the delay here! Just updated this PR. I think it's ok. But the |
@swift-ci please test |
@jessesquires Sounds good, thanks for the update. |
The build log shows a few failures related to
|
@clackary Ah, that's expected for Xcode 10.2. I just updated the library to Swift 5, so I'll update the PR for that. |
Or, put another way: it should build with Xcode 10.1, but breaks with Xcode 10.2 (even in 4.2 mode) |
Updated! |
@swift-ci test |
The build results there are a few months stale, so I ran a local test against Xcode 11 beta 3, and I expect this to pass now. |
Build failed because of an issue with SwiftLint...
|
Oh, this is the same thing we were hitting before? |
cc @anayini @ronaldsmartin -- either of you interested in carrying this PR forward? |
going to close. i don't have time to fix. |
Pull Request Description
Adds ReactiveLists to the suite, which is used in the PlanGrid iOS app.
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:
./project_precommit_check
script runEnsure project meets all listed requirements before submitting a pull request.