Comments (2)
Hi @joerland2,
This might be relevant #225
from networking.
To install Networking with SPM on Xcode 11 you need to change the swift-tools-version to 4.2 at the top of Networking's Package.swift file. It's because UIImage.jpegData(compressionQuality: 1)
was introduced in Swift 4.2
// swift-tools-version:4.2
Sample Package.swift with Networking dependency:
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "PackageLibrary",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "PackageLibrary",
targets: ["PackageLibrary"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(path: "../../Networking/"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "PackageLibrary",
dependencies: ["Networking"]),
.testTarget(
name: "PackageLibraryTests",
dependencies: ["PackageLibrary"]),
]
)
from networking.
Related Issues (20)
- Support for JSONDecoder HOT 8
- Token Refresh HOT 6
- Json parameters support on DELETE HOT 3
- Progress Multipart Upload HOT 2
- Support PATCH method HOT 1
- Network Activity Indicator not showing
- Change the base URL for a single request? HOT 1
- Caching folder should not be documents folder HOT 1
- fakeGET crashes under XCode 10.0 and Swift 4.2
- Expose handleJSONRequest(..)? HOT 3
- Problem with changes on UI Threath HOT 3
- `cacheOrPurgeData` causing production crashes HOT 3
- Can't use Swift 5 Result enum due to interference with custom one. Need to rename? HOT 3
- I didn't found way to get my body data as json parsing is failing HOT 7
- Facing a strange crash time to time HOT 3
- No waitsForConnectivity support for background request. HOT 1
- Using Networking lib to make a post in the background? HOT 3
- Question - Request caching HOT 2
- Troubleshooting Logging Errors in Xcode
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 networking.