mac-cain13 / R.swift

Strong typed, autocompleted resources like images, fonts and segues in Swift projects
MIT License
9.49k stars 763 forks source link

Build with xcodebuild fails #825

Closed crash481 closed 1 week ago

crash481 commented 1 year ago

Trying to build with xcodebuild, but there is error

sandbox-exec: execvp() of '//var/root/Library/Developer/Xcode/DerivedData/ProjectName-dtxgzeditjjpxresibwuhlxcqlly/Build/Products/Debug/rswift' failed: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

Path above not exists, like there is no folder /var/root/Library/Developer/ How can we fix it?

MasterCna commented 1 year ago

I've faced the same problem, couldn't fix it in anyway!

mhdbitar-bit commented 1 year ago

I have same problem.

JRJian commented 1 year ago

I've faced the same problem

JRJian commented 1 year ago

In Project APPNAME/ios/App/Pods/Target Support Files/Pods-App/Pods-App-frameworks.sh replaced source="$(readlink "${source}")" with source="$(readlink -f "${source}")"