Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1029

R.swift pod Extra argument 'path' in call`

$
0
0

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 callon 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 callI’ve already tried various versions of the R.swift pod, but nothing helps. How can I fix the code to make this project run?


Viewing all articles
Browse latest Browse all 1029

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>