scinfu / SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
https://scinfu.github.io/SwiftSoup/
MIT License
4.52k stars 345 forks source link

Exclude Info plists from SwiftPM target #288

Open fwcd opened 3 weeks ago

fwcd commented 3 weeks ago

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).