kylef-archive/WebLinking.swift

Carthage support

Closed this issue · 2 comments

Thank you for this, works great.

It would be nice if there was support for building it through Carthage.

kylef commented

Thanks, c986cf4 should add Carthage support, can you please confirm that it works for you (requires Carthage 0.9.0 or newer).

Thank you for the quick reply! I'm getting this error when compiling:

➜  TestWebLinking git:(master) ✗ carthage bootstrap
*** Checking out WebLinking.swift at "1.0.0"
*** xcodebuild output can be found in /var/folders/dq/t06w98396l19ljdq183xlnl00000gn/T/carthage-xcodebuild.VjgIZe.log
*** Building scheme "WebLinking" in WebLinking.xcodeproj
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal armv7k /Users/simon/Documents/Code/Tests/TestWebLinking/Carthage/Checkouts/WebLinking.swift/WebLinkingTests/WebLinkingTests.swift
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/simon/Documents/Code/Tests/TestWebLinking/Carthage/Checkouts/WebLinking.swift/WebLinkingTests/WebLinkingTests.swift:10:8: error: no such module 'XCTest'
A shell task failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal armv7k /Users/simon/Documents/Code/Tests/TestWebLinking/Carthage/Checkouts/WebLinking.swift/WebLinkingTests/WebLinkingTests.swift
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)

For reference:

➜  TestWebLinking git:(master) ✗ xcodebuild -version
Xcode 7.1
Build version 7B91b
➜  TestWebLinking git:(master) ✗ carthage version
0.9.3