mac-cain13 / R.swift

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

'Command PhaseScriptExecution failed with a nonzero exit code' when Archiving #852

Open davidgoncalves opened 1 year ago

davidgoncalves commented 1 year ago

Hello,

Everything works well when I run in the simulator and on the device. But when I try to Archive my project to upload it to AppStoreConnect but I get this error.

I have the new XCode 15 and I use Swift Package Manager (SPM). I don't have Pod installed in my project.

error-rswift

Can someone help me fixing it?

Regards,

Hiroki-Soeno commented 1 year ago

same problem

Rylaa commented 1 year ago

same problem

amine2233 commented 12 months ago

same issue, did you find a solution ?

Rylaa commented 12 months ago

I resolved this issue by completely deleting R.swift and reinstalling it into the project. @amine2233

h-arshad commented 11 months ago

I had the same problem, and removing and re-installing using SPM did not help, finally I gave up and used the pod approach and it worked.

KursX commented 10 months ago

same problem

difoi commented 8 months ago

same problem

parfenuk commented 5 months ago

same here

eQip123 commented 5 months ago

same problem. Who resolved this?

vledly commented 3 days ago

I resolved this issue by completely deleting R.swift and reinstalling it into the project I have downgraded the version to 7.0.0

xueyongwei commented 1 day ago

same problem