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

# SDK setup issues

> Fix common PNLight SDK installation and initialization problems on iOS, React Native, and Flutter, including missing token, init order, and dependency errors.

Use this page when the app builds but PNLight calls fail, or when data does not appear in the dashboard.

## Check initialization

* The app calls SDK initialization once during startup.
* The SDK token comes from the same project you are checking in the dashboard.
* The initialization call finishes before attribution or Remote UI requests.
* Unsupported platforms do not call iOS-only SDK code.

## Check package installation

<Tabs>
  <Tab title="Swift">
    Confirm the Swift package URL is `https://github.com/pnlight-dev/sdk-swift.git` and the app target includes the package.
  </Tab>

  <Tab title="React Native">
    Reinstall pods and rebuild the native app after adding `@pnlight/sdk-react-native`.
  </Tab>

  <Tab title="Flutter">
    Run `flutter pub get`, install pods, and rebuild the iOS app after adding `pnlight_sdk`.
  </Tab>
</Tabs>

## No data in dashboard

If data does not appear:

1. Open the [Integration](/dashboard/sdk-status) page to see which signals have been received.
2. Confirm the app build uses the correct SDK token.
3. Trigger a fresh install or test event.
4. Check the selected date range in **Analytics**.
5. Check whether you are viewing the correct project.

<Warning>
  A common setup mistake is using a staging token in a production build or a production token in a development build.
</Warning>
