Avatar
手元で SWIFT_DETERMINISTIC_HASHING 試したら name = "Products"; の箇所だけなぜか順番が変わるけど、そこ以外は安定してる "OBJ_162" = { isa = "PBXGroup"; children = ( "Yams::Yams::Product", "DIKit::dikitgen::Product", "Yams::CYaml::Product", "PathKit::PathKit::Product", "DIKit::DIGenKit::Product", "Stencil::Stencil::Product", "DIKit::DIGenKitTests::Product", "Spectre::Spectre::Product", "DIKit::DIKit::Product", "SWXMLHash::SWXMLHash::Product", "SourceKitten::SourceKittenFramework::Product" ); name = "Products"; path = ""; sourceTree = "BUILT_PRODUCTS_DIR"; };
12:31 PM
こんなコメントがあった https://github.com/apple/swift-package-manager/blob/ddfe6e23f3eaf3f79e003d872b6072a2686b4c88/Sources/Xcodeproj/XcodeProjectModel.swift#L52-L54 - there is no good way to control the ordering of the `Products` group in the main group; it needs to be added last in order to appear after the other references (edited)
The Package Manager for the Swift Programming Language - apple/swift-package-manager