Https support is unavailable on swift
Open
- Dominant language
- Java
- Stars
- 6k
- Forks
- 999
- Avg merge
- 19h 20m
- Merged PRs (30d)
- 14
Description
```
SwiftModulesTests.swift:48: error: -[SwiftModulesTests.SwiftModulesTests testExample] : failed: caught "ComGoogleJ2objcLibraryNotLinkedError", "Https support is unavailable. Fix this by:
1) If linking with -ObjC, add -ljre_ssl to the link flags.
2) If linking without -ObjC, call JavaxNetSslHttpsURLConnection_class_() to create a compile-time dependency."
```
I'm currently using the framework and already added this:
``` java
private static final Class unused0 = HttpsURLConnection.class;
private static final Class unused1 = HttpURLConnection.class;
```
I'm assuming that everything is baked into the JRE.framework.
It's still throwing the same error.
Contributor guide
Assessment
This issue has not been assessed yet.