Skip to content

Instantly share code, notes, and snippets.

@drrost
Last active May 5, 2021 11:05
Show Gist options
  • Save drrost/bfe9864ff012c5135603c559f87950ee to your computer and use it in GitHub Desktop.
Save drrost/bfe9864ff012c5135603c559f87950ee to your computer and use it in GitHub Desktop.
_OBJC_METACLASS_$_XCTestCase issue package file
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "ExtensionsFoundation",
products: [
.library(
name: "ExtensionsFoundation",
targets: ["ExtensionsFoundation"]),
.library( // Add new product
name: "ExtensionXCTest",
targets: ["ExtensionXCTest"]),
],
dependencies: [
],
targets: [
.target(
name: "ExtensionsFoundation",
dependencies: []),
.target( // Add new target
name: "ExtensionXCTest",
dependencies: []),
.testTarget(
name: "ExtensionsFoundationTests",
dependencies: ["ExtensionsFoundation"]),
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment