Library not loaded on physical device
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
> ℹ Please fill out this template when filing an issue.
> All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
>
> Per our [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md), we use GitHub for
> bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag [`ios-charts`.](https://stackoverflow.com/questions/tagged/ios-charts)
>
> Please remove this line and everything above it before submitting.
* [ ] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).
## What did you do?
Added the library via SPM to the project
## What did you expect to happen?
Normal launch of a project on a physical device
## What happened instead?
The project starts, and every time I get an error with this message
dyld[4679]: Library not loaded: @rpath/DGCharts.framework/DGCharts
Reason: tried: /Build/Products/Debug-iphoneos/PackageFrameworks/DGCharts.framework/DGCharts' (no such file)
## DGCharts Environment
**DGCharts version/Branch/Commit Number:** 5.1.0
**Xcode version:** 15.2
**Swift version:** 5.9.2
**Platform(s) running DGCharts:** iPhone 12 iOS 17.4.1
**macOS version running Xcode:** 14.3.1
## Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.
Contributor guide
Research direction
Start by reproducing the Swift Package Manager integration on an iPhone 12 with DGCharts 5.1.0, Xcode 15.2, and iOS 17.4.1. Inspect the package integration and device build settings around the reported @rpath/DGCharts.framework/DGCharts failure. Done means a project using the package launches normally on a physical device without the library-not-loaded error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100