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

error build: Undefined symbol: _OBJC_CLASS_$ #250

Open
lsw20 opened this issue Dec 15, 2023 · 0 comments
Open

error build: Undefined symbol: _OBJC_CLASS_$ #250

lsw20 opened this issue Dec 15, 2023 · 0 comments

Comments

@lsw20
Copy link

lsw20 commented Dec 15, 2023

When the swift class contains Published Property, a link error was encountered and the class Objc symbol could not be found.

public class DemoViewModel: NSObject, OpenCombine.ObservableObject {
    @OpenCombine.Published // error build: Undefined symbol: _OBJC_CLASS_$__TtC14DemoViewModel
    var viewModels: [DemoViewModel] = []
}
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