Closed hadiidbouk closed 5 months ago
Which version of Xcode are you using?
I meet same problem. I am using xcode 15.0. The order of properties changes every time I export.
I meet same problem. I am using xcode 15.0. The order of properties changes every time I export.
Same here.
Can you provide a new release including this fix?
@mbruegmann, done https://github.com/RedMadRobot/figma-export/releases/tag/0.37.4
@subdan Awesome, thank you!
@subdan Somehow the changes are not in the release. They are also not visible on the master branch: https://github.com/RedMadRobot/figma-export/blob/master/Sources/XcodeExport/Model/XcodeExportExtensions.swift https://github.com/RedMadRobot/figma-export/blob/master/Sources/XcodeExport/XcodeColorExporter.swift
Was it made on a fork on another repository? (see hint) https://github.com/RedMadRobot/figma-export/blob/cea5b1f414a1b6dea76fe883aba709bcbf6d7499/Sources/XcodeExport/Model/XcodeExportExtensions.swift
Could you take a look? 🙏
@mbruegmann, oops, sorry. GitHub says that the branch with the fix merged into master but it is not. I've fixed it and make a new release. Please check.
Works perfectly now! 🚀 Thanks @subdan !
Hey
There are two failing tests:
testExport_preservesVectorRepresentation
&testExport_preservesVectorRepresentation2
It seems it's related to the generated
Contents.json
file where the properties aren't sorted correctly.