Skip to content

Commit 43f3404

Browse files
authored
Merge pull request #314 from bustoutsolutions/bump-swift-package-version
Make Package.swift use swift-tools-version 5.3
2 parents 41663b4 + 6f142d0 commit 43f3404

File tree

6 files changed

+18
-21
lines changed

6 files changed

+18
-21
lines changed

.jazzy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exclude:
1111

1212
copyright: '© 2020 [Bust Out Solutions](http://bustoutsolutions.com) under [open source license](https://github.com/bustoutsolutions/siesta/blob/master/LICENSE).'
1313

14-
swift_version: 5.2
14+
swift_version: 5.3.1
1515

1616
theme: fullwidth
1717

.travis.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,24 @@ branches:
66

77
language: objective-c
88
os: osx
9-
osx_image: xcode11.3
9+
osx_image: xcode12.2
1010
env:
1111
- scheme='Siesta macOS' platform='OS X'
12-
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='13.3' sim_device='iPhone 11 Pro'
13-
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='12.4' sim_device='iPhone SE'
14-
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='11.4' sim_device='iPhone 6'
15-
16-
## Travis doesn't include iOS 9 anymore, so we unfortunately can't regression test on a 32-bit device:
17-
# - scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='9.3' sim_device='iPhone 4s'
18-
19-
## Bundled libraries for tvOS on swift 5.1 are broken; restore when Travis publishes xcode11.4:
20-
# - scheme='Siesta tvOS' platform='tvOS Simulator' sim_os='tvOS' sim_os_version='13.3' sim_device='Apple TV 4K 1080p'
12+
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='14.2' sim_device='iPhone 11 Pro'
13+
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='13.7' sim_device='iPhone SE'
14+
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='12.4' sim_device='iPhone 8'
15+
- scheme='Siesta iOS' platform='iOS Simulator' sim_os='iOS' sim_os_version='10.3.1' sim_device='iPhone 6'
16+
- scheme='Siesta tvOS' platform='tvOS Simulator' sim_os='tvOS' sim_os_version='14.0' sim_device='Apple TV 4K 1080p'
2117

2218
before_install: |
2319
set -x
2420
2521
if [[ "$platform" =~ \ Simulator$ ]]; then
22+
sim_os_version_minor=$(echo $sim_os_version | ruby -ne '$_ =~ /^(\d+\.\d+)/; puts $1') # spec below doesn't include patch version number
2623
sim_simulator_udid=$(
2724
xcrun simctl create "Siesta testing device" \
2825
"com.apple.CoreSimulator.SimDeviceType.${sim_device// /-}" \
29-
"com.apple.CoreSimulator.SimRuntime.${sim_os}-${sim_os_version//./-}"
26+
"com.apple.CoreSimulator.SimRuntime.${sim_os}-${sim_os_version_minor//./-}"
3027
)
3128
echo "Prelaunching iOS simulator with UDID $sim_simulator_udid"
3229
xcrun simctl boot $sim_simulator_udid

Examples/GithubBrowser/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
2-
- Siesta/Core (1.5.1)
3-
- Siesta/UI (1.5.1):
2+
- Siesta/Core (1.5.2)
3+
- Siesta/UI (1.5.2):
44
- Siesta/Core
55

66
DEPENDENCIES:
@@ -11,8 +11,8 @@ EXTERNAL SOURCES:
1111
:path: "../.."
1212

1313
SPEC CHECKSUMS:
14-
Siesta: 0b689eff328778c754c4f9afe33ffd70af5ada3d
14+
Siesta: d1e1966af43ffca170f658ad6d987228a5b40873
1515

1616
PODFILE CHECKSUM: 974001388daa9ecbfa915ea0bc4093a33242099c
1717

18-
COCOAPODS: 1.9.1
18+
COCOAPODS: 1.10.0

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.3
22
import PackageDescription
33

44
let package = Package(

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ In Xcode:
133133
- Also check “SiestaUI” if you want to use any of the [UI helpers](https://github.com/bustoutsolutions/siesta/tree/master/Source/SiestaUI).
134134
- Also check “Siesta_Alamofire” if you want to use the Alamofire extension for Siesta.
135135
* Click “Finish.”
136-
* SwiftPM does not yet support resources supplied by dependencies. This means that if:
136+
* Siesta does not yet support resources supplied by dependencies. This means that if:
137137
- you included `SiestaUI` above
138138
- and you plan to use `ResourceStatusOverlay`
139139
- and you are using its default initializer instead of providing your own custom UI layout,
140140

141141
…then you’ll need to copy [`ResourceStatusOverlay.xib`](https://github.com/bustoutsolutions/siesta/raw/master/Source/SiestaUI/ResourceStatusOverlay.xib) into your own project.
142142

143-
SwiftPM has support for this coming, but it hasn’t arrived yet as of Swift 5.2.
143+
SwiftPM just recently added support for this, and Siesta will add it in the next release.
144144

145145
Please note that Xcode will show _all_ of Siesta’s optional and test-only dependencies, including Quick, Nimble, and Alamofire. Don’t worry: these won’t actually be bundled into your app (except Alamofire, if you use it).
146146

Siesta.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "Siesta"
4-
s.version = "1.5.1"
4+
s.version = "1.5.2"
55
s.summary = "Swift REST client library"
66

77
s.description = <<-DESC
@@ -72,7 +72,7 @@ Pod::Spec.new do |s|
7272
s.osx.deployment_target = "10.12"
7373
s.tvos.deployment_target = "10.0"
7474

75-
s.source = { :git => "https://github.com/bustoutsolutions/siesta.git", :tag => "1.5.1" }
75+
s.source = { :git => "https://github.com/bustoutsolutions/siesta.git", :tag => "1.5.2" }
7676

7777
s.subspec "Core" do |s|
7878
s.source_files = "Source/Siesta/**/*"

0 commit comments

Comments
 (0)