# Setting up Project

### Setup the Xcode

1. The easiest way to download Xcode for free is through the [Mac App Store](https://itunes.apple.com/ca/app/xcode/id497799835?mt=12). Click the link to go to the listing. You can also download it manually if you don’t have the Mac App Store. Just visit the [Apple Developer page for Xcode](http://developer.apple.com/xcode/).

&#x20;  **Note:** The code is tested on Xcode 14.2 and it was the latest version during testing.

<figure><img src="https://979598987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNrAZJ0KGiwEbKkbVRYPu%2Fuploads%2FDAS4eGMZ3e7xgp6afIzm%2FScreenshot%202023-01-27%20at%206.12.51%20PM.png?alt=media&#x26;token=4f52fec8-8218-457b-a71f-b2ffb30df648" alt=""><figcaption><p>Download the latest version of Xcode from the Mac App Store</p></figcaption></figure>

2. Here is the complete [code](https://github.com/0chain/HelloWorld-iOS) for a sample application to give you a perspective.
3. To open a project in Xcode. Launch Xcode and click on **Open a project or file**.

<figure><img src="https://979598987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNrAZJ0KGiwEbKkbVRYPu%2Fuploads%2FuQCFHZhxghdH0ueH8Qy8%2FScreenshot%202023-01-27%20at%206.18.03%20PM.png?alt=media&#x26;token=fb7772ab-291b-4629-8024-2939f9a89e5f" alt=""><figcaption></figcaption></figure>

4. Navigate to the desired .xcodeproj directory.

<figure><img src="https://979598987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNrAZJ0KGiwEbKkbVRYPu%2Fuploads%2F3f3FBE685ZtVM8XtbaGH%2FScreenshot%202023-01-27%20at%206.20.37%20PM.png?alt=media&#x26;token=2c48b0d9-4d2d-46bf-9559-064d9b238df2" alt=""><figcaption></figcaption></figure>


---

# 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://docs-old.zus.network/guides/zus-gosdk/gosdk-for-mobile-builds-ios-and-android/ios-gosdk-sample-app/setting-up-project.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.
