From f36fca99086d5159d0888e6561cc3dd6d5ba1c71 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 7 Mar 2024 15:49:17 -0300 Subject: [PATCH] Build iOS Official --- ios/RocketChatRN.xcodeproj/project.pbxproj | 2 +- ios/fastlane/Fastfile | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ios/RocketChatRN.xcodeproj/project.pbxproj b/ios/RocketChatRN.xcodeproj/project.pbxproj index bc699dcb4..6843344f6 100644 --- a/ios/RocketChatRN.xcodeproj/project.pbxproj +++ b/ios/RocketChatRN.xcodeproj/project.pbxproj @@ -1762,7 +1762,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n"; + shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n"; }; 7F13D807CA5B7E43CE899DB3 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 2c911c2c6..949428ed4 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -72,7 +72,7 @@ platform :ios do match( type: "appstore", - app_identifier: ["chat.rocket.ios", "chat.rocket.ios.NotificationService", "chat.rocket.ios.Rocket-Chat-ShareExtension"], + app_identifier: ["chat.rocket.ios", "chat.rocket.ios.NotificationService", "chat.rocket.ios.Rocket-Chat-ShareExtension", "chat.rocket.ios.watchkitapp"], readonly: true, output_path: './' ) @@ -91,6 +91,13 @@ platform :ios do targets: "ShareRocketChatRN", ) + update_code_signing_settings( + profile_name: "match AppStore chat.rocket.ios.watchkitapp", + build_configurations: "Release", + code_sign_identity: "iPhone Distribution", + targets: "Rocket.Chat.Watch", + ) + gym( scheme: "RocketChat", workspace: "RocketChatRN.xcworkspace",