# Upload to iTunes Connect using altool

**URL:** <https://forum.defold.com/t/upload-to-itunes-connect-using-altool/42109>\
**Category:** The Defoldmine\
**Created:** [January 31, 2019, 9:17am UTC](https://forum.defold.com/t/upload-to-itunes-connect-using-altool/42109 "2019-01-31T09:17:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [January 31, 2019, 9:17am UTC](https://forum.defold.com/t/upload-to-itunes-connect-using-altool/42109/1 "2019-01-31T09:17:51Z")

</div>

This nugget is for those users that work with CI (Continuous Integration or “auto builders”) or like to use command line tools a lot.

In this case, I was looking to validate my app via command line, since that’s how I work most of the time, and I was expecting to do this many times.

And so I found out about `altool`:

```
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support

```

You can either _verify_ an app:

```
$ altool --validate-app -u foo@bar.com -p password -t ios -f ~/coolgame.ipa

```

Or you can _upload_ an app:

```
$ altool --upload-app -u foo@bar.com -p password -t ios -f ~/coolgame.ipa

```

In either case, the tool will let you know of most issues locally, and it will return an exit code of non-zero, which is good for your CI jobs.
