@@ -15,7 +15,8 @@ var products: [Product] = [
15
15
. library( name: " Sentry-Dynamic-WithARM64e " , targets: [ " Sentry-Dynamic-WithARM64e " ] ) ,
16
16
. library( name: " Sentry-WithoutUIKitOrAppKit " , targets: [ " Sentry-WithoutUIKitOrAppKit " , " SentryCppHelper " ] ) ,
17
17
. library( name: " Sentry-WithoutUIKitOrAppKit-WithARM64e " , targets: [ " Sentry-WithoutUIKitOrAppKit-WithARM64e " , " SentryCppHelper " ] ) ,
18
- . library( name: " SentrySwiftUI " , targets: [ " Sentry " , " SentrySwiftUI " , " SentryCppHelper " ] )
18
+ . library( name: " SentrySwiftUI " , targets: [ " Sentry " , " SentrySwiftUI " , " SentryCppHelper " ] ) ,
19
+ . library( name: " SentryDistribution " , targets: [ " SentryDistribution " ] )
19
20
]
20
21
21
22
var targets : [ Target ] = [
@@ -66,7 +67,9 @@ var targets: [Target] = [
66
67
linkerSettings: [
67
68
. linkedLibrary( " c++ " )
68
69
]
69
- )
70
+ ) ,
71
+ . target( name: " SentryDistribution " , path: " Sources/SentryDistribution " ) ,
72
+ . testTarget( name: " SentryDistributionTests " , dependencies: [ " SentryDistribution " ] , path: " Sources/SentryDistributionTests " )
70
73
]
71
74
72
75
let env = getenv ( " EXPERIMENTAL_SPM_BUILDS " )
@@ -101,7 +104,7 @@ if let env = env, String(cString: env, encoding: .utf8) == "1" {
101
104
name: " SentryObjc " ,
102
105
dependencies: [ " SentrySwift " ] ,
103
106
path: " Sources " ,
104
- exclude: [ " Sentry/SentryDummyPublicEmptyClass.m " , " Sentry/SentryDummyPrivateEmptyClass.m " , " Swift " , " SentrySwiftUI " , " Resources " , " Configuration " , " SentryCppHelper " ] ,
107
+ exclude: [ " Sentry/SentryDummyPublicEmptyClass.m " , " Sentry/SentryDummyPrivateEmptyClass.m " , " Swift " , " SentrySwiftUI " , " Resources " , " Configuration " , " SentryCppHelper " , " SentryDistribution " , " SentryDistributionTests " ] ,
105
108
cSettings: [
106
109
. headerSearchPath( " Sentry/include/HybridPublic " ) ,
107
110
. headerSearchPath( " Sentry " ) ,
0 commit comments