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
Error when archiving in Xcode Cloud #15
Comments
Could you please provide a link to the Unfortunately I haven't done anything with Xcode Cloud yet and I'm not familiar with the options one can set there when building. Maybe they don't allow build tool plugins to run on Xcode Cloud? |
https://github.com/adamayoung/TMDb I'm investigating and now I'm not sure that this is the plugin the package uses. It just happens to have the same name. If that's the case, please close this issue. I also found an open issue on SwiftLint's repo. |
Can't find any reference to this package in |
That's the main branch. In version 9.0.0 (latest) you can find references:
|
Yeah that's the official plugin by |
Hi,
I added the TMDb package to a project in Xcode with the SPM. That package has SwiftLint and SwiftLintPlugin as dependencies.
If I archive the code locally from Xcode everything works fine, but when I try to do the same from Xcode Cloud it fails.
At first, I thought it was because I had linting issues, so I fixed them all. If I run SwiftLint locally I don't get any warning.
Checking the logs, I realized that wasn't the problem. The problem is:
Error: You don’t have permission to save the file “f5a82a99c7fcf819a5868248f7fe3ad5ac901d06aa1bfa62415f26aba3e78b03.plist” in the folder “A4FD347F-F59D-3FB2-835A-CAC16AC563DB”.
Then I thought, well, maybe I don't need to run the linter when archiving, and found that setting this env var (
DISABLE_SWIFTLINT
) should disable the linter. I added it to the workflow but the error is still there.I'm using Xcode 15.0
The text was updated successfully, but these errors were encountered: