Skip to content

Commit

Permalink
fix: remove legacy Insights dependency from the podspec (#155)
Browse files Browse the repository at this point in the history
* fix: remove legacy Insights dependency from the podspec
  • Loading branch information
VladislavFitz committed Dec 27, 2020
1 parent 3b1eabd commit 0b127ed
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion InstantSearch.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Pod::Spec.new do |s|
s.subspec "Insights" do |ss|
ss.source_files = 'Sources/InstantSearchInsights/**/*.{swift}'
ss.dependency 'AlgoliaSearchClient', '~> 8.4'
ss.dependency 'InstantSearchInsights', '~> 2.3'
ss.ios.deployment_target = '9.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '3.0'
Expand Down
2 changes: 2 additions & 0 deletions Sources/InstantSearchCore/Tracker/FilterTrackable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
//

import Foundation
#if !InstantSearchCocoaPods
import InstantSearchInsights
#endif

protocol FilterTrackable {

Expand Down
2 changes: 2 additions & 0 deletions Sources/InstantSearchCore/Tracker/FilterTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
//

import Foundation
#if !InstantSearchCocoaPods
import InstantSearchInsights
#endif

public class FilterTracker: InsightsTracker {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
//

import Foundation
#if !InstantSearchCocoaPods
import InstantSearchInsights
#endif

protocol HitsAfterSearchTrackable {

Expand Down
2 changes: 2 additions & 0 deletions Sources/InstantSearchCore/Tracker/HitsTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
//

import Foundation
#if !InstantSearchCocoaPods
import InstantSearchInsights
#endif

public class HitsTracker: InsightsTracker {

Expand Down
2 changes: 2 additions & 0 deletions Sources/InstantSearchCore/Tracker/InsightsTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
//

import Foundation
#if !InstantSearchCocoaPods
import InstantSearchInsights
#endif

public protocol InsightsTracker: class {

Expand Down

0 comments on commit 0b127ed

Please sign in to comment.