Git Product home page Git Product logo

Comments (3)

rootscript avatar rootscript commented on June 9, 2024 1

@trsathya - thanks for the quick reply. Unfortunately, I am not skilled enough to make the changes to upgrade the manifest file. But I can point you to docs, if that makes things easier: https://swift.org/blog/swift-package-manager-manifest-api-redesign/
&
https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md

If I could fix it myself I would, but I have less than 24 hours experience with swift ( just a hobbyist swift scripter ). I am more than happy to report back any problems to you.

from cryptex.

trsathya avatar trsathya commented on June 9, 2024

@rootscript Feel free to send a pull request.

from cryptex.

rootscript avatar rootscript commented on June 9, 2024

@trsathya Thanks for that, I tested using Swift Package Manger 4 (Apple Swift version 4.0.3), and it builds without error.
I used the following Package.swift

// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "cryptexSwift",
    dependencies: [
      .package(url: "https://github.com/trsathya/Cryptex.git", from: "0.0.3"),
    ],
    targets: [
        .target(
            name: "cryptexSwift",
            dependencies: ["Cryptex"]),
    ]
)

Only has a warning, but still builds:

warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
                        let nonce = Int(error.substring(with: startRange.upperBound..<endRange.lowerBound))
                                              ^
/Users/username/cryptexSwift/.build/checkouts/Cryptex.git--8883681985385158736/Poloniex/Poloniex.swift:325:47: warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
                        let nonce = Int(error.substring(with: startRange.upperBound..<endRange.lowerBound))

from cryptex.

Related Issues (9)

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.