Skip to content

Commit

Permalink
Merge pull request DroidKaigi#700 from DroidKaigi/use-ios16-only
Browse files Browse the repository at this point in the history
[iOS] Remove iOS15 support
  • Loading branch information
ry-itto authored Sep 24, 2022
2 parents ec5f0d4 + bacea7f commit 2847045
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/iOSBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s '/Applications/Xcode_14.0.app'
- name: Validate Gradle Wrapper
uses: gradle/[email protected]
- name: Copy CI gradle.properties
Expand All @@ -34,12 +36,6 @@ jobs:
with:
name: XCFrameworks
path: appioscombined.xcframework.zip
- name: Build Modules that includes plugin (Workaround for Xcode 13.x)
working-directory: app-ios
run: |
scripts/build.sh build Assets Debug
scripts/build.sh build Theme Debug
scripts/build.sh build AboutFeature Debug
- name: Build App
working-directory: app-ios
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/iOSLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s '/Applications/Xcode_14.0.app'
- name: Run swiftlint command plugin
working-directory: app-ios
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.4;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -361,7 +361,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.4;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
4 changes: 2 additions & 2 deletions app-ios/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.6
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -7,7 +7,7 @@ var package = Package(
name: "DroidKaigiPackage",
defaultLocalization: "en",
platforms: [
.iOS(.v15),
.iOS(.v16),
],
products: [
.library(name: "AboutFeature", targets: ["AboutFeature"]),
Expand Down
2 changes: 1 addition & 1 deletion app-ios/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SCHEME=${2}
CONFIGURATION=${3}

PROJECT=DroidKaigi2022/DroidKaigi2022.xcodeproj
PLATFORM_IOS="iOS Simulator,name=iPhone 13 Pro,OS=15.5"
PLATFORM_IOS="iOS Simulator,name=iPhone 14 Pro,OS=16.0"

echo "⚙️ Building $SCHEME..."
set -o pipefail && xcodebuild $TYPE \
Expand Down

0 comments on commit 2847045

Please sign in to comment.