Comments (6)
Update. I pinged the folks in the Swift Package manager slack. They said...
It looks as if the sources: ["."] in the package manifest of the package is causing every file in that directory to be treated as a source file. That line has been in the manifest for a while, so that could be a bug in Swift 5. I don’t know if that was a deliberate change in behavior for swift-tools-version:5.0 packages, but even if it were, it doesn’t seem that the dependency should be treated that way, since it is declaring itself as 4.0
Still pending more comments from them, but I think we may be able to fix this by updating this line to point to a nested folder instead (
Line 47 in 823281f
from secp256k1.swift.
I also confirmed this happened between Swift 5.1->5.2.2. As it does not repro on Swift 5.1
from secp256k1.swift.
@ravelasquez99 Thanks for identifying this issue. But I don't understand what exactly causes the issue. Is it really the "."? Changing it to a subfolder and moving all the files just works? Could you give it a try and make a PR if it works?
from secp256k1.swift.
You would only have to move the files secp256k1-config.h
, secp256k1_ec_mult_static_context.h
and secp256k1_main.h
to a headers subfolder and change the "." to "headers". If this is the issue...
from secp256k1.swift.
For me the error seems more like the compiler is trying to compile non source files. In which case I do really hope they support regex paths already as it would really be painful including all files manually...
from secp256k1.swift.
@ravelasquez99 I can build the library. Please close this issue unless it persists with current Swift versions.
from secp256k1.swift.
Related Issues (9)
- Can't install using Carthage HOT 2
- Swift 5.0 Support HOT 1
- How to perform ECC point multiplication using EC public key and EC private key.
- Xcode 13 warnings modules/ecdh + modules/recovery file not found HOT 3
- Build error after latest changes HOT 1
- Encrypt Decrypt using generated KeyPair
- Swift C++ interoperability HOT 2
- Carthage Support for MacOS 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 secp256k1.swift.