Skip to content

Commit

Permalink
Merge pull request #51 from 3sidedcube/release/v3.0.0
Browse files Browse the repository at this point in the history
Release/v3.0.0
  • Loading branch information
BenShutt authored Aug 25, 2022
2 parents 501732c + 8b8e9b0 commit db575a3
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 170 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
language: swift
xcode_project: ThunderRequest.xcodeproj # path to your xcodeproj folder
osx_image: xcode12
osx_image: xcode13
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
include:
- xcode_scheme: ThunderRequest-iOS
xcode_destination: platform=iOS Simulator,OS=14.0,name=iPhone 11 Pro Max
xcode_destination: platform=iOS Simulator,OS=15.0,name=iPhone 13
- xcode_scheme: ThunderRequest-macOS
xcode_destination: platform=macOS
- xcode_scheme: ThunderRequest-tvOS
xcode_destination: platform=tvOS Simulator,OS=14.0,name=Apple TV 4K
xcode_destination: platform=tvOS Simulator,OS=15.0,name=Apple TV 4K
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Thunder Request

[![Build Status](https://travis-ci.org/3sidedcube/ThunderRequest.svg)](https://travis-ci.org/3sidedcube/ThunderRequest) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift 5.3.2](http://img.shields.io/badge/swift-5.3.2-brightgreen.svg)](https://swift.org/blog/swift-5-3-released/) [![Apache 2](https://img.shields.io/badge/license-Apache%202-brightgreen.svg)](LICENSE.md)
[![Build Status](https://travis-ci.org/3sidedcube/ThunderRequest.svg)](https://travis-ci.org/3sidedcube/ThunderRequest) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift 5.5](http://img.shields.io/badge/swift-5.5-brightgreen.svg)](https://swift.org/blog/swift-5-5-released/) [![Apache 2](https://img.shields.io/badge/license-Apache%202-brightgreen.svg)](LICENSE.md)

Thunder Request is a Framework used to simplify making http and https web requests.

Expand All @@ -10,9 +10,9 @@ Setting up your app to use ThunderBasics is a simple and quick process. You can

## Carthage

- Add `github "3sidedcube/ThunderRequest" == 2.3.1` to your Cartfile.
- Run `carthage update --platform ios` to fetch the framework.
- Drag `ThunderRequest` into your project's _Linked Frameworks and Libraries_ section from the `Carthage/Build` folder.
- Add `github "3sidedcube/ThunderRequest" == 3.0.0` to your Cartfile.
- Run `carthage update --platform ios --use-xcframeworks` to fetch the framework.
- Drag `ThunderRequest` into your project's _Frameworks and Libraries_ section from the `Carthage/Build` folder (Embed).
- Add the Build Phases script step as defined [here](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos).

## Manual
Expand Down Expand Up @@ -186,12 +186,6 @@ requestController.uploadFile(fileURL, to: "post", progress: { (progress, totalBy
}
```

# Building Binaries for Carthage

Since Xcode 12 there has been issues with building Carthage binaries caused by the inclusion of a secondary arm64 slice in the generated binary needed for Apple Silicon on macOS. This means that rather than simply using `carthage build --archive` you need to use the `./carthage-build build --archive` command which uses the script included with this repo. For more information, see the issue on Carthage's github [here](https://github.com/Carthage/Carthage/issues/3019)

We will be investigating moving over to use SPM as an agency soon, and will also look into migrating to use .xcframeworks as soon as Carthage have support for it.

# Code level documentation
Documentation is available for the entire library in AppleDoc format. This is available in the framework itself or in the [Hosted Version](http://3sidedcube.github.io/iOS-ThunderRequest/)

Expand Down
Loading

0 comments on commit db575a3

Please sign in to comment.