Choose an iOS installation

このページはまだあなたの言語に翻訳されていません。 現在取り組んでいますので、後でもう一度確認してください。

You can add Amplitude Analytics to an Apple platform app with one of three packages. The packages differ in which products they include and which install methods they support. Use one Amplitude analytics package per app. Two packages in the same app create two instances, which can send events twice.

Choose an installation method

Product support by package

Session Replay supports iOS only. On macOS, tvOS, watchOS, and visionOS, the Unified SDK includes Analytics and Feature Experiment.

Choose between the iOS Swift SDK and the Unified SDK

The Unified SDK for Swift (AmplitudeUnified) bundles the iOS Swift SDK (AmplitudeSwift), so tracking, identity, and autocapture work the same in both. Choose by the products you need and how you install:

The Unified SDK has fewer Analytics options at initialization than the iOS Swift SDK. For example, you can't set networkTrackingOptions from Swift. For the full list, go to AnalyticsConfig.

With either package, add Guides and Surveys as a plugin on the same Amplitude instance. Go to the Guides and Surveys iOS SDK.

Check platform and tool requirements

Guides and Surveys requires iOS 15 or later, whichever package you use.

Move from one package to another

  • From the maintenance iOS SDK to the iOS Swift SDK: go to the iOS SDK migration guide.
  • From the iOS Swift SDK and separate Experiment and Session Replay packages to the Unified SDK: go to Migrate from the individual SDKs. If you keep the same instanceName, users keep their device ID.

これは役に立ちましたか?

For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

このページでは