Skip to content

Commit 91bd9fe

Browse files
authored
updated segment version (#8)
1 parent 8fb420d commit 91bd9fe

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "SegmentMixpanel",
88
platforms: [
9-
//.macOS("10.15"),
9+
.macOS("10.15"),
1010
.iOS("13.0"),
1111
.tvOS("11.0"),
1212
.watchOS("7.1")
@@ -23,7 +23,7 @@ let package = Package(
2323
.package(
2424
name: "Segment",
2525
url: "https://github.com/segmentio/analytics-swift.git",
26-
from: "1.4.0"
26+
from: "1.4.1"
2727
),
2828
.package(
2929
name: "Mixpanel",

Sources/SegmentMixpanel/MixpanelDestination.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ import Mixpanel
3333

3434

3535
@objc(SEGMixpanelDestination)
36-
public class ObjCSegmentMixpanel: NSObject, ObjCDestination, ObjCDestinationShim {
37-
public func instance() -> DestinationPlugin { return MixpanelDestination() }
36+
public class ObjCSegmentMixpanel: NSObject, ObjCPlugin, ObjCPluginShim {
37+
public func instance() -> EventPlugin { return MixpanelDestination() }
3838
}
3939

40-
4140
public class MixpanelDestination: DestinationPlugin, RemoteNotifications {
4241
public let timeline = Timeline()
4342
public let type = PluginType.destination

0 commit comments

Comments
 (0)