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
nib2cib fails to convert xibs with target set later than macOS 10.12 #3043
Comments
Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue. |
Needs a proper reduction with specific xib examples |
Dear David:
nib2cib fails to convert any xibs for which the "Builds for" property (in the xib Identity inspector) is set later more recent than macOS 10.12.
yes, this was discussed before and I was recently bitten by it again. So I issued a strong note to self to set to “10.12 and later” as the setting is called.
A diff of the XML for otherwise identical xib files indicates the only difference is the line:
• macOS 10.12 (succeeds): <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
• macOS 10.12.2 (fails): <autoresizingMask key="autoresizingMask"/>
We need to handle the absence of the widthSizable and heightSizable properties.
wow, a great finding! Should be fairly easy to tackle. If / when I find the time…
Best, Michael
--
https://michaelbach.de
|
It simultaneously simpler and more complex. VersionTest 10.12.xib | VersionTest. 12.0xib – 1 Deletion.pdf It appears the problem is with |
It appears that
Likely simple for |
Assignee: enquora. Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue. |
nib2cib fails to convert any xibs for which the "Builds for" property (in the xib Identity inspector) is set more recent than macOS 10.12.
A diff of the XML for otherwise identical xib files indicates the only difference is the line:
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<autoresizingMask key="autoresizingMask"/>
We need to handle the absence of the
widthSizable
andheightSizable
properties.The text was updated successfully, but these errors were encountered: