From 46ede400e3c2d4a7a927948aa6033c894118aea5 Mon Sep 17 00:00:00 2001 From: Kestas Venslauskas Date: Mon, 19 Feb 2024 19:09:35 +0200 Subject: [PATCH] fix: iOS archive --- ios/Podfile | 3 +++ ios/Podfile.lock | 27 +++++++++++++++++++++------ ios/lrtApp.xcodeproj/project.pbxproj | 4 ++-- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index d4a17f85..4db653a1 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -62,6 +62,8 @@ target 'lrtApp' do flags = get_default_flags() pod 'react-native-google-cast', :git => 'https://github.com/Danesz/react-native-google-cast.git', branch: 'feature/guestmode_apple_silicon' + #THIS IS A WORKAROUND FOR ARCHIVE BUILD BECAUSE OF FCMImageNotification + pod 'GoogleUtilities', '~> 7.12.0' use_react_native!( :path => config[:reactNativePath], @@ -93,4 +95,5 @@ target 'FCMImageNotification' do #This was added manually #Change version if needed, just copy from Podfile.lock pod 'Firebase/Messaging', '~> 10.20.0' + pod 'GoogleUtilities', '~> 7.12.0' end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 97830780..d1c44768 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -766,12 +766,24 @@ PODS: - GoogleUtilities/Environment (~> 7.7) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) + - GoogleUtilities (7.12.0): + - GoogleUtilities/AppDelegateSwizzler (= 7.12.0) + - GoogleUtilities/Environment (= 7.12.0) + - GoogleUtilities/ISASwizzler (= 7.12.0) + - GoogleUtilities/Logger (= 7.12.0) + - GoogleUtilities/MethodSwizzler (= 7.12.0) + - GoogleUtilities/Network (= 7.12.0) + - "GoogleUtilities/NSData+zlib (= 7.12.0)" + - GoogleUtilities/Reachability (= 7.12.0) + - GoogleUtilities/SwizzlerTestHelpers (= 7.12.0) + - GoogleUtilities/UserDefaults (= 7.12.0) - GoogleUtilities/AppDelegateSwizzler (7.12.0): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Environment (7.12.0): - PromisesObjC (< 3.0, >= 1.2) + - GoogleUtilities/ISASwizzler (7.12.0) - GoogleUtilities/Logger (7.12.0): - GoogleUtilities/Environment - GoogleUtilities/MethodSwizzler (7.12.0): @@ -783,6 +795,8 @@ PODS: - "GoogleUtilities/NSData+zlib (7.12.0)" - GoogleUtilities/Reachability (7.12.0): - GoogleUtilities/Logger + - GoogleUtilities/SwizzlerTestHelpers (7.12.0): + - GoogleUtilities/MethodSwizzler - GoogleUtilities/UserDefaults (7.12.0): - GoogleUtilities/Logger - "gRPC-C++ (1.49.1)": @@ -1370,10 +1384,10 @@ PODS: - libwebp (~> 1.0) - SDWebImage/Core (~> 5.10) - SocketRocket (0.6.1) - - THEOplayer-Integration-GoogleCast/Base (6.9.0) - - THEOplayer-Integration-GoogleCast/Dependencies (6.9.0): + - THEOplayer-Integration-GoogleCast/Base (6.10.0) + - THEOplayer-Integration-GoogleCast/Dependencies (6.10.0): - google-cast-sdk-dynamic-xcframework (~> 4.7.1) - - THEOplayerSDK-core (6.9.0) + - THEOplayerSDK-core (6.10.0) - Yoga (1.14.0) DEPENDENCIES: @@ -1384,6 +1398,7 @@ DEPENDENCIES: - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - Firebase/Messaging (~> 10.20.0) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - GoogleUtilities (~> 7.12.0) - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - libevent (~> 2.1.12) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) @@ -1713,10 +1728,10 @@ SPEC CHECKSUMS: SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 - THEOplayer-Integration-GoogleCast: e17210b2b67eb3ed20a6b2766e5ddd1be6c3be30 - THEOplayerSDK-core: df300b41fbedb365e3d83eb4e2356acd07921d1b + THEOplayer-Integration-GoogleCast: 71b0204a3402cbcaba35de34463c2858a497d8ea + THEOplayerSDK-core: 2568325514d164d56203ad2b1809f3e1a1c21373 Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603 -PODFILE CHECKSUM: a9b1a1d7a1ce33cb95c0f28badaafd2e284ece4a +PODFILE CHECKSUM: f4c16f63394314129e81051688f7f8e7f13ad75a COCOAPODS: 1.15.2 diff --git a/ios/lrtApp.xcodeproj/project.pbxproj b/ios/lrtApp.xcodeproj/project.pbxproj index 5b69de14..4896d15d 100644 --- a/ios/lrtApp.xcodeproj/project.pbxproj +++ b/ios/lrtApp.xcodeproj/project.pbxproj @@ -1052,7 +1052,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = "$(inherited)"; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; @@ -1093,7 +1093,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = "$(inherited)"; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic;