I have a problem running a project created on a Mac with an Intel processor on a new Mac with an M4 processor. I'm dealing with numerous issues—some have been resolved, but the error with R.swift keeps coming back.
In my Podfile, I have: pod 'R.swift', '~> 7.0.0'
But now I'm getting the error: Extra argument 'path' in call
on the line: var lightgray: ColorResource { .init(name: "lightgray", path: [], bundle: bundle) }
Even after removing path[], the error persists.
Similarly, in another line: var action_share: ImageResource { .init(name: "action_share", path: [], bundle: bundle, locale: nil, onDemandResourceTags: nil) }
I'm getting the error: R.generated.swift:540:39 Extra arguments at positions #2, #4, #5 in call
I’ve already tried various versions of the R.swift pod, but nothing helps. How can I fix the code to make this project run?