From 00b1258e1fff6edfa4a2b035870057b1ada2ab35 Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Thu, 5 Oct 2023 17:02:20 +0100 Subject: [PATCH] Add DemoShare to Testflight build (#2830) --- DemoShare/Info.plist | 23 ++++++++++++++++++++--- StreamChat.xcodeproj/project.pbxproj | 6 +++--- fastlane/Fastfile | 3 ++- fastlane/testflight_export_options.plist | 2 ++ 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/DemoShare/Info.plist b/DemoShare/Info.plist index 8deb616fef7..01ad3ef35e7 100644 --- a/DemoShare/Info.plist +++ b/DemoShare/Info.plist @@ -2,10 +2,22 @@ + CFBundleDisplayName + DemoShare + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundleShortVersionString + 1.0.0 + CFBundleVersion + 1 NSExtension - NSExtensionPrincipalClass - DemoShare.ShareViewController NSExtensionAttributes IntentsSupported @@ -13,10 +25,15 @@ INSendMessageIntent NSExtensionActivationRule - TRUEPREDICATE + + NSExtensionActivationSupportsImageWithMaxCount + 10 + NSExtensionPointIdentifier com.apple.share-services + NSExtensionPrincipalClass + DemoShare.ShareViewController diff --git a/StreamChat.xcodeproj/project.pbxproj b/StreamChat.xcodeproj/project.pbxproj index ba4a29b3da1..50f20de29f8 100644 --- a/StreamChat.xcodeproj/project.pbxproj +++ b/StreamChat.xcodeproj/project.pbxproj @@ -12580,7 +12580,7 @@ DEVELOPMENT_TEAM = EHV7XZLAHA; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GENERATE_INFOPLIST_FILE = YES; + GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = DemoShare/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = DemoShare; INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Stream.io Inc. All rights reserved."; @@ -12615,7 +12615,7 @@ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = EHV7XZLAHA; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GENERATE_INFOPLIST_FILE = YES; + GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = DemoShare/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = DemoShare; INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Stream.io Inc. All rights reserved."; @@ -12650,7 +12650,7 @@ DEVELOPMENT_TEAM = EHV7XZLAHA; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GENERATE_INFOPLIST_FILE = YES; + GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = DemoShare/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = DemoShare; INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Stream.io Inc. All rights reserved."; diff --git a/fastlane/Fastfile b/fastlane/Fastfile index fa907a54f87..73c1f6e381e 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -264,7 +264,8 @@ lane :uikit_testflight_build do xcode_project: xcode_project, sdk_target: 'StreamChat', app_target: 'DemoApp', - app_identifier: 'io.getstream.iOS.ChatDemoApp' + app_identifier: 'io.getstream.iOS.ChatDemoApp', + extensions: ['DemoShare'] ) end diff --git a/fastlane/testflight_export_options.plist b/fastlane/testflight_export_options.plist index eb73fbd9afa..85be174bab4 100644 --- a/fastlane/testflight_export_options.plist +++ b/fastlane/testflight_export_options.plist @@ -8,6 +8,8 @@ match AppStore io.getstream.iOS.ChatDemoApp io.getstream.iOS.ChatDemoApp.DemoAppPush match AppStore io.getstream.iOS.ChatDemoApp.DemoAppPush + io.getstream.iOS.ChatDemoApp.DemoShare + match AppStore io.getstream.iOS.ChatDemoApp.DemoShare \ No newline at end of file