beccadax / SwiftDigest

Calculate digests (hashes) of data from Swift
11 stars 1 forks source link

build for Carthage #1

Open dja opened 9 years ago

dja commented 9 years ago

Hey Brent,

Great framework. I'm hoping, can you tag SwiftDigest with the version number and see if you can get it working to be built using Carthage? I'd like to use SwiftDigest in something, and Carthage has been an easy way to build frameworks into my projects.

Thanks, Daniel

dja commented 9 years ago

by the way, I tried it myself just letting Carthage build it, and got these failures:

*** Checking out SwiftDigest at "v0.1.1"
*** xcodebuild output can be found in /var/folders/hq/ks938g_x707crrprxvdsn1h00000gp/T/carthage-xcodebuild.Rt1QH8.log
*** Building scheme "Alamofire" in Alamofire.xcworkspace
*** Building scheme "SwiftDigest" in SwiftDigest.xcodeproj
2015-01-05 18:25:00.842 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/AlgorithmType.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “AlgorithmType.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8abd4d30 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/AlgorithmType.d, NSUnderlyingError=0x7fcb8abc5680 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/AlgorithmType.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.863 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA256.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “SHA256.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8acb8d20 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA256.d, NSUnderlyingError=0x7fcb886d7150 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA256.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.883 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA1.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “SHA1.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8abd86f0 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA1.d, NSUnderlyingError=0x7fcb8abd9390 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/SHA1.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.899 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/DigestBuffer.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “DigestBuffer.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8abd2da0 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/DigestBuffer.d, NSUnderlyingError=0x7fcb8abd8730 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/DigestBuffer.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.920 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Convenience.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Convenience.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8ad4c9d0 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Convenience.d, NSUnderlyingError=0x7fcb8ad53580 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Convenience.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.940 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digest.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Digest.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb886d52e0 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digest.d, NSUnderlyingError=0x7fcb8abb5c50 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digest.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.957 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Utility.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Utility.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8aad6ac0 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Utility.d, NSUnderlyingError=0x7fcb8abd0bd0 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Utility.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2015-01-05 18:25:00.980 xcodebuild[6708:1140346]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6269/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digestible.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Digestible.d” couldn’t be opened because there is no such file." UserInfo=0x7fcb8ad9a830 {NSFilePath=/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digestible.d, NSUnderlyingError=0x7fcb886d5320 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/danielarcher/Library/Developer/Xcode/DerivedData/SwiftDigest-atwvgmiwrhmtxqcjmtmdgqkfjtqn/Build/Intermediates/SwiftDigest.build/Release/SwiftDigest.build/Objects-normal/x86_64/Digestible.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fcb8abb7600>{number = 8, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **

The following build commands failed:
    CompileSwift normal x86_64 /Users/danielarcher/Cogo/xcode/snapchattestapp/Snapchatter/Carthage/Checkouts/SwiftDigest/SwiftDigest/AlgorithmType.swift
    CompileSwift normal x86_64 /Users/danielarcher/Cogo/xcode/snapchattestapp/Snapchatter/Carthage/Checkouts/SwiftDigest/SwiftDigest/SHA256.swift
    CompileSwift normal x86_64 /Users/danielarcher/Cogo/xcode/snapchattestapp/Snapchatter/Carthage/Checkouts/SwiftDigest/SwiftDigest/SHA1.swift
    CompileSwift normal x86_64 /Users/danielarcher/Cogo/xcode/snapchattestapp/Snapchatter/Carthage/Checkouts/SwiftDigest/SwiftDigest/DigestBuffer.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(5 failures)