Comments (7)
I just ran the same thing this morning and all is working as it should.
I'm afraid I don't know why but perhaps there were some teething issues with Swift 3.1 that were resolved?
from bluesslservice.
I'm having this same problem intermittently. This was happening last week, and I thought it was something about my setup. Then, it started working, and has been working just fine until about an hour ago. Now, it won't fetch. I've been able to fetch all the other packages for my project, but it just gets stuck on this one, acting as though it's in an infinite loop.
I can't imagine what's happening. It's just retrieving files, yeah? Maybe this package is on a server that's going bad or suddenly becoming very busy?
My Package.swift file looks like:
import PackageDescription
let package = Package(
name: "KituraAPI",
targets: [],
dependencies: [
.Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 1, minor: 7),
.Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 1, minor: 7),
.Package(url: "https://github.com/IBM-Swift/Swift-SMTP", Version(1,1,2)),
]
)
from bluesslservice.
Here's where it sits, cursor blinking, Terminal title bar flashing:
$ swift build
Fetching https://github.com/IBM-Swift/Kitura.git
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetching https://github.com/IBM-Swift/Swift-SMTP.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/CCurl.git
Fetching https://github.com/IBM-Swift/BlueSSLService.git
I ctrl-c
to exit eventually, wait awhile, then try again, but still not working
from bluesslservice.
For anyone who comes here later: my particular issue was caused by an invalid tag in Swift-SMTP.
To troubleshoot, I used swift build -v
, which gives a (very) verbose listing of what's happening in the build process.
It was indeed looping, trying to fulfill the version dependency but blocked by the invalid tag.
from bluesslservice.
@leanne63 It sounds like you were seeing ongoing output, indicating looping. I'm seeing build hang at a fetch, but with the -v option, I see no ongoing output. In my case the build hangs at a different library (Fetching https://github.com/IBM-Swift/HeliumLogger.git).
from bluesslservice.
Well. It seems I spoke too soon. It just took a long time after the last Fetch. Maybe 10-20 minutes?
from bluesslservice.
This hang is the Swift Package Manager's way of indicating dependency hell. The trick is finding the one causing the problem. Use the -v
option to get some ideas. Also, you might manually walk through your dependencies and their sub-dependencies. One of them is invalid or can't be resolved due to a conflict of some sort. In my case it was a bad tag; however, it's more likely to be two versions that can't get along.
from bluesslservice.
Related Issues (20)
- Data sending slowed down after using BlueSSLService HOT 7
- Forward Secrecy & App Transport Security test fails HOT 1
- Does not work with macOS in Terminal HOT 6
- Failing build under Linux HOT 7
- PKCS12 file not specified HOT 3
- iOS Product Target HOT 1
- Can we use an asymmetric key pair instead of a p12 for iOS? HOT 2
- Documentation example showing a TLS client needed HOT 4
- No such module 'SSLService' HOT 3
- BlueSSLService cannot be cross-compiled HOT 1
- Want to enable Pre-Shared Key communication using SSL Service class HOT 1
- BlueSSLService client cannot connect to stunnel server on windows HOT 1
- .
- Socket.read(...) unexpectedly returns 0 HOT 3
- The SSL methods are deprecated and not supported in iOS13 and Mac-catalina HOT 2
- Problem with expired certificate
- Socket does not write until data is read HOT 2
- Socket error: PKCS12 file not specified. HOT 1
- SSLRead bad certificate
- `verifyCallback` not being called
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 bluesslservice.