Comments (3)
@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.
@rootscript Feel free to send a pull request.
from cryptex.
@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)
- Carthage won't install
- Cryptex doesn't build with carthage HOT 1
- Binance Api For Order not working HOT 1
- Kraken invalid nonce HOT 1
- Update getAccountBalances method in Kraken to safely unrwarp arrayOfCryptoBalances HOT 1
- Binance Exchange example, documentation. HOT 2
- Missing GetMarkets function in Cryptopia exchange.
- Problem with retrieving getAccountBalances or getBalances for Kraken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptex.