# iOS AppStore

**iOS AppStore UDP**

Mirror's default kcp Transport uses UDP sockets.\
When submitting your App to the App Store review process for the first time, some people's apps get rejected because Apple's VPN can't seem to handle UDP.

It's not obvious to us why that is, but here are a few workarounds that people suggested:

* cooper: "Submit your App with a TCP transport like Telepathy. Once approved, switch to KCP again in the next update. Supposedly this works."
* Ninja: "The app reviews kept getting rejected until I essentially asked for manual intervention, and then it passed"
* Use multiplexer for apple release, for example kcp as main and telepathy as backup transport.

**iOS AppStore LAN Broadcasting**

Follow the Xcode instructions to get the multicast networking permission from Apple.

Add it to the app provisioning, then add the capability to the app itself, making sure you've properly added the entitlement to your app in Xcode.

Latest versions may need this: Add NSLocalNetworkUsageDescription to the info.plist.

\
Note: If LAN Broadcasting does not work, try another address, for example, change 0.0.0.0 to 255.255.255.255  (remember to rebuild after changing)

This should get Network Discovery features working, Kudos to overmatch-iman, Sylvain and other Discord users for reporting back the working steps.


---

# 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://mirror-networking.gitbook.io/docs/community-guides/ios-appstore-udp.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.
