4 questions
1
vote
1
answer
465
views
Sharing a Resources.bundle bundle with a Binary Target on Swift Package Manager
I'm trying to distribute an XCFramework for some internal iOS apps using Swift Package Manager. This is a third-party library that constitutes:
The one XCFramework
A Resources.bundle file
The SPM ...
6
votes
2
answers
551
views
Xcode Cloud has no write permission when running Swift Package Plugin
I have this Plugin
struct Main: BuildToolPlugin {
func createBuildCommands(context: PluginContext, target: Target) async throws -> [Command] {
let inputFolder = target.directory.appending(&...
1
vote
1
answer
616
views
Local SPM library with SPM plugin generating file linked to iOS and watchOS targets causes Multiple commands produce error
I'm creating a watchOS app which depends on an iOS app. Both those apps have their corresponding targets. Both targets link my local SPM library, which have single target. This target calls R.swift ...
1
vote
0
answers
173
views
SPM Build tool not running when adding package to projec
I have created a new project and added this Swift Package to it:
https://github.com/laevandus/SwiftExampleToomasKit
If I build the project it fails to compile the SPM Package saying MyGeneratedEnum is ...