swift-package-list icon indicating copy to clipboard operation
swift-package-list copied to clipboard

Support Tuist 4.x.x

Open anuragajwani opened this issue 1 year ago • 4 comments

New Tuist version no longer uses Tuist/Dependencies.swift but rather Tuist/Package.swift. In the current state running the command produces:

No build directory found in /Users/anurag.ajwani/Library/Developer/Xcode/DerivedData for ...

Command:

swift-package-list Tuist/Package.swift \
    --output-type settings-bundle \
    --output-path App/Resources

anuragajwani avatar Apr 04 '24 07:04 anuragajwani

Hey @anuragajwani, please take a look at #111 and let me know if that worked for you!

FelixHerrmann avatar Apr 04 '24 16:04 FelixHerrmann

Hi @FelixHerrmann yes that solved my problem thanks! Maybe it's worth adding a little section in the README? Let me know I'll be happy to contribute.

anuragajwani avatar Apr 04 '24 19:04 anuragajwani

Or alternatively reading in that the input is Tuist/Package.swift then assume the --custom-source-packages-path value to be Tuist/.build

anuragajwani avatar Apr 04 '24 19:04 anuragajwani

Thanks for the update @anuragajwani, I'll think about all of this!

FelixHerrmann avatar Apr 07 '24 19:04 FelixHerrmann