Skip to content
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

I'm having trouble building with Carthage #64

Closed
jessegrosjean opened this issue Jul 31, 2018 · 1 comment
Closed

I'm having trouble building with Carthage #64

jessegrosjean opened this issue Jul 31, 2018 · 1 comment

Comments

@jessegrosjean
Copy link

jessegrosjean commented Jul 31, 2018

The error maybe related to swiftlint problems? I have swiftlint version 0.26.0.

Here's the error that I see:

*** Building scheme "SwiftShell" in SwiftShell.xcodeproj
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/SwiftShell.xcodeproj -scheme SwiftShell -configuration Release -derivedDataPath /Users/jessegrosjean/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/SwiftShell/4.1.0 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/kl/mq456jxs2hl13xn41v0pl9qh0000gn/T/SwiftShell SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kl/mq456jxs2hl13xn41v0pl9qh0000gn/T/carthage-xcodebuild.cGhLjB.log

And then in carthage-xcodebuild.cGhLjB.log I see:

...
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:274: warning: Line Length Violation: Line should be 120 characters or less: currently 143 characters (line_length)
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:284: warning: Line Length Violation: Line should be 120 characters or less: currently 157 characters (line_length)
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:294: error: Line Length Violation: Line should be 120 characters or less: currently 252 characters (line_length)
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:385: warning: Line Length Violation: Line should be 120 characters or less: currently 134 characters (line_length)
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:449: warning: Line Length Violation: Line should be 120 characters or less: currently 133 characters (line_length)
/Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/Sources/SwiftShell/Command.swift:466: warning: File Line Length Violation: File should contain 400 lines or less: currently contains 466 (file_length)
Done linting! Found 245 violations, 34 serious in 22 files.

** ARCHIVE FAILED **


The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/jessegrosjean/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/SwiftShell/4.1.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftShell/IntermediateBuildFilesPath/SwiftShell.build/Release/SwiftShell.build/Script-BA50D29D1E9714C7002BA4A5.sh
(1 failure)
@kareman
Copy link
Owner

kareman commented Jul 31, 2018

You're right, this is a bug with swiftlint. I have released a new version of SwiftShell which removes the swiftlint build phase from Xcode. It was inactive anyway.

@kareman kareman closed this as completed Jul 31, 2018
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

No branches or pull requests

2 participants