CLI 4.193.0 adds control over environment variables during manifest evaluation and fixes a project generation edge case for Swift packages.
New
- You can now forward extra environment variables into
Tuist.swift/Project.swift/Package.swiftevaluation by declaring them inTuist.GenerationOptions.manifestEnvironment. Use a literal name likeMY_VARor a prefix likeOPENSWIFTUI_*to expose whole families of variables. Listed variables also affect the manifest cache hash, so value changes invalidate the cache as expected.
Fixed
- Generated projects now allow folder resources to overlap with source groups. This fixes a regression where local Swift package test targets that copied resources could not build because the same directory was treated as both a copied folder resource and a source group.