# Xcode Concepts

## xcodebuild commands

* `xcodebuild build`- builds the project to run on simulators (add scheme/workspace/project)
* `xcodebuild analyze` - static analysis of the project&#x20;
* `xcodebuild test` - builds the project and runs the tests&#x20;
* `xcodebuild build-for-testing` - builds the project for testing (use with `test-without-building`)
* `xcodebuild test-without-building` - run the tests on multiple simulators without building
* `xcodebuild archive` - creates an xcarchive for the project
* `xcodebuild -exportArchive` - exports a given archive as an IPA file

Tool to upload the IPA to iTunes connect - ALTool (Application Loader Tool)

Location of the tool: */Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.annjose.com/mobile-dev/ios-home/xcode-concepts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
