Skip to content

Commit

Permalink
Update Xcode version to 14.3.1 (#2018)
Browse files Browse the repository at this point in the history
* Record snapshots

* Record snapshots

* Updated snapshots

* linting new code

* Record snapshots

* Record snapshots

* chore: Update dependencies to latest versions

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
frugoman and github-actions[bot] authored Jul 25, 2024
1 parent 5ce44d1 commit 16257d3
Show file tree
Hide file tree
Showing 780 changed files with 8,371 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
jobs:
BuildDocs:
name: Build Docs
runs-on: macos-13
runs-on: macos-14
permissions:
statuses: write
pull-requests: write
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
working-directory: Example

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Install sourcekitten
run: brew install sourcekitten
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
jobs:
Setup:
name: Install Dependencies
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4

Expand All @@ -22,7 +22,7 @@ jobs:

Lint:
name: Lint Project
runs-on: macos-13
runs-on: macos-14
needs: [Setup]
steps:
- name: Checkout code
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
working-directory: Example

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Install clang-format
run: brew install clang-format
Expand All @@ -90,7 +90,7 @@ jobs:

AnalyzePods:
name: Analyzing pods
runs-on: macos-13
runs-on: macos-14
needs: [Setup]
strategy:
fail-fast: false
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
working-directory: Example

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Analyze
run: ./scripts/ci ${{ matrix.schemes }} analysis
Expand All @@ -137,7 +137,7 @@ jobs:

UploadArtifacts:
name: Upload Artifacts
runs-on: macos-13
runs-on: macos-14
needs: [TestPods]
steps:
- name: Save assets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:
jobs:
TestPods:
name: Testing Pods
runs-on: macos-13
runs-on: macos-14
outputs:
changed-files: ${{ steps.checkSnapshotChanges.outputs.didChangeFiles }}
steps:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
working-directory: Example

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Remove snapshots
if: ${{inputs.retake_snapshots}}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/workflows/_build.yml
Deploy-Common:
name: Release Common to Cocoapods
runs-on: macos-13
runs-on: macos-14
environment: Publishing
needs: [Build]
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
run: bundle install --jobs 4 --retry 3

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Publish Pods - Backpack Common
run: |
Expand All @@ -46,7 +46,7 @@ jobs:

Deploy-UIKit:
name: Release UIKit to Cocoapods
runs-on: macos-13
runs-on: macos-14
environment: Publishing
needs: [Build]
steps:
Expand All @@ -62,7 +62,7 @@ jobs:
run: bundle install --jobs 4 --retry 3

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Publish Pods - Backpack UIKit
run: |
Expand All @@ -75,7 +75,7 @@ jobs:

Deploy-SwiftUI:
name: Release SwiftUI to Cocoapods
runs-on: macos-13
runs-on: macos-14
environment: Publishing
needs: [Build]
steps:
Expand All @@ -91,7 +91,7 @@ jobs:
run: bundle install --jobs 4 --retry 3

- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.2.app
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app

- name: Publish Pods - Backpack SwiftUI
run: |
Expand All @@ -104,7 +104,7 @@ jobs:

Deploy-Docs:
name: Release Backpack Docs
runs-on: macos-13
runs-on: macos-14
environment: Publishing
needs: [Deploy-SwiftUI, Deploy-UIKit, Deploy-Common]
steps:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions Backpack.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ Pod::Spec.new do |s|
s.exclude_files = 'Backpack/Tests/**'
s.public_header_files = 'Backpack/Backpack.h', 'Backpack/*/Classes/**/*.h'

s.dependency 'FSCalendar', '~> 2.8.2'
s.dependency 'FloatingPanel', '2.5.3'
s.dependency 'Backpack-Common'
s.dependency 'MBProgressHUD', '~> 1.2.0'
s.frameworks = 'UIKit', 'Foundation', 'CoreText'
s.requires_arc = true
s.swift_versions = ['5.0', '4.2', '4.0']
Expand Down
10 changes: 5 additions & 5 deletions Backpack/Calendar/Classes/BPKCalendar.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#import <Foundation/Foundation.h>
#import <objc/runtime.h>

#import <FSCalendar/FSCalendar.h>
#import <FSCalendar/FSCalendarCollectionView.h>
#import <FSCalendar/FSCalendarDynamicHeader.h>
#import <FSCalendar/FSCalendarExtensions.h>
#import <FSCalendar/FSCalendarWeekdayView.h>
#import "FSCalendar.h"
#import "FSCalendarCollectionView.h"
#import "FSCalendarDynamicHeader.h"
#import "FSCalendarExtensions.h"
#import "FSCalendarWeekdayView.h"

#import <Backpack/Color.h>
#import <Backpack/Common.h>
Expand Down
2 changes: 1 addition & 1 deletion Backpack/Calendar/Classes/BPKCalendarAppearance.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#import <FSCalendar/FSCalendar.h>
#import "FSCalendar.h"

#import <Backpack/Font.h>

Expand Down
2 changes: 1 addition & 1 deletion Backpack/Calendar/Classes/BPKCalendarCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#import <FSCalendar/FSCalendar.h>
#import "FSCalendar.h"

typedef NS_ENUM(NSUInteger, SelectionType) {
SelectionTypeNone,
Expand Down
4 changes: 2 additions & 2 deletions Backpack/Calendar/Classes/BPKCalendarCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

#import "BPKCalendarCellSpacing.h"

#import <FSCalendar/FSCalendarDynamicHeader.h>
#import <FSCalendar/FSCalendarExtensions.h>
#import "FSCalendarDynamicHeader.h"
#import "FSCalendarExtensions.h"

#import <Backpack/Color.h>
#import <Backpack/Font.h>
Expand Down
2 changes: 1 addition & 1 deletion Backpack/Calendar/Classes/BPKCalendarHeaderCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#import <FSCalendar/FSCalendar.h>
#import "FSCalendar.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion Backpack/Calendar/Classes/BPKCalendarMonthDateProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#import "BPKCalendarMonthDateProvider.h"

#import "FSCalendarExtensions.h"
#import <Backpack/SimpleDate.h>
#import <FSCalendar/FSCalendarExtensions.h>
#import <Foundation/Foundation.h>

@interface BPKCalendarMonthDateProvider ()
Expand Down
4 changes: 2 additions & 2 deletions Backpack/Calendar/Classes/BPKCalendarStickyHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* limitations under the License.
*/

#import <FSCalendar/FSCalendar.h>
#import "FSCalendar.h"

#import <FSCalendar/FSCalendarStickyHeader.h>
#import "FSCalendarStickyHeader.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Loading

0 comments on commit 16257d3

Please sign in to comment.