Skip to content

Quick fixes for Xcode 9.3#167

Merged
mattrubin merged 5 commits into
developfrom
xcode-9.3
Apr 1, 2018
Merged

Quick fixes for Xcode 9.3#167
mattrubin merged 5 commits into
developfrom
xcode-9.3

Conversation

@mattrubin

Copy link
Copy Markdown
Owner

Changes in the Swift 4.1 compiler caused the build to break. (#166)

This PR:

  • Ensures whole-module optimization for release builds by enabling the new SWIFT_COMPILATION_MODE build setting.
  • Removes a no-longer-needed SwiftLint disable comment that was causing a SwiftLint error.
  • Disables the SwiftLint identifier_name rule, which was catching many violations which it had previously missed.
  • Sets SWIFT_TREAT_WARNINGS_AS_ERRORS to NO, to let the build succeed despite several new deprecation warnings in Swift 4.1

Fixes for the code deprecated by Swift 4.1 will follow in a future PR.

The underlying bug causing the false positive has been fixed in Swift 4.1
This rule is now catching many previously-missed violations. It may be enabled if the naming is cleaned up in the future.
New warnings in Swift 4.1 were breaking the ability to build the library via Carthage. (#166)
@mattrubin mattrubin added this to the 3.1.1 milestone Apr 1, 2018
@codecov

codecov Bot commented Apr 1, 2018

Copy link
Copy Markdown

Codecov Report

Merging #167 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #167   +/-   ##
========================================
  Coverage    95.41%   95.41%           
========================================
  Files            6        6           
  Lines          480      480           
  Branches        32       32           
========================================
  Hits           458      458           
  Misses          22       22

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc3de62...c1a2c55. Read the comment docs.

@mattrubin mattrubin merged commit 9ec3d3f into develop Apr 1, 2018
@mattrubin mattrubin deleted the xcode-9.3 branch April 1, 2018 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant