Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing required module 'Algorithms' #4951

Closed
1 task done
n-mohammad-tuhin opened this issue Oct 24, 2022 · 3 comments
Closed
1 task done

Missing required module 'Algorithms' #4951

n-mohammad-tuhin opened this issue Oct 24, 2022 · 3 comments
Assignees
Milestone

Comments

@n-mohammad-tuhin
Copy link

n-mohammad-tuhin commented Oct 24, 2022

ℹ 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.

What did you do?

Update Charts version 4.1.0
I am using Carthage to create XCFramework. Use the XCFramework in the project.

Used below command

carthage update --use-xcframeworks --platform iOS --no-use-binaries

Also, tried this one.

carthage update --use-xcframeworks --platform iOS

What did you expect to happen?

There will be no error to use Carts with Carthage

What happened instead?

XCFramework was created without problem. When added to the project below error raised.
Missing required module 'Algorithms'

Charts Environment

Charts version/Branch/Commit Number: 4.1.0
Xcode version: 13.4.1
Swift version: 5
Platform(s) running Charts: iOS
macOS version running Xcode: 12.3.1

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.
DemoCharts.zip

@pmairoldi pmairoldi self-assigned this Mar 11, 2023
@pmairoldi pmairoldi modified the milestones: Future, 5.0.0 Mar 11, 2023
@liuxuan30
Copy link
Member

@n-mohammad-tuhin is this still true? I wonder with 5.0 branch, this should be fixed now?

@liuxuan30
Copy link
Member

I was able to build with your demo with branch release/5.0.0:

785     cd /Users/Downloads/DemoCharts/Carthage/Checkouts/Charts
786     /usr/bin/touch -c /Users/Library/Caches/org.carthage.CarthageKit/          DerivedData/14.3.1_14E300c/Charts/310f4be3aab21f227ae219848403e4c993b14584/Build/      Products/Release-iphonesimulator/DGCharts.framework
787 
788 ** BUILD SUCCEEDED **

terminal

xuanliu@liuxuan10 DemoCharts 
% carthage update --use-xcframeworks --platform iOS --no-use-binaries

*** Fetching Charts
*** Checking out Charts at "310f4be3aab21f227ae219848403e4c993b14584"
*** xcodebuild output can be found in /var/folders/3t/zjsv_3k16g737hc46gmr2q1w0000gn/T/carthage-xcodebuild.nK5y2P.log
*** Building scheme "DGCharts" in Charts.xcworkspace

@liuxuan30
Copy link
Member

reopen if needed

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants