Skip to content

Commit

Permalink
build: enable to build on iOS 17 by xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
kosukesaigusa committed Sep 28, 2023
1 parent 7ce3e72 commit 30f6340
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions packages/mottai_flutter_app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,13 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
### START: Fix for Xcode 15.0 ###
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
### END: Fix for Xcode 15.0 ###
end
end
end
6 changes: 3 additions & 3 deletions packages/mottai_flutter_app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ SPEC CHECKSUMS:
FirebaseCoreExtension: 976638051b1a46b503afce7ec80277f9161f2040
FirebaseCoreInternal: d558159ee6cc4b823c2296ecc193de9f6d9a5bb3
FirebaseDynamicLinks: 1a387da899779e5ef34f4d6f8bdba882f90d0e67
FirebaseFirestore: 8d9dd05bb50e0891ebe4fdd9bd0f9b9d22ea5556
FirebaseFirestore: 5d42819d1b219bc20e91c0cc854ed562680f31da
FirebaseFunctions: d49c7920b289d85029882927e4056ad04a906e19
FirebaseInstallations: f672b1eda64e6381c21d424a2f680a943fd83f3b
FirebaseMessaging: bb2c4f6422a753038fe137d90ae7c1af57251316
Expand Down Expand Up @@ -379,6 +379,6 @@ SPEC CHECKSUMS:
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4

PODFILE CHECKSUM: e5e57377bd5fff00d6d1c5fa3559e4346fd8c03e
PODFILE CHECKSUM: 1d2d2d154c27a38a128199d975526f28373f2b4f

COCOAPODS: 1.12.0
COCOAPODS: 1.13.0
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down

0 comments on commit 30f6340

Please sign in to comment.