Question: Error on layoutConstants
- Dominant language
- Swift
- Stars
- 4.6k
- Forks
- 588
- PR merge metrics
- No merged PRs in 30d
Description
I'm having problems when I embed the demoApp to my project, I use another view controller to present the DemoChatViewController, I'm having an error in layoutConstants when its calling calculateLayout, however it just crashes and presents no error since it said that ChattoAdditions is compiled with optimizations.
Note: I'm using SnapKit for constraints, is it related to that?
Contributor guide
Research direction
Use DemoChatViewController and calculateLayout as entry points, then inspect layoutConstants and whether SnapKit constraints affect the call. Reproduce the crash in a non-optimized build and capture the actual failure; done means a confirmed cause and a verified fix or clear reproduction details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100