Skip to content

Commit 051e2ab

Browse files
author
Clément Le Provost
committed
Disable offline sub-spec
1 parent 4d90b7e commit 051e2ab

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

AlgoliaSearch-Client-Swift.podspec

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ Pod::Spec.new do |s|
2626
end
2727

2828
# Offline-enabled API client.
29-
s.subspec 'Offline' do |offline|
30-
offline.dependency 'AlgoliaSearchSDK-iOS'
31-
# Activate SDK-dependent code.
32-
# WARNING: Specifying the preprocessor macro is not enough; it must be added to Swift flags as well.
33-
offline.pod_target_xcconfig = {
34-
'GCC_PREPROCESSOR_DEFINITIONS' => 'ALGOLIA_SDK=1',
35-
'OTHER_SWIFT_FLAGS' => '-DALGOLIA_SDK'
36-
}
37-
offline.source_files = 'Source/Offline/*.swift'
38-
end
29+
# NOTE: Disabled until release.
30+
# s.subspec 'Offline' do |offline|
31+
# offline.dependency 'AlgoliaSearchSDK-iOS'
32+
# # Activate SDK-dependent code.
33+
# # WARNING: Specifying the preprocessor macro is not enough; it must be added to Swift flags as well.
34+
# offline.pod_target_xcconfig = {
35+
# 'GCC_PREPROCESSOR_DEFINITIONS' => 'ALGOLIA_SDK=1',
36+
# 'OTHER_SWIFT_FLAGS' => '-DALGOLIA_SDK'
37+
# }
38+
# offline.source_files = 'Source/Offline/*.swift'
39+
# end
3940
end

0 commit comments

Comments
 (0)