Skip to content

Commit

Permalink
updated Package.swift to expose Objective-C files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Espinola committed Jun 10, 2024
1 parent fb3b139 commit 0e0f0a6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ let package = Package(
name: "ATTNSDKFramework",
platforms: [.iOS(.v12)],
products: [
.library(name: "ATTNSDKFramework", targets: ["ATTNSDKFramework"])
.library(name: "ATTNSDKFramework", targets: ["ATTNSDKFramework", "ATTNSDKFrameworkObjc"])
],
targets: [
.target(
name: "ATTNSDKFramework",
path: "Sources",
resources: [ .process("Resources") ]
),
.target(
name: "ATTNSDKFrameworkObjc",
dependencies: [],
path: "Objc",
publicHeadersPath: "include"
)
]
)

0 comments on commit 0e0f0a6

Please sign in to comment.