Skip to content

Commit

Permalink
Explicitly declare APPLICATION_EXTENSION_API_ONLY for CocoaPods (Re…
Browse files Browse the repository at this point in the history
…activeX#2475)

Co-authored-by: Shai Mishali <[email protected]>
  • Loading branch information
lickel and freak4pc authored May 11, 2023
1 parent d8e8a7f commit 95490d3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
* Renames 'OSXApplicationExtension' to 'macOSApplicationExtension' in Availability Check.
* Provides `Infallible` versions of `combineLatest` without `resultSelector` requirement.
* Provides `Infallible` versions of `CombineLatest+Collection` helpers.
* Explicitly declare `APPLICATION_EXTENSION_API_ONLY` for CocoaPods

## 6.5.0

Expand Down
2 changes: 2 additions & 0 deletions RxBlocking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ Waiting for observable sequence to complete before exiting command line applicat

s.dependency 'RxSwift', '6.5.0'
s.swift_version = '5.1'

s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end
2 changes: 2 additions & 0 deletions RxCocoa.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ Pod::Spec.new do |s|
s.dependency 'RxRelay', '6.5.0'

s.swift_version = '5.1'

s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end
2 changes: 2 additions & 0 deletions RxRelay.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ Relays for RxSwift - PublishRelay, BehaviorRelay and ReplayRelay

s.dependency 'RxSwift', '6.5.0'
s.swift_version = '5.1'

s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end
2 changes: 2 additions & 0 deletions RxSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ gitDiff().grep("bug").less // sequences of swift objects
s.exclude_files = 'RxSwift/Platform/**/*.swift'

s.swift_version = '5.1'

s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end
5 changes: 4 additions & 1 deletion RxTest.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@ func testMap() {
s.dependency 'RxSwift', '6.5.0'
s.swift_version = '5.1'

s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
s.pod_target_xcconfig = {
'ENABLE_BITCODE' => 'NO',
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
}
end

0 comments on commit 95490d3

Please sign in to comment.