Receiving this error:
/Users/brendanwinter/Library/Developer/Xcode/DerivedData/Sidearm-bpmbvflilopwujbzzhkazqidiguc/Build/Intermediates/Sidearm.build/Debug-iphonesimulator/louisville.build/Script-52247AC61D89704E005DF2FA.sh: line 2: /R.swift/rswift: No such file or directory
I have tried:
I assume you're using the R.swift code generator (which I'm a collaborator on).
If you're installing it using Cocoapods (installation instructions), make sure you point to the correct directory in your run script:
"$PODS_ROOT/R.swift/rswift" generate "$SRCROOT/R.generated.swift"
Note the $PODS_ROOT
here, that usually points to the Pods
directory at the root of your project.
If you exclude that from the run script, Xcode won't be able to find the rswift
executable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With