ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.48k stars 5.98k forks source link

Build error while adding framework as embedded target #5088

Open vimalzxc opened 1 year ago

vimalzxc commented 1 year ago

Build error

Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-dxretnhcrbuywpfzdruvnkiqpnir/Build/Products/Debug-iphonesimulator/uLaw.app/Frameworks/DGCharts.framework'

Happens when I add DGCharts.framework in my target and choose 'Embed + sign' in the options

What did you do?

Tried to add DGCharts into my swift app. I have followed the steps under Usage in Readme Tried clean and build - using a different simulator - restart Xcode

What did you expect to happen?

Succesful build If I don't add the framework as an embedded target I get a runtime exception while setup() gets called

What happened instead?

Build error

DGCharts Environment

DGCharts version/Branch/Commit Number: 6e0cf2644e8f81ad13f04caa8bc18502870a1c54 Xcode version: 14.3.1 Swift version: 4.2 Platform(s) running DGCharts: iOS 16.4