Skip to content

Commit

Permalink
Remove #if entirely, as instructed
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Nov 13, 2022
1 parent 7e5c43e commit 8f3a4df
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@

import PackageDescription

#if os(macOS)
let excludeFiles = [
"./Browser/BrowserViewController.swift" // Because of inheriting iOS only class failed to build on macOS.
]
#else
let excludeFiles: [String] = []
#endif

let package = Package(
name: "Web3swift",
platforms: [
Expand All @@ -32,7 +24,6 @@ let package = Package(
.target(
name: "web3swift",
dependencies: ["Core", "BigInt", "secp256k1"],
exclude: excludeFiles,
resources: [
.copy("./Browser/browser.js"),
.copy("./Browser/browser.min.js"),
Expand Down

0 comments on commit 8f3a4df

Please sign in to comment.