uber / mockolo

Efficient Mock Generator for Swift
Apache License 2.0
813 stars 86 forks source link

Support Swift 5.6 #178

Closed aroshipup closed 2 years ago

aroshipup commented 2 years ago

Overview

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

EspressoCup commented 2 years ago

@aroshipup thanks for the change; please use the tag as @yutailang0119 mentioned, thanks!

aroshipup commented 2 years ago

@EspressoCup Thanks, but SwiftSyntax release tag 0.50600.0 has the following problem and fails to install as a dependent package, so I suggest that once we get the current version ( .branch("release/5.6") ) in. https://bugs.swift.org/browse/SR-15989

error: the target 'SwiftSyntax' in product 'SwiftSyntax' contains unsafe build flags
error: the target 'SwiftSyntax' in product 'SwiftSyntaxParser' contains unsafe build flags
EspressoCup commented 2 years ago

@EspressoCup Thanks, but SwiftSyntax release tag 0.50600.0 has the following problem and fails to install as a dependent package, so I suggest that once we get the current version ( .branch("release/5.6") ) in. https://bugs.swift.org/browse/SR-15989

error: the target 'SwiftSyntax' in product 'SwiftSyntax' contains unsafe build flags
error: the target 'SwiftSyntax' in product 'SwiftSyntaxParser' contains unsafe build flags

I see; thanks for checking.

aroshipup commented 2 years ago

@EspressoCup Due to the recent release of a new version of swift-argument-parser, builds were failing in environments with versions below Xcode 13.3, as shown in the CI check results. Therefore, this problem has been resolved by setting the upper version limit of swift-argument-parser to 1.0.3. https://github.com/apple/swift-argument-parser/releases

https://github.com/uber/mockolo/pull/178/commits/f38ae33f3a43c4f7f104fe6c142c7c1aac9dd1a7