Coder Social home page Coder Social logo

Swiftlint fails build with Carthage about swinject HOT 5 CLOSED

 avatar commented on July 30, 2024
Swiftlint fails build with Carthage

from swinject.

Comments (5)

janodev avatar janodev commented on July 30, 2024 1

I noticed from your message that I was using an old version of SwiftLint. Upgrading to 0.9.1 fixed it. Thanks for your time.

~ $ swiftlint version
0.2.0

~ $ brew unlink swiftlint
Unlinking /usr/local/Cellar/swiftlint/0.2.0... 7 symlinks removed

~ $ brew install swiftlint
==> Downloading https://homebrew.bintray.com/bottles/swiftlint-0.9.1.el_capitan.
######################################################################## 100,0%
==> Pouring swiftlint-0.9.1.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/swiftlint/0.9.1: 38 files, 15.4M

~ $ swiftlint version
0.9.1

from swinject.

yoichitgy avatar yoichitgy commented on July 30, 2024

Thank you for submitting the issue. I fixed it as PR #61. For now please use the following setting in your Cartfile until the next version is released.

github "Swinject/Swinject" "9a24dc23faf40f889d1df7c93343daaa48ee1092"

from swinject.

yoichitgy avatar yoichitgy commented on July 30, 2024

Version 1.1.0 includes the fix. Thanks @lyptt for informing the issue to me!

from swinject.

janodev avatar janodev commented on July 30, 2024

I failed to fetch Swiftlint 1.1.0 with Carthage.

My configuration:

  • carthage 0.15.1, Xcode 7.2.1
  • carthage update --platform ios --no-use-binaries
  • Cartfile:
github "Swinject/Swinject"

Terminal output:

*** Fetching Swinject
*** Checking out Swinject at "1.1.0"
*** xcodebuild output can be found in /var/folders/nd/47r7yk1s43x003v_wrrq7f9m0000gn/T/carthage-xcodebuild.TaLrEg.log
*** Building scheme "Swinject-iOS" in Swinject.xcodeproj

... million swiftlint violations...

A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
    PhaseScriptExecution Run\ SwiftLint /Users/jano/Library/Developer/Xcode/DerivedData/Swinject-dxqwfhzjwdjnuggxcdtskgifxkio/Build/Intermediates/Swinject.build/Release-iphoneos/Swinject-iOS.build/Script-98AEB3B11BE783DC0009F188.sh
(1 failure)

from swinject.

yoichitgy avatar yoichitgy commented on July 30, 2024

I had no problem with Carthage 0.15.1, Xcode 7.2.1, SwiftLint 0.9.1 and the Cartfile you provided.

Do you have any other hints to reproduce the issue?

from swinject.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.