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

方便把模块名换成和类名不一样的吗 #485

Open
fanlilinSaber opened this issue Aug 22, 2023 · 1 comment
Open

方便把模块名换成和类名不一样的吗 #485

fanlilinSaber opened this issue Aug 22, 2023 · 1 comment

Comments

@fanlilinSaber
Copy link

我们的工程为了支持二进制兼容包,其中依赖了这个组件,但是开启了兼容 BUILD_LIBRARY_FOR_DISTRIBUTION 之后在 framework swiftinterface中会报错如下
'JXPagerViewListViewDelegate' is not a member type of class 'JXPagingView.JXPagingView'

原因就是模块名和类名相同了,这个问题我这边已经验证过了
https://stackoverflow.com/questions/65798857/xcframeworks-swiftinterface-breaks-compile-when-imported-with-swift-package-ma

二进制包对我们很重要,希望作者能修改一下,谢谢。只要模块名和类名不一样就行。这个问题在 HandyJSON这提到过

@fanlilinSaber
Copy link
Author

我好像已经找到对应的解决办法了 apple/swift#64669

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