-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Fix build with BUILD_LIBRARY_FOR_DISTRIBUTION #82
Conversation
If open pods project and set `BUILD_LIBRARY_FOR_DISTRIBUTION = YES`, this framework not gonna compile. error will say ``` initializer for class 'CGAngle' is '@inlinable' and must delegate to another initializer ``` I was also surprised, but best guess is need to create `swiftinterface`, which has strict interface.
@NikolayJuly Thanks for the PR! I am using I think ABI / Module stability is not essential here because we can always rebuild it since we have all source code. If you have any specific reason to set BUILD_LIBRARY_FOR_DISTRIBUTION to yes, just let me know. |
@guoyingtao I understand why people use
Taking into account all of this, please remove inline or provide numerical proof, that at least internal usage of this inits with |
@guoyingtao If there is numeric proof of at least internal speed up, would it make sense to create 2 more inits for internal usage and make them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NikolayJuly I didn't make any test for it but I think you are right. Thanks for pointing it out.
Thank you 🙇 |
I released Mantis 1.4.9. Can you check if it solves the issue? |
@guoyingtao I checked and it works for me now. Thank you |
If open pods project and set
BUILD_LIBRARY_FOR_DISTRIBUTION = YES
, this framework not gonna compile. error will sayI was also surprised, but best guess is need to create
swiftinterface
in this mode, which has strict interface.