-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explicitly declare APPLICATION_EXTENSION_API_ONLY
for CocoaPods
#171
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
require_relative('version') | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'Workflow' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Reactive application architecture' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'Workflow/Sources/*.swift' | ||
|
||
s.dependency 'ReactiveSwift', '~> 7.0.0' | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'Workflow/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.library = 'swiftos' | ||
end | ||
s.name = 'Workflow' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Reactive application architecture' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'Workflow/Sources/*.swift' | ||
|
||
s.dependency 'ReactiveSwift', '~> 7.1.1' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This release sets There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'Workflow/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.library = 'swiftos' | ||
end | ||
|
||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ Pod::Spec.new do |s| | |
s.source_files = 'WorkflowReactiveSwift/Sources/**/*.swift' | ||
|
||
s.dependency 'Workflow', "#{s.version}" | ||
s.dependency 'ReactiveSwift', '~> 7.0.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is redundant via |
||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'WorkflowReactiveSwift/Tests/**/*.swift' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
require_relative('version') | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'WorkflowRxSwift' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Infrastructure for Workflow-powered Swift' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
s.name = 'WorkflowRxSwift' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Infrastructure for Workflow-powered Swift' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'WorkflowRxSwift/Sources/**/*.swift' | ||
s.source_files = 'WorkflowRxSwift/Sources/**/*.swift' | ||
|
||
s.dependency 'Workflow', "#{s.version}" | ||
s.dependency 'RxSwift', '~> 6.2' | ||
s.dependency 'Workflow', "#{s.version}" | ||
s.dependency 'RxSwift', '~> 6.2' | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'WorkflowRxSwift/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.library = 'swiftos' | ||
test_spec.dependency 'WorkflowTesting', "#{s.version}" | ||
test_spec.dependency 'WorkflowReactiveSwift', "#{s.version}" | ||
end | ||
# https://github.com/ReactiveX/RxSwift/pull/2475 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you want to wait for these changes to be available before merging/releasing this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nah I have no idea if they want this, and if so, what the timeline would be |
||
# s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'WorkflowRxSwift/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.library = 'swiftos' | ||
test_spec.dependency 'WorkflowTesting', "#{s.version}" | ||
test_spec.dependency 'WorkflowReactiveSwift', "#{s.version}" | ||
end | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,38 @@ | ||
require_relative('version') | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'WorkflowRxSwiftTesting' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Infrastructure for Workflow-powered Swift' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'WorkflowRxSwift/Testing/**/*.swift' | ||
|
||
s.dependency 'Workflow', "#{s.version}" | ||
s.dependency 'WorkflowRxSwift', "#{s.version}" | ||
s.dependency 'WorkflowTesting', "#{s.version}" | ||
s.dependency 'RxSwift' | ||
|
||
s.framework = 'XCTest' | ||
|
||
s.test_spec 'WorkflowRxSwiftTestingTests' do |test_spec| | ||
test_spec.requires_app_host = true | ||
test_spec.source_files = 'WorkflowRxSwift/TestingTests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.dependency 'WorkflowTesting' | ||
test_spec.library = 'swiftos' | ||
end | ||
s.name = 'WorkflowRxSwiftTesting' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Infrastructure for Workflow-powered Swift' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'WorkflowRxSwift/Testing/**/*.swift' | ||
|
||
s.dependency 'Workflow', "#{s.version}" | ||
s.dependency 'WorkflowRxSwift', "#{s.version}" | ||
s.dependency 'WorkflowTesting', "#{s.version}" | ||
s.dependency 'RxSwift' | ||
|
||
s.framework = 'XCTest' | ||
|
||
# https://github.com/ReactiveX/RxSwift/pull/2475 | ||
# s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } | ||
|
||
s.test_spec 'WorkflowRxSwiftTestingTests' do |test_spec| | ||
test_spec.requires_app_host = true | ||
test_spec.source_files = 'WorkflowRxSwift/TestingTests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.dependency 'WorkflowTesting' | ||
test_spec.library = 'swiftos' | ||
end | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
require_relative('version') | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'WorkflowTesting' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Reactive application architecture' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
s.name = 'WorkflowTesting' | ||
s.version = WORKFLOW_VERSION | ||
s.summary = 'Reactive application architecture' | ||
s.homepage = 'https://www.github.com/square/workflow-swift' | ||
s.license = 'Apache License, Version 2.0' | ||
s.author = 'Square' | ||
s.source = { :git => 'https://github.com/square/workflow-swift.git', :tag => "v#{s.version}" } | ||
|
||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
# 1.7 is needed for `swift_versions` support | ||
s.cocoapods_version = '>= 1.7.0' | ||
|
||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
s.swift_versions = ['5.0'] | ||
s.ios.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
|
||
s.source_files = 'WorkflowTesting/Sources/**/*.swift' | ||
s.source_files = 'WorkflowTesting/Sources/**/*.swift' | ||
|
||
s.dependency 'Workflow', "#{s.version}" | ||
s.framework = 'XCTest' | ||
s.dependency 'Workflow', "#{s.version}" | ||
s.framework = 'XCTest' | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'WorkflowTesting/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.libraries = 'swiftDispatch', 'swiftFoundation', 'swiftos' | ||
end | ||
end | ||
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } | ||
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'WorkflowTesting/Tests/**/*.swift' | ||
test_spec.framework = 'XCTest' | ||
test_spec.libraries = 'swiftDispatch', 'swiftFoundation', 'swiftos' | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed all pod spec files to be consistent in formatting (4 spaces).
This can be hidden via adding
?w=1
to the diff URL (hide whitespace in the gear box)