> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autonoma.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Building iOS applications for Autonoma

> Guide on how to build your iOS applications to become compatible with Autonoma.

### Method A: Using XCode

1. Open your project in XCode
2. Go to **Product** -\\> **Destination**, and choose “*Any iOS Simulator Device (arm64, x86\_64)*”
3. Build (**⌘B**) the project.
4. Go to **Product** -\\> **Show Build Folder in Finder.**
5. You will find the .app file inside the folder “*Products/Debug-iphonesimulator*”

### <img src="https://mintcdn.com/autonoma-9e2c48c0/oZRkc2LB9ULjFdUk/images/xcode.gif?s=8919311921a63cca95ac933f314075ca" alt="Xcode build process demonstration" width="1280" height="720" data-path="images/xcode.gif" />

### Method B: Using the terminal

1. Open the terminal
2. Navigate to the folder where your “*.xcodeproj*” file is located
3. Run the following command:

`xcodebuild -scheme <YourScheme> -sdk iphonesimulator -destination "generic/platform=iOS Simulator" -configuration Debug BUILD_LIBRARY_FOR_DISTRIBUTION=YES ARCHS="x86_64 arm64" ONLY_ACTIVE_ARCH=NO`

After the build is finished, you will find the “*.app*” file inside the following folder:

> **\~/Library/Developer/Xcode/DerivedData/\\\<app-name\\>-\\\<id\\>/Build/Products/Debug-iphonesimulator/**

<img src="https://mintcdn.com/autonoma-9e2c48c0/oZRkc2LB9ULjFdUk/images/terminal.gif?s=3322b6ee73a18ff97a1c0424f513b713" alt="Terminal commands for iOS build" width="1280" height="720" data-path="images/terminal.gif" />
