# Troubleshooting

## XCode issues

### Building for iOS Simulator, but the linked and embedded framework was build for iOS + iOS Simulator

This problem can be fixed by setting the following value for the parameter "**Validate Workspace**" in the "**Build settings**" section of the *target*:

![](/files/-MbfSfzMaIIQ-Qg2MaiM)

* If you are building the project on the M1 Apple Silicon, you can also get another error:

`Building for iOS Simulator, but linking in dylib built for iOS`

In order to fix it, you will need to add "**arm64"** into the "**Excluded Architecture**" of target's **Build settings**

{% hint style="info" %}
It would probably be missing in the list, you need to type it in
{% endhint %}

![](/files/-MbfSS-gFOFsaO6-R_Dk)

This happens because Xcode and iOS versions are constantly updated.


---

# 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://pango.gitbook.io/paas/sdk/unified-vpn-sdk-for-apple/troubleshooting.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.
