amplitude / amplitude/AmplitudeSessionReplay-iOS

Create sample app

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Objective-C
Stars
3
Forks
4
Avg merge
15h 30m
Merged PRs (30d)
3

Description

I'm relatively new to iOS development through Xcode. I've added AmplitudeSessionReplay and Amplitude-Swift as Package Dependencies in my xcodeproj. I'm getting an error when I run my project around trying to find the plugin framework

dyld[30634]: Library not loaded: @rpath/AmplitudeSessionReplay.framework/AmplitudeSessionReplay

A sample app that shows Amplitude Session Replay, added through the Package list in Xcode would be great to see if I'm doing the right thing, especially to clarify what it means by

> Be careful to only add a single library to your target, based on your core analytics library as detailed below.

in the [Readme.md](https://github.com/amplitude/AmplitudeSessionReplay-ios?tab=readme-ov-file#spm)

I'm using .NET 9 MAUI which I know you're not supporting. I was able to create a wrapper around the Amplitude-Swift package to access it in my .NET project, but adding AmplitudeSessionReplay seems to be an issue to get the framework included.

I do see the framework in my Xcode Derived Data build output
Screenshot 2025-01-08 at 6 00 56 PM
Is there any other way to reference the plugin in a way that its directly built into my xcodeproj and I don't need to find some way to get AmplitudeSessionReplay.framework through my wrapper into my iOS app?

## Summary

## Motivations

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.