SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
MIT License
18.05k stars 3.14k forks source link

制作framework 把masonry加入工程出现问题,-[UIView mas_makeConstraints:]: unrecognized selector sent to instance 0x11b08cba0 2019-05-28 19:13:09.124515+0800 SanGuo2[803:163227] EXCEPTION THROW: -[UIView mas_makeConstraints:]: unrecognized selector sent to instance 0x11b08cba0,但是在自己测试的时候是正常的 #560

Open sometimeQ opened 5 years ago

sometimeQ commented 5 years ago

New Issue Checklist

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

Issue Info

Info Value
Platform e.g. ios/osx/tvos
Platform Version e.g. 8.0
Masonry Version e.g. 1.0
Integration Method e.g. carthage/cocoapods/manually

Issue Description

⚠️ Replace this with the description of your issue. ⚠️

sinno93 commented 4 years ago

设置 Build Settings->Other Linker Flags 为 -ObjC

enchantedDec commented 2 years ago

同样的问题,请问解决了吗?Other Linker Flags 加了-ObjC还是无效😂