Reputation: 3395
Command PhaseScriptExecution failed with a nonzero exit code for R.swift
Does any one have faced this situation?
Upvotes: 0
Views: 1815
Reputation: 13768
TLDR; Update to the latest version of R.swift
This is a security warning from macOS, because the rswift
executable your using wasn’t notarized. As of version 5.2.2 of R.swift, the executable is now fully notarized, so this problem shouldn’t happen anymore.
Note: when you install R.swift via CocoaPods, the quarantine bit isn’t set, so this warning doesn’t show up.
Upvotes: 1
Reputation: 3395
Answer Found from https://github.com/mac-cain13/R.swift#cocoapods-recommended
"$PODS_ROOT/R.swift/rswift" generate "$SRCROOT/R.generated.swift"
Hope it will help someone.
Upvotes: 1