-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RswiftResources no such module error #805
Comments
I have the same issue hope there is a solution soon.
|
Got the same issue, please help. |
I got this issue as well on my local machine |
I have the same problems for last two days, did anyone managed to fix it or is there a planned fix by the package owners itself? |
i figured out it happens when you build the A possible workaround would be to include the executable target prebuild in the Package.swift
|
Removing the We could indeed think about shipping a prebuilt binary, if only to avoid this scenario, because multiple people have already run into this. |
I think that shipping a prebuild binary is the solution to go IMHO. SwiftLint solved the same issue in the same way and it works well indeed. |
Is there any update for a solution for this? Or is there a workaround? This is currently blocking us from using Firebase Test Labs with our CI as this requires code to be built using xcodebuild with the SDK set to |
In my case the xcode build command doesn't contain the -sdk parameter so the workaround doesn't work for me. My command is this: |
A workaround is to not use the build plugin, but instead run the command plugin manually. |
This is not gonna help when on CI. I can build correctly when i'm doing it locally. even when archiving locally. the problem arises only when building on CI (Github Actions)
|
I had the same issue. Archive worked fine locally but failed on CI (GitHub actions + Fastlane). |
I'm trying to migrate R.swift to the latest version using the plugin import method.
On local workstations it works fine. Even the archive is completed correctly.
But when i run this in the Github action that we use for CI it can never complete an archive.
The r.generated file is correctly written, but when compiled it cannot find the RswiftResources module, causing the compilation process to fail.
I tried using a project or switching to a workspace.
Tried messing with various build settings, but nothing seems to work.
From what I can see the plugin is configured correctly as it has no problem locally in debug or archive.
Maybe there is some "fixed" path that is necessary and when running in CI there is some problem with the location where this library is created and located?
The text was updated successfully, but these errors were encountered: