@@ -16,8 +16,7 @@ var products: [Product] = [
1616 . library( name: " Sentry-WithoutUIKitOrAppKit " , targets: [ " Sentry-WithoutUIKitOrAppKit " , " SentryCppHelper " ] ) ,
1717 . library( name: " Sentry-WithoutUIKitOrAppKit-WithARM64e " , targets: [ " Sentry-WithoutUIKitOrAppKit-WithARM64e " , " SentryCppHelper " ] ) ,
1818 . library( name: " SentrySwiftUI " , targets: [ " Sentry " , " SentrySwiftUI " , " SentryCppHelper " ] ) ,
19- . library( name: " SentryDistribution " , targets: [ " SentryDistribution " ] ) ,
20- . library( name: " SentrySwiftLog " , targets: [ " Sentry " , " SentrySwiftLog " ] )
19+ . library( name: " SentryDistribution " , targets: [ " SentryDistribution " ] )
2120]
2221
2322var targets : [ Target ] = [
@@ -55,14 +54,6 @@ var targets: [Target] = [
5554 . linkedFramework( " Sentry " )
5655 ]
5756 ) ,
58- . target(
59- name: " SentrySwiftLog " ,
60- dependencies: [ " Sentry " , . product( name: " Logging " , package : " swift-log " ) ] ,
61- path: " Sources/SentrySwiftLog " ,
62- linkerSettings: [
63- . linkedFramework( " Sentry " )
64- ]
65- ) ,
6657 . target(
6758 name: " SentryInternal " ,
6859 path: " Sources/SentrySwiftUI " ,
@@ -112,7 +103,7 @@ if let env = env, String(cString: env, encoding: .utf8) == "1" {
112103 name: " SentryObjc " ,
113104 dependencies: [ " SentrySwift " ] ,
114105 path: " Sources " ,
115- exclude: [ " Sentry/SentryDummyPublicEmptyClass.m " , " Sentry/SentryDummyPrivateEmptyClass.m " , " Swift " , " SentrySwiftUI " , " SentrySwiftLog " , " Resources " , " Configuration " , " SentryCppHelper " , " SentryDistribution " , " SentryDistributionTests " ] ,
106+ exclude: [ " Sentry/SentryDummyPublicEmptyClass.m " , " Sentry/SentryDummyPrivateEmptyClass.m " , " Swift " , " SentrySwiftUI " , " Resources " , " Configuration " , " SentryCppHelper " , " SentryDistribution " , " SentryDistributionTests " ] ,
116107 cSettings: [
117108 . headerSearchPath( " Sentry/include/HybridPublic " ) ,
118109 . headerSearchPath( " Sentry " ) ,
@@ -129,12 +120,6 @@ let package = Package(
129120 name: " Sentry " ,
130121 platforms: [ . iOS( . v15) , . macOS( . v12) , . tvOS( . v15) , . watchOS( . v8) ] ,
131122 products: products,
132- dependencies: [
133- // SPM doesn't support peer-dependencies, so users are locked into our declared version.
134- // Using `from: "1.6.0"` covers 1.6.0 < 2.0.0, resolving minor versions automatically.
135- // See develop-docs/DECISIONS.md for discussion.
136- . package ( url: " https://github.com/apple/swift-log " , from: " 1.6.0 " )
137- ] ,
138123 targets: targets,
139124 cxxLanguageStandard: . cxx14
140125)
0 commit comments