amplitude / amplitude/AmplitudeSessionReplay-iOS

Create sample app

未关闭
#18 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Objective-C
星标
3
派生
4
平均合并
15 小时 30 分钟
30 天内合并 PR
3

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。