KeyClip icon indicating copy to clipboard operation
KeyClip copied to clipboard

Unable to build

Open katoree opened this issue 10 years ago • 2 comments

Running Carthage 0.8.0 and xcode 6.3.2 I'm constantly running into issues with Keyclip for some reason

The following build commands failed:
    CompileSwift normal x86_64 /Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:211:31: error: consecutive statements on a line must be separated by ';'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:216:15: error: expected 'while' in 'do-while' loop
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:216:31: error: consecutive statements on a line must be separated by ';'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:216:32: error: expected expression
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:216:43: error: braced block of statements is an unused closure
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:252:46: error: consecutive statements on a line must be separated by ';'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:257:19: error: expected 'while' in 'do-while' loop
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:257:35: error: consecutive statements on a line must be separated by ';'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:257:36: error: expected expression
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:257:47: error: braced block of statements is an unused closure
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:301:27: warning: 'failure failure' can be expressed more succinctly as '#failure'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:322:30: warning: 'status status' can be expressed more succinctly as '#status'
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:327:30: warning: 'error error' can be expressed more succinctly as '#error'
        private func failure(error error: NSError, function: String = __FUNCTION__, line: Int = __LINE__, failure: ((NSError) -> Void)?) {
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:216:25: error: type annotation missing in pattern
/Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift:257:29: error: type annotation missing in pattern
A shell task failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal x86_64 /Users/localstackpro/Github/getclink-ios/Carthage/Checkouts/KeyClip/KeyClip/KeyClip.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

katoree avatar Aug 18 '15 01:08 katoree

Please use the following Cartfile in Xcode 6.3.2. Newest tag is swift-2.0 ( https://github.com/s-aska/KeyClip/releases/tag/1.3.1 ), I'm sorry.

github "s-aska/KeyClip" "feature/swift-1.2"

Please retry to turn off the cache.

rm -fr ~/Library/Developer/Xcode/DerivedData
rm -fr ~/Library/Caches/com.apple.dt.Xcode*

s-aska avatar Aug 18 '15 05:08 s-aska

We're sorry. If you do not upgrade to Xcode 6.4 you can not build.

s-aska avatar Aug 19 '15 15:08 s-aska