I'm experimenting with XcodeGen, and ran into a problem. I can't add "R.Swift" dependency. Not through SPM not through CocoaPods(
In the case of SPM, I don't understand how to add Run Build Tool Plug-in "RswiftGeneratesInternalResources (Swift)" into target/Build Phases
In the case of Cocoapods in R.generated.swift file an error appears "No such module 'Rswift'
Can anyone help me and show correct way how I can add R.swift into XcodeGen project?
To add R.swift to Xcodegen using SPM, you can do the following steps:
rswiftfile and place it in the directory where your.xcodeprojfile lives, eg.scripts/rswiftproject.ymlfile and declare R.swift as a dependency. Make sure to addRswiftLibraryas the package's product.By following these steps, you can integrate R.swift into Xcodegen using SPM.