Giter VIP home page Giter VIP logo

commoncrypto's Issues

Problems compiling BlueCryptor with CommonCrypto

When I try to swift build BlueCryptor on OSX, I get:

BlueCryptor/Packages/CommonCrypto-0.1.0/module.modulemap:18:12: error: header '/usr/include/CommonCrypto/CommonCrypto.h' not found
header "/usr/include/CommonCrypto/CommonCrypto.h"
^
BlueCryptor/Sources/Digest.swift:21:9: error: could not build Objective-C module 'CommonCrypto'
import CommonCrypto
^
...

BlueCryptor builds fine on Linux.

Swift package resolve haning on CommonCrypto

import PackageDescription

let package = Package(
  name: "MyServer",
  products: [
    .executable(name: "my-server", targets: ["my-server"])
  ],
  dependencies: [
    .package(url: "https://github.com/IBM-Swift/Kitura.git", .upToNextMinor(from: "2.6.1")),
    .package(url: "https://github.com/IBM-Swift/Kitura-CredentialsHTTP.git", .upToNextMinor(from: "2.1.1")),
    .package(url: "https://github.com/jakeheis/SwiftCLI.git", .upToNextMinor(from: "4.0.1")),
    .package(url: "https://github.com/OpenKitten/MongoKitten.git", .upToNextMinor(from: "4.1.1")),
    .package(url: "https://github.com/IBM-Swift/HeliumLogger.git", .upToNextMinor(from: "1.8.0")),
    .package(url: "https://github.com/tettoffensive/Cache.git", .upToNextMinor(from: "4.1.3")),
    .package(url: "https://github.com/RuntimeTools/SwiftMetrics.git", from: "2.0.0"),
    .package(url: "https://github.com/IBM-Swift/Health.git", from: "1.0.0"),
  ],
  targets: [
    // Targets are the basic building blocks of a package. A target can define a module or a test suite.
    // Targets can depend on other targets in this package, and on products in packages which this package depends on.
    .target(name: "MyServerLib", dependencies: ["Kitura","CredentialsHTTP","MongoKitten","HeliumLogger","Cache","SwiftMetrics","Health"]),
    .testTarget(name: "MyServerLibTests", dependencies: ["MyServerLib"]),
    .target(name: "my-server", dependencies: ["MyServerLib","SwiftCLI",]),
    ]
)

I'm running swift package resolve on my project with swift 4.2.1 and when it gets to this line:

Fetching https://github.com/IBM-Swift/CommonCrypto.git

It just hangs. I've tried turning off all the Kiture stuff and it runs fine. Not sure whats going on with this particular package.

Any ideas?

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.