Skip to content
New issue

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

iOS Charts subclass Markerview use Swift always Build Error in “xxx-Swift.h” #4355

Closed
o0oi1i opened this issue Apr 29, 2020 · 1 comment

Comments

@o0oi1i
Copy link

o0oi1i commented Apr 29, 2020

What did you do?

Subclass Markerview in "TestMV.swift" file:

 import UIKit
 import Charts
 class TestMV: MarkerView {
 .....
 }

What did you expect to happen?

Build Success

What happened instead?

Build Fail in “ProjectName-swift.h”
https://stackoverflow.com/questions/61499537/ios-charts-subclass-markerview-use-swift-always-build-error-in-xxx-swift-h
TestMV subclass Markerview in "TestMV.swift"
image
Build always error in "ProjectName-Swift.h"
image
Markerview in "Charts" Framework
image

Charts Environment

Charts version/Branch/Commit Number:3.5.0
Xcode version:11.3.1
Swift version:5
Platform(s) running Charts:iOS 13.3
macOS version running Xcode:

Demo Project

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

@o0oi1i o0oi1i changed the title Subclass markview build failure iOS Charts subclass Markerview use Swift always Build Error in “xxx-Swift.h” Apr 30, 2020
@o0oi1i
Copy link
Author

o0oi1i commented Apr 30, 2020

#import <Charts/Charts-Swift.h>

@o0oi1i o0oi1i closed this as completed Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant