R.swift
R.swift copied to clipboard
Xcode cloud issue
Hello, Im having error: “RswiftGenerateInternalResources” is disabled when Im trying to create build on XCode Cloud
any idea?
I add both Public and Internal Resources in "Run build tool plugin" in Build Phases
I add this script to my project: #!/bin/sh
ci_post_clone.sh
Created by Adis Mulabdic on 10. 1. 2025..
Copyright © . All rights reserved.
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
Errors: error: “RswiftGenerateInternalResources” must be enabled before it can be used
“RswiftGenerateInternalResources” is disabled
but still xcode cloud is failing. Any suggestions @tomlokhorst
R.swift on Xcode Cloud or any other CI
On your CI server you can't explicitly allow the build plugin to run, so you need to disable plugin validation to be able to build without user interaction:
Run a script on your CI that runs: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES before Xcode starts building. On Xcode Cloud you can add a custom build script in ci_scripts/ci_post_clone.sh with this line that Xcode will run.