Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dbejanishvili committed Jun 24, 2021
1 parent 3615497 commit 75c6e3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,24 @@

import PackageDescription

let notSimulator:TargetDependencyCondition = .when(platforms: [.iOS,.watchOS])

let package = Package(
name: "MavisSDK",
products: [
.library(
name: "MavisSDK",
type: .dynamic,
targets: ["MavisSDK"]),
],
dependencies: [
],
targets: [
.target(
name: "MavisSDK",
dependencies: ["UnityFramework", "WikitudeSDK"]),
dependencies: [
.byName(name: "UnityFramework",condition: notSimulator),
.byName(name: "WikitudeSDK", condition: notSimulator)]),
.binaryTarget(
name: "UnityFramework",
path: "UnityFramework.xcframework"),
Expand Down

0 comments on commit 75c6e3d

Please sign in to comment.