Skip to content

Commit

Permalink
Update testflight export options
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Apr 25, 2024
1 parent 698f400 commit 0ecd0da
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 65 deletions.
92 changes: 48 additions & 44 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.6)
CFPropertyList (3.0.7)
base64
nkf
rexml
activesupport (7.1.3)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -18,21 +20,21 @@ GEM
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
artifactory (3.0.15)
artifactory (3.0.17)
ast (2.4.2)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.885.0)
aws-sdk-core (3.191.0)
aws-partitions (1.919.0)
aws-sdk-core (3.192.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.77.0)
aws-sdk-kms (1.79.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.143.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-s3 (1.147.0)
aws-sdk-core (~> 3, >= 3.192.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
Expand All @@ -43,17 +45,17 @@ GEM
fastlane (>= 2.0)
mini_magick (>= 4.9.4, < 5.0.0)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.7)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
clamp (1.3.2)
cocoapods (1.15.0)
cocoapods (1.15.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.15.0)
cocoapods-core (= 1.15.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
Expand All @@ -68,7 +70,7 @@ GEM
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.0)
cocoapods-core (1.15.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand Down Expand Up @@ -96,7 +98,7 @@ GEM
connection_pool (2.4.1)
cork (0.3.0)
colored2 (~> 3.1)
danger (9.4.2)
danger (9.4.3)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
Expand All @@ -118,13 +120,12 @@ GEM
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
drb (2.2.0)
ruby2_keywords
drb (2.2.1)
emoji_regex (3.2.3)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
excon (0.109.0)
excon (0.110.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand Down Expand Up @@ -155,15 +156,15 @@ GEM
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.3.0)
fastlane (2.219.0)
fastimage (2.3.1)
fastlane (2.220.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
colored (~> 1.2)
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
Expand All @@ -184,10 +185,10 @@ GEM
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (>= 2.0.0, < 3.0.0)
naturally (~> 2.2)
optparse (>= 0.1.1)
optparse (>= 0.1.1, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
security (= 0.1.5)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (~> 3)
Expand All @@ -196,13 +197,13 @@ GEM
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-create_xcframework (1.1.2)
fastlane-plugin-lizard (1.3.3)
bundler
fastlane
pry
fastlane-plugin-stream_actions (0.3.28)
fastlane-plugin-stream_actions (0.3.33)
xctest_list (= 1.2.1)
fastlane-plugin-versioning (0.5.2)
ffi (1.16.3)
Expand All @@ -228,12 +229,12 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.6.1)
google-cloud-core (1.7.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.3.1)
google-cloud-errors (1.4.0)
google-cloud-storage (1.47.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
Expand All @@ -252,7 +253,7 @@ GEM
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jazzy (0.14.4)
cocoapods (~> 1.5)
Expand All @@ -265,21 +266,22 @@ GEM
sqlite3 (~> 1.3)
xcinvoke (~> 0.3.0)
jmespath (1.6.2)
json (2.7.1)
jwt (2.7.1)
json (2.7.2)
jwt (2.8.1)
base64
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liferaft (0.0.6)
method_source (1.0.0)
method_source (1.1.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.21.2)
mini_portile2 (2.8.6)
minitest (5.22.3)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.3.0)
multipart-post (2.4.0)
mustache (1.1.1)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
Expand All @@ -288,16 +290,18 @@ GEM
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nio4r (2.7.0)
nio4r (2.7.1)
nkf (0.2.0)
no_proxy_fix (0.1.2)
nokogiri (1.16.0)
nokogiri (1.16.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
octokit (8.0.0)
octokit (8.1.0)
base64
faraday (>= 1, < 3)
sawyer (~> 0.9)
open4 (1.3.4)
optparse (0.4.0)
optparse (0.5.0)
os (1.1.4)
parallel (1.24.0)
parser (3.3.0.5)
Expand All @@ -311,7 +315,7 @@ GEM
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.9)
rack (3.0.10)
rack-protection (4.0.0)
base64 (>= 0.1.0)
rack (>= 3.0.0, < 4)
Expand All @@ -321,7 +325,7 @@ GEM
rack (>= 3)
webrick (~> 1.8)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
rchardet (1.8.0)
redcarpet (3.6.0)
regexp_parser (2.9.0)
Expand All @@ -342,8 +346,8 @@ GEM
rubocop-ast (>= 1.23.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
Expand All @@ -358,8 +362,8 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
security (0.1.3)
signet (0.18.0)
security (0.1.5)
signet (0.19.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
Expand All @@ -379,7 +383,7 @@ GEM
clamp (~> 1.3)
nokogiri (>= 1.14.3)
xcodeproj (~> 1.21)
sqlite3 (1.7.2)
sqlite3 (1.7.3)
mini_portile2 (~> 2.8.0)
terminal-notifier (2.0.0)
terminal-table (3.0.2)
Expand Down Expand Up @@ -427,7 +431,7 @@ DEPENDENCIES
fastlane
fastlane-plugin-create_xcframework
fastlane-plugin-lizard
fastlane-plugin-stream_actions (= 0.3.28)
fastlane-plugin-stream_actions (= 0.3.33)
fastlane-plugin-versioning
jazzy
json
Expand Down
17 changes: 14 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ lane :uikit_testflight_build do |options|
end

private_lane :upload_beta do |options|
configuration = options[:configuration].to_s.empty? ? 'Release' : options[:configuration]
build_configuration = options[:configuration].to_s.empty? ? 'Release' : options[:configuration]
export_configuration = build_configuration == 'Release' ? 'AppStore' : 'Development'
export_method = build_configuration == 'Release' ? 'app-store' : 'development'

match_me
testflight_build(
Expand All @@ -150,8 +152,17 @@ private_lane :upload_beta do |options|
sdk_target: 'StreamVideo',
app_target: options[:app_target],
app_identifier: options[:app_identifier],
configuration: configuration,
extensions: ['CallIntent', 'ScreenSharing']
configuration: build_configuration,
extensions: ['CallIntent', 'ScreenSharing'],
export_method: export_method,
export_options: {
provisioningProfiles: {
'io.getstream.iOS.VideoDemoApp' => "match #{export_configuration} io.getstream.iOS.VideoDemoApp",
'io.getstream.iOS.DemoAppUIKit' => "match #{export_configuration} io.getstream.iOS.DemoAppUIKit",
'io.getstream.iOS.VideoDemoApp.CallIntent' => "match #{export_configuration} io.getstream.iOS.VideoDemoApp.CallIntent",
'io.getstream.iOS.VideoDemoApp.ScreenSharing' => "match #{export_configuration} io.getstream.iOS.VideoDemoApp.ScreenSharing"
}
}
)
end

Expand Down
2 changes: 1 addition & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-stream_actions', '0.3.28'
gem 'fastlane-plugin-stream_actions', '0.3.33'
gem 'fastlane-plugin-create_xcframework'
17 changes: 0 additions & 17 deletions fastlane/testflight_export_options.plist

This file was deleted.

0 comments on commit 0ecd0da

Please sign in to comment.