Skip to content

Create sample app  #18

@MichaelLHerman

Description

@MichaelLHerman

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions