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 am using Jenkins/fastlane to automate my iOS build. My pilot action has been working but this week, I tried adding an external testing group. I have been trying to resolve the fastfile issues as they pop up, but this last one has me stumped. I searched but could not find any answer. Thanks in advance for your help.
I just added the groups option to my pilot action (after my last build failed with "You must specify at least one group using the :groups option to distribute externally"). From looking around, it appears the value needs to be an array, but I am not 100% certain on that.
It's possible that my groups value is just wrong, but I am not sure what it should be. When I execute the lane, I get the following error:
Here is the line in build_manager.rb that it is crapping out on (I think):
groups = Group.filter_groups(app_id: uploaded_build.app_id) do |group|
Here is my stack trace:
/Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:127:in distribute_build': �[31m[!] uninitialized constant Pilot::BuildManager::Group�[0m (NameError) from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:57:in distribute'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:40:in upload' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/pilot.rb:15:in run'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:252:in block (2 levels) in execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:230:in block in execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in chdir'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:148:in trigger_action_by_name'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/fast_file.rb:146:in method_missing' from Fastfile:203:in block (2 levels) in parsing_binding'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane.rb:33:in call' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane.rb:33:in call'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:49:in block in execute' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in execute' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane_manager.rb:52:in cruise_lane'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/command_line_handler.rb:30:in handle' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:104:in block (2 levels) in run'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in call' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in call'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:153:in run' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/runner.rb:476:in run_active_command'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:40:in run!' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/delegates.rb:15:in run!'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:303:in run' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:42:in start'
from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in take_off' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/bin/fastlane:20:in <top (required)>'
from /Users/admin/.fastlane/bin/bundle/bin/fastlane:22:in load' from /Users/admin/.fastlane/bin/bundle/bin/fastlane:22:in
'
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
[INSERT OUTPUT HERE]
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.12.2
Ruby
2.2.4
Bundler?
false
Git
git version 2.11.0 (Apple Git-81)
Installation Source
~/.fastlane/bin/bundle/bin/fastlane
Host
Mac OS X 10.12.2 (16C67)
Ruby Lib Dir
~/.fastlane/bin/bundle/lib
OpenSSL Version
OpenSSL 1.0.2g 1 Mar 2016
Is contained
false
Is homebrew
true
Is installed via Fabric.app
false
Xcode Path
/Applications/Xcode.app/Contents/Developer/
Xcode Version
8.3.1
System Locale
Variable
Value
LANG
en_US.UTF-8
✅
LC_ALL
en_US.UTF-8
✅
LANGUAGE
en_US.UTF-8
✅
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Gem
Version
Update-Status
fastlane
2.28.3
✅ Up-To-Date
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem
Version
slack-notifier
1.5.1
CFPropertyList
2.3.5
claide
1.0.1
colored2
3.1.2
nanaimo
0.2.3
xcodeproj
1.4.4
rouge
1.11.1
xcpretty
0.2.4
terminal-notifier
1.7.1
unicode-display_width
1.1.3
terminal-table
1.7.3
plist
3.2.0
public_suffix
2.0.5
addressable
2.5.0
multipart-post
2.0.0
word_wrap
1.0.0
tty-screen
0.5.0
babosa
1.0.2
colored
1.2
highline
1.7.8
commander-fastlane
4.4.4
excon
0.54.0
faraday
0.11.0
unf_ext
0.0.7.2
unf
0.1.4
domain_name
0.5.20161129
http-cookie
1.0.3
faraday-cookie_jar
0.0.6
fastimage
2.0.1
gh_inspector
1.0.3
uber
0.0.15
representable
2.3.0
retriable
2.1.0
mime-types-data
3.2016.0521
mime-types
3.1
hurley
0.2
little-plugger
1.1.4
multi_json
1.12.1
logging
2.1.0
jwt
1.5.6
memoist
0.15.0
os
0.9.6
signet
0.7.3
googleauth
0.5.1
httpclient
2.8.3
google-api-client
0.9.26
json
1.8.1
mini_magick
4.5.1
multi_xml
0.6.0
rubyzip
1.2.0
security
0.1.3
xcpretty-travis-formatter
0.0.4
dotenv
2.2.0
bundler
1.14.3
faraday_middleware
0.11.0.1
generated on:2017-04-21
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Issue Description
I am using Jenkins/fastlane to automate my iOS build. My pilot action has been working but this week, I tried adding an external testing group. I have been trying to resolve the fastfile issues as they pop up, but this last one has me stumped. I searched but could not find any answer. Thanks in advance for your help.
I just added the groups option to my pilot action (after my last build failed with "You must specify at least one group using the
:groups
option to distribute externally"). From looking around, it appears the value needs to be an array, but I am not 100% certain on that.It's possible that my groups value is just wrong, but I am not sure what it should be. When I execute the lane, I get the following error:
uninitialized constant Pilot::BuildManager::Group�
Here is my pilot action:
Here is the line in build_manager.rb that it is crapping out on (I think):
Here is my stack trace:
/Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:127:in
'distribute_build': �[31m[!] uninitialized constant Pilot::BuildManager::Group�[0m (NameError) from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:57:in
distribute'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/pilot/lib/pilot/build_manager.rb:40:in
upload' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/pilot.rb:15:in
run'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:252:in
block (2 levels) in execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/actions_helper.rb:50:in
execute_action'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:230:in
block in execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in
chdir'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in
execute_action' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:148:in
trigger_action_by_name'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/fast_file.rb:146:in
method_missing' from Fastfile:203:in
block (2 levels) in parsing_binding'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane.rb:33:in
call' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane.rb:33:in
call'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:49:in
block in execute' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in
chdir'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in
execute' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane_manager.rb:52:in
cruise_lane'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/command_line_handler.rb:30:in
handle' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:104:in
block (2 levels) in run'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in
call' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:178:in
call'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/command.rb:153:in
run' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/runner.rb:476:in
run_active_command'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:40:in
run!' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.4/lib/commander/delegates.rb:15:in
run!'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:303:in
run' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:42:in
start'from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in
take_off' from /Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/bin/fastlane:20:in
<top (required)>'from /Users/admin/.fastlane/bin/bundle/bin/fastlane:22:in
load' from /Users/admin/.fastlane/bin/bundle/bin/fastlane:22:in
Complete output when running fastlane, including the stack trace and command used
[INSERT OUTPUT HERE]
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:
No Fastfile found
No Appfile found
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2017-04-21
The text was updated successfully, but these errors were encountered: