Closed DmitriySportsRu closed 1 week ago
Hey, have you solved this problem? I have also encountered this problem
I'm not sure why this error is showing up, but do you actually need this step? It seems in the latest Xcode versions, R.swift works without this step.
I used P.swift in my project via cocoapods, everything worked fine. Now I need to use spm.
I added the library via spm
Added rswift and RswiftLibrary products
Added RswiftGenerateInternalResources to plugins in Build Phases
Launched the RswiftModifyXcodePackages plugin.
After this I start building the project and I get an error
/Library/Developer/Xcode/DerivedData/Sports-fztfcfietwkstjenyuffwoiganzy/SourcePackages/checkouts/R.swift/Sources/RswiftParsers/ProjectResources.swift:10:8 Could not find module 'RswiftResources' for target 'x86_64-apple-macos'; found: arm64-apple-macos, at: /Library/Developer/Xcode/DerivedData/Sports-fztfcfietwkstjenyuffwoiganzy/Build/Products/Debug/RswiftResources.swiftmodule
Version: 7.4.0
What am I doing wrong?