We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First of all, I can compile my app on iPhone 6 and iPhone 5s without any issues. On iPhone 4S simulator the build fails with these errors:
ld: warning: ignoring file /Users/icehawk/Library/Developer/Xcode/DerivedData/Series_Log-ezkivtqtsxghfjbwjdpxuktbujgr/Build/Products/Debug-iphonesimulator/Charts.framework/Charts, file was built for x86_64 which is not the architecture being linked (i386): /Users/icehawk/Library/Developer/Xcode/DerivedData/Series_Log-ezkivtqtsxghfjbwjdpxuktbujgr/Build/Products/Debug-iphonesimulator/Charts.framework/Charts Undefined symbols for architecture i386: "Charts.ChartDataEntry.__allocating_init (value : Swift.Double, xIndex : Swift.Int) -> Charts.ChartDataEntry", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o "Charts.PieChartDataSet.__allocating_init (yVals : [Charts.ChartDataEntry]?, label : Swift.String?) -> Charts.PieChartDataSet", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o "Charts.ChartData.__allocating_init (xVals : [__ObjC.NSObject]?, dataSet : Charts.IChartDataSet?) -> Charts.ChartData", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o "type metadata accessor for Charts.PieChartData", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o "type metadata accessor for Charts.PieChartView", referenced from: type metadata accessor for Charts.PieChartView! in DetailTVC.o "type metadata accessor for Charts.ChartDataEntry", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o type metadata accessor for [Charts.ChartDataEntry] in DetailTVC.o "type metadata accessor for Charts.PieChartDataSet", referenced from: Series_Log.DetailTVC.updateChart (Charts.PieChartView, values : [Swift.Double]) -> () in DetailTVC.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any advice on how to fix this? Thanks in advance.
The text was updated successfully, but these errors were encountered:
tried clearing derived data?
Sorry, something went wrong.
yes
Undefined symbols for architecture i386
Please check your CPU arch and maybe set the correct one.
No branches or pull requests
First of all, I can compile my app on iPhone 6 and iPhone 5s without any issues. On iPhone 4S simulator the build fails with these errors:
Any advice on how to fix this? Thanks in advance.
The text was updated successfully, but these errors were encountered: