From 81452c46d8d9e4691d9bbc365f97a484d71f1048 Mon Sep 17 00:00:00 2001 From: RyosukeCla Date: Fri, 11 Oct 2024 16:38:34 +0900 Subject: [PATCH 1/2] fix --- .../e2e/ios/Runner.xcodeproj/project.pbxproj | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flutter/nativebrik_bridge/e2e/ios/Runner.xcodeproj/project.pbxproj b/flutter/nativebrik_bridge/e2e/ios/Runner.xcodeproj/project.pbxproj index 487071f..91695d9 100644 --- a/flutter/nativebrik_bridge/e2e/ios/Runner.xcodeproj/project.pbxproj +++ b/flutter/nativebrik_bridge/e2e/ios/Runner.xcodeproj/project.pbxproj @@ -161,7 +161,6 @@ B9C9C36511C3138F37154FA6 /* Pods-RunnerTests.release.xcconfig */, 97727B89B5181B32354A5E0C /* Pods-RunnerTests.profile.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -486,7 +485,7 @@ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -675,7 +674,7 @@ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -702,7 +701,7 @@ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; From 376b081bf4a836898d9bd33553c43646e0674805 Mon Sep 17 00:00:00 2001 From: RyosukeCla Date: Fri, 11 Oct 2024 16:39:44 +0900 Subject: [PATCH 2/2] mv TipKit to weak_frameworks --- Nativebrik.podspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Nativebrik.podspec b/Nativebrik.podspec index 77bbe33..4963e2b 100644 --- a/Nativebrik.podspec +++ b/Nativebrik.podspec @@ -17,6 +17,10 @@ Nativebrik SDK for iOS. s.source_files = 'ios/Nativebrik/Nativebrik/**/*' - s.frameworks = 'UIKit', 'Foundation', 'SwiftUI', 'Combine', 'YogaKit', 'Yoga', 'TipKit', 'ImageIO', 'SafariServices' + # common deps + s.frameworks = 'UIKit', 'Foundation', 'SwiftUI', 'Combine', 'YogaKit', 'Yoga', 'ImageIO', 'SafariServices' + + # >= ios 17.0 + s.weak_frameworks = 'TipKit' s.dependency 'YogaKit', '~> 2.0.0' end