You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a external testers group in Testflight named "OK, Dracula: Alpha". When I try to pass this as an option to pilot add --groups, it incorrectly splits the array by the comma, ignoring the fact I've quoted my input.
I'm still new to Fastlane, but it looks like the issue is this line:
That seems to be too naive an option split? What is the recommended way for ingesting an array on the command line, so that quoted input is respected as expected?
I presume this also affects any other uses of array command line inputs, but I only tested from this path.
Complete output when running fastlane, including the stack trace and command used
You can use: --capture_output as the last commandline argument to get that collected for you
Notice it splits on the comma, and (correctly) fails to match nonexistent "OK" group.
$ pilot add example@gmail.com --groups "OK, Dracula: Alpha"
[15:34:26]: Login to iTunes Connect (ios-dev@redacted.co)
[15:34:28]: Login successful
[15:34:29]: [example@gmail.com]: Group 'OK' not found for example@gmail.com
[!] Some operations failed: ["example@gmail.com"]
Escaping the comma doesn't help:
$ pilot add example@gmail.com --groups "OK\, Dracula: Alpha"
[15:42:01]: Login to iTunes Connect (ios-dev@redacted.co)
[15:42:03]: Login successful
[15:42:04]: [example@gmail.com]: Group 'OK\' not found for example@gmail.com
[!] Some operations failed: ["example@gmail.com"]
Environment
Please run fastlane env and copy the output below. This will help us help you 👍
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack
Key
Value
OS
10.11.6
Ruby
2.3.2
Bundler?
false
Git
git version 2.10.2
Installation Source
~/.rvm/gems/ruby-2.3.2/bin/fastlane
Host
Mac OS X 10.11.6 (15G1108)
Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.2/lib
OpenSSL Version
OpenSSL 1.0.2j 26 Sep 2016
Is contained
false
Xcode Path
/Applications/Xcode.app/Contents/Developer/
Xcode Version
8.1
System Locale
Variable
Value
LANG
en_US.UTF-8
✅
LC_ALL
LANGUAGE
fastlane files:
`./fastlane/Fastfile`
ENV["SLACK_URL"] ||= "..."fastlane_version"1.96.0"defnext_build_numberTime.new.strftime("%y%m%d.%H%M%S")enddefbuild_for(variant=nil)raise"variant required"ifvariant.nil?increment_build_number(xcodeproj: "Builds/#{variant}/Unity-iPhone.xcodeproj",build_number: next_build_number)gym(project: "Builds/#{variant}/Unity-iPhone.xcodeproj",output_directory: "./Builds")enddesc"Submit Internal Build to TestFlight"lane:internaldo |options|
build_for(options[:variant])pilot(skip_waiting_for_build_processing: true)enddesc"Submit External Build to TestFlight"lane:externaldo |options|
build_for(options[:variant])pilot(skip_waiting_for_build_processing: true,distribute_external: true,changelog: "Everything!")enddesc"Submit Build to App Store"lane:storedo |options|
match(type: "appstore")build_for(options[:variant])deliver(force: true)endafter_alldo |lane,options|
slack(message: "App posted beta to TestFlight",payload: {'Variant'=>options[:variant]},icon_url: '...',)enderrordo |lane,exception,options|
slack(message: "App posted beta to TestFlight with errors",success: false,payload: {'Variant'=>options[:variant]},icon_url: '...',)end
`./fastlane/Appfile`
...
fastlane gems
Gem
Version
Update-Status
credentials_manager
0.16.2
✅ Up-To-Date
fastlane_core
0.57.2
✅ Up-To-Date
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem
Version
did_you_mean
1.0.2
executable-hooks
1.3.2
bundler-unload
1.0.2
rubygems-bundler
1.4.4
bundler
1.13.6
io-console
0.4.6
multi_json
1.12.1
highline
1.7.8
colored
1.2
commander
4.4.0
excon
0.54.0
rubyzip
1.1.7
plist
3.2.0
gh_inspector
1.0.2
security
0.1.3
credentials_manager
0.16.2
fastlane_core
0.57.2
json
2.0.2
CFPropertyList
2.3.3
claide
1.0.1
nanaimo
0.2.2
xcodeproj
1.4.1
word_wrap
1.0.0
unicode-display_width
1.1.1
terminal-table
1.7.3
generated on:2016-12-02
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
New Issue Checklist
Issue Description
I have a external testers group in Testflight named "OK, Dracula: Alpha". When I try to pass this as an option to
pilot add --groups
, it incorrectly splits the array by the comma, ignoring the fact I've quoted my input.I'm still new to Fastlane, but it looks like the issue is this line:
fastlane/fastlane_core/lib/fastlane_core/configuration/config_item.rb
Line 93 in 485199c
That seems to be too naive an option split? What is the recommended way for ingesting an array on the command line, so that quoted input is respected as expected?
I presume this also affects any other uses of array command line inputs, but I only tested from this path.
Complete output when running fastlane, including the stack trace and command used
Notice it splits on the comma, and (correctly) fails to match nonexistent "OK" group.
Escaping the comma doesn't help:
Environment
Please run
fastlane env
and copy the output below. This will help us help you 👍If you used
--capture_output
option please remove this block - as it is already included there.✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./fastlane/Fastfile`
`./fastlane/Appfile`
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2016-12-02
The text was updated successfully, but these errors were encountered: