Skip to content

Commit

Permalink
Add DemoShare to Testflight build (#2830)
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Oct 5, 2023
1 parent 44580b6 commit 00b1258
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
23 changes: 20 additions & 3 deletions DemoShare/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,38 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>DemoShare</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPrincipalClass</key>
<string>DemoShare.ShareViewController</string>
<key>NSExtensionAttributes</key>
<dict>
<key>IntentsSupported</key>
<array>
<string>INSendMessageIntent</string>
</array>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>10</integer>
</dict>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
<key>NSExtensionPrincipalClass</key>
<string>DemoShare.ShareViewController</string>
</dict>
</dict>
</plist>
6 changes: 3 additions & 3 deletions StreamChat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down Expand Up @@ -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.";
Expand Down Expand Up @@ -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.";
Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions fastlane/testflight_export_options.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<string>match AppStore io.getstream.iOS.ChatDemoApp</string>
<key>io.getstream.iOS.ChatDemoApp.DemoAppPush</key>
<string>match AppStore io.getstream.iOS.ChatDemoApp.DemoAppPush</string>
<key>io.getstream.iOS.ChatDemoApp.DemoShare</key>
<string>match AppStore io.getstream.iOS.ChatDemoApp.DemoShare</string>
</dict>
</dict>
</plist>

0 comments on commit 00b1258

Please sign in to comment.