Not sure if this is achievable, but here is the deal: I have a Vendor ID from our company and that information is used to retrieve an Apple Identification number, after some assets are uploaded to Itunes Connect, in order to sell it under AppleTV streaming services.

However, getting the ID is a repetitive task that takes a lot of time because we have to log in, clic several buttons, search for the feature, etc. So a figured it is possible to get that number using a command-line tool from Apple, the Transporter.

It is available for Mac, Windows and Linux.

So when I search for the Vendor ID (marked in red), enter image description here

using this command line:

/usr/local/itms/bin/iTMSTransporter -m status -u mateus@sofadigital.com -p mdtj-icmm-nxem-xqjd -vendor_id THECAPTAINALAU_SOFA_20210722_3683

(the credentials are temporary, so you can use it at will)

I get this result: enter image description here

Problem solved. However, since not everyone from my company is bright enough to install and use command line tools, I was wondering if it is possible to run it under my web server, like this:

enter image description here

I know it is a long shot, but any help is appreciated.

  • Could you elaborate what running “on a web server” means practically? Are you looking to port apple developer tools to run on a non macOS? I’m guessing you’re looking for help writing a web app which might work better on stack overflow. We could help with a “grep|awk” to process the command line tool for Mac, but building a SPWA might be out of scope here…
    – bmike
    Sep 29 at 23:01
  • @bmike you are probably right. I am not a web developer so don't know exactly how to achieve this port. I was wondering if there is a tool to run macOS (or linux, or windows) command line apps under a php engine or something like that. I guess it's more complicated. Thanks anyway, I will try asking at Stack Overflow. Sep 30 at 14:26
  • 1
    Making apps is hard (months to years of effort to get all the skills), I would make a shell script or AppleScript to parse the command line tools if someone was paying me to make this for them. If you’re saving a hundred people 5 minutes 30 times a day, the budget for this will be different than if 5 people do this a few times a week.
    – bmike
    Sep 30 at 15:06
  • 1
    If you know PHP (or can learn it, or Perl or something like that) and have an actual webserver already in your network, it's not hard to do something like that at all. I'm old-school, so I'd write this in Perl CGI, it's about an hour to do something like that once you know how to use Perl CGI. The Transporter tool runs on all 3 OS'es, so you could use ANY webserver, even IIS on Windows.
    – jimtut
    Oct 1 at 20:24
  • 1
    Start small. I’ve been doing this a while, and it’s still how I start a new app. Learn enough PHP to print Hello World on your webpage. That will be easy. Then, learn enough HTML and PHP to create a “form” with that text input box you want. Then, learn the PHP needed to know how to read the form input (usually called “posting” the form), and then just print back to the screen what the user (you) entered in the box. Once you can read user input, then you can do a “system call” to run Transporter, and print the output on the page (instead of just printing what they entered).
    – jimtut
    Oct 3 at 0:20

You must log in to answer this question.

Browse other questions tagged .