No release in over a year
Remove TestFlight testers that are not actually testing your app. Schindler is a TestFlight automatic processing tool, which is used to maintain the number of TestFlight quota, eliminate useless testers, and improve the external gray effect of iOS.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

schindler plugin

fastlane Plugin Badge

About Schindler

Schindler is a TestFlight automatic processing tool, which is used to maintain the number of TestFlight quota, eliminate useless testers, and improve the external gray effect of iOS.

Change Log

Date Version Content
2023-08-10 1.1.0 1. Adapts to App Store Connect API 2.4
2. Remove only Publick link testers, as email tester cannot be removed
3. No more deleting Unused testers
4. Multi-group account friendly, providing optional parameters Developer Portal Team ID, App Store Connect Team ID
5. Full English log
2022-09-30 1.0.1 1. Remove TestFlight testers that are not actually testing your app, support the following 3 categories: Uninstall, Expired, Unused

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-schindler, add it to your project by running:

fastlane add_plugin schindler

RubyGems

fastlane-plugin-schindler

Example

1. Fastlane Ready

# install fastlane
gem install fastlane
# create a workspace
fastlane init
# add puglin
fastlane add_plugin schindler

2. Edit Fastfile

After Init succeeds, the fastlane folder will be generated in the current directory.

Edit ./fastlane/Fastfile,for example:

# A sample Fastfile
lane :delete do
  schindler(
    filter_type: "3",                   # Optional, '1'-Not installed, '2'-Expired, '7'-All(1 | 2), default 3
    auto_confirm: "auto",               # Optional, 'auto'-skip, default no. Skip the second confirmation, or wait for user confirmation before deleting after scanning
    user_id: "xjk_001@163.com",         # Your AppID for login App Store Connect
    user_password: "********",          # Optional, AppID password
    ios_app_id: "11112222",             # The ID of the app in the Apple Store
    portal_team_id: "my_team_id",       # Optional, Developer Portal Team ID
    itc_team_id: "my_itc_team_id"       # Optional, App Store Connect Team ID
  )
end

3. Execute

fastlane delete

result

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Extras(important by 08/10/2023)

Due to changes in App Store Connect API 2.4, beta_tester_metrics for betaTesters in Spaceship are invalid, resulting in Tester status information no longer being available.

Based on the betaTesters interface (appstoreconnect.apple.com/iris/v1/betaTesters), I updated this repository. And submitted the commit to fastlane.

Consider that it takes time and days for the commit to go through, so while waiting for it to go through, if you get an error running this script, scroll down.

The solution is to update fastlane to 2.225.0

gem install fastlane -v 2.225.0

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.