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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

The use of SnapKit in a framework is causing a crash #775

Open
fcusid230111 opened this issue Jul 24, 2023 · 3 comments
Open

The use of SnapKit in a framework is causing a crash #775

fcusid230111 opened this issue Jul 24, 2023 · 3 comments

Comments

@fcusid230111
Copy link

fcusid230111 commented Jul 24, 2023

New Issue Checklist

馃毇 If this template is not filled out your issue will be closed with no comment. 馃毇

  • [T] I have looked at the Documentation
  • [T] I have read the F.A.Q.
  • [T] I have filled out this issue template.

Issue Info

Info Value
Platform iOS
Platform Version iOS 16.2
SnapKit Version 5.6.0
Integration Method cocoapods

Issue Description

The use of SnapKit in a framework is causing a crash. Please help me fix it.

image image
@yongshideweiyi
Copy link

Yes, me too. When using it in the framework, I found that it crashes when using make.size and make.center.equalToSuperview().

@bilibili11
Copy link

How do I resolve this constraint situation where the constraint associated with the centerY also crashes if it is applied to the same view

@robertjpayne
Copy link
Member

Is centerRedView part of the view hierarchy? They will need a common ancestory for a superview constraint to work

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

4 participants