Charts
Charts copied to clipboard
Can't compile DGCharts
ℹ 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, we use GitHub for bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag
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.
What did you do?
I upgraded from Charts to DGCharts
What did you expect to happen?
To compile just like before
What happened instead?
clang: error: no such file or directory: '/Users/xxxxxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxx-guzwglumrvsdijanuovktgkqhwqn/Build/Products/Debug-iphoneos/PackageFrameworks/DGChartsDynamic.framework/DGChartsDynamic')
DGCharts Environment
DGCharts version/Branch/Commit Number: 5.0.0 Xcode version: 15.0.1 Swift version: 5.9 Platform(s) running DGCharts: ARM64 macOS version running Xcode: Sonoma
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.
In upgrading from Charts to DGCharts, if you didn't do it this way, you should:
1- Remove the Charts framework from the Frameworks, Libraries, and Embedded Content section of the General tab
2- Add DGCharts framework to the same place
3- Quit xcode
4- Delete your DerivedData folder (rm -rf $HOME/Library/Developer/Xcode/DerivedData
)
5- Restart Xcode
6- Open and build the project
I newly integrated via SPM the library and still have the same issue
I installed it via Carthage and it worked.
On Thu, 30 Nov 2023, 14:47 christianYoopies, @.***> wrote:
I newly integrated the library and still have the same issue
— Reply to this email directly, view it on GitHub https://github.com/danielgindi/Charts/issues/5121#issuecomment-1833816796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLUNZCE76733ODQURWIXMLYHCFA3AVCNFSM6AAAAAA67242MWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHAYTMNZZGY . You are receiving this because you authored the thread.Message ID: @.***>
Same thing. It's doesn't work with SPM. Аs Soon as I try to achieve project on physical device i have get this error. I has tried to add local package, same result.
Still an issue I can run on a simulator but not on a real device. I installed with SPM. Xcode: 15.2 iphone 12: 17.2.1 also tried inphone 13: 17.2.1
I am getting this error: clang: error: no such file or directory: '/Users/kinneykare/Library/Developer/Xcode/DerivedData/DiscGolfSearch/Build/Products/Debug-iphoneos/PackageFrameworks/DGChartsDynamic.framework/DGChartsDynamic'
Same error with SPM
Same error, only with SPM
Same error with SPM
I found a reference article that may be the cause of the problem of not being able to build on the actual machine with the library.
It seems that it is not possible to distribute nested frameworks on SPM.
https://stackoverflow.com/questions/76929619/code-signing-issue-with-spm-dynamic-library
Same error with SPM 5.0.0 ~ 5.1.0
Is everyone here using it in a nested context like @RyoichiroNagami has mentioned?
When I installed the Charts library from SPM, DGChartsDynamic was listed in Embed Frameworks. *See attached image.
As a test, I excluded DGCharts Dynamic from the project from SPM and was able to build it on the actual iPhone device!
However, when I created a table using the Chart library, an error occurred on the library side
We are currently in the process of migrating cocoapods → SPM. This code worked correctly when installed with cocoapods.
Has anyone figured out a solution to this issue? If I need to use DGCharts and run on a physical device, should I uninstall from SPM and reinstall with cocoapods?
@RyoichiroNagami you mean use cocoapods ok on the actual machine.
Any fix for this?