Mothership
iTunes Connect Library inspired by FastLane
I wrote MotherShip for two reasons.
- love FastLane, but I am not proficient in Ruby.
- I wanted to see how difficult it would be to write a port.
What can MotherShip do?
- Login to iTunesConnect
- Get list of Testers
- Get list of Groups
- Get list of Versions
- Get list of Builds
- Get App level Test Info
- Invite someone to test an app
- Update App level Test Information!
- Get Build Details
- Update Build Test Info
import MotherShip
let firstName = "C"
let lastName = "B"
let email = "[email protected]"
let tester = Tester(email: email, firstName: firstName, lastName: lastName)
let testFlight = TestFlight()
testFlight.login(with: creds)
let code = testFlight.invite(tester: tester, to: appInfo.appIdentifier, for: appInfo.teamIdentifier, groupName: appInfo.testGroup)
To Do
- Documentation
- Ability to update app info
- Upload build
- Code signing? Or just leave it up to Apple
- Two-Factor Authentication?
There is a Command Line Interface for MotherShip.
$ mothership login <user> <password>
$ mothership testflight invite <email> <first-name> <last-name> <app-id> <team-id>
NOTE
I've been working to get MotherShip to work on Linux, but there are open issues with URLSession using cookies that need to be resolved first PR1542