Skip to content
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

Exclude Info plists from SwiftPM target #288

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

fwcd
Copy link
Contributor

@fwcd fwcd commented Sep 27, 2024

When building the project from the command-line using swift build, SwiftPM currently warns about not excluding a couple of plists:

$ swift build
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    <path to swiftsoup>/Sources/InfoMac.plist
    <path to swiftsoup>/Sources/InfotvOS.plist
    <path to swiftsoup>/Sources/Info.plist
    <path to swiftsoup>/Sources/InfoWatchOS.plist
Building for debugging...
[63/63] Compiling SwiftSoup resource_bundle_accessor.swift
Build complete! (5.22s)

This PR fixes the issue by adding the missing excludes (I assume the plists are used by some other build mechanism).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants