Am on FastLane , trying to setup iOS builds to Testglight - Am on the latest version - 2.88.0.
When i try to add an internal tester to iTunesConnect
fastlane pilot add email@invite.com
I get an error
ERROR: You must provide 1 or more groups (with the
:groups
option)
This is my part of the lane - the Pilot command
# upload to Testflight
pilot(skip_waiting_for_build_processing: true,
email:"user@email.com",
distribute_external: false)
Where do i provide these groups? If i use the -g option, it says the groups don't exist?
Do i need to manually go to iTunesConnect and create a group? That defeats the purpose of automating stuff.
Any pointers would be appreciated
Creating a group is usually just a "one-time" thing so its easiest to create your one or two groups in iTunesConnect directly and then reference those group names in pilot
.
If you want to do it all programmatically though, you could use spaceship
directly create a group with something like...
group = Spaceship::TestFlight::Group.create!(app_id: 'app-id', group_name: 'Group 1')
You may have to check if the group exists first so it doesn't error out. You could also create a separate lane for creating groups for this app so that you don't have to go into iTunesConnect to create any new groups.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.