diff --git a/BlueprintUILists.podspec b/BlueprintUILists.podspec index b756c5a30..13c5e3aef 100644 --- a/BlueprintUILists.podspec +++ b/BlueprintUILists.podspec @@ -4,10 +4,10 @@ Pod::Spec.new do |s| s.name = 'BlueprintUILists' s.version = LISTABLE_VERSION s.summary = 'Declarative list views for iOS apps that deploy back to iOS 14.0.' - s.homepage = 'https://github.com/kyleve/Listable' + s.homepage = 'https://github.com/square/Listable' s.license = 'Apache License, Version 2.0' s.author = { 'Kyle' => 'k@squareup.com' } - s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" } + s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" } s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET diff --git a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme index c176d6132..79d1afef5 100644 --- a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme +++ b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme @@ -48,6 +48,20 @@ ReferencedContainer = "container:../Pods/Pods.xcodeproj"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ListableUI.podspec b/ListableUI.podspec index 3f28e9433..ce5e2f117 100644 --- a/ListableUI.podspec +++ b/ListableUI.podspec @@ -4,10 +4,10 @@ Pod::Spec.new do |s| s.name = 'ListableUI' s.version = LISTABLE_VERSION s.summary = 'Declarative list views for iOS apps that deploy back to iOS 14.0.' - s.homepage = 'https://github.com/kyleve/Listable' + s.homepage = 'https://github.com/square/Listable' s.license = 'Apache License, Version 2.0' - s.author = { 'Kyle' => 'k@squareup.com' } - s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" } + s.author = { 'UI Systems iOS' => 'ui-systems-ios@squareup.com' } + s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" } s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET diff --git a/Podfile b/Podfile index 84733edf0..d29f3fc6e 100644 --- a/Podfile +++ b/Podfile @@ -9,6 +9,7 @@ target 'Demo' do # Local Pods pod 'ListableUI', :path => 'ListableUI.podspec', :testspecs => ['Tests'] pod 'BlueprintUILists', :path => 'BlueprintUILists.podspec', :testspecs => ['Tests'] + pod 'SwiftUILists', :path => 'SwiftUILists.podspec', :testspecs => ['Tests'] # External Pods pod 'BlueprintUI' diff --git a/Podfile.lock b/Podfile.lock index a460d5501..61baaf9e9 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -16,6 +16,10 @@ PODS: - Snapshot - Snapshot (1.0.0.LOCAL) - Snapshot/Tests (1.0.0.LOCAL) + - SwiftUILists (13.0.0): + - ListableUI + - SwiftUILists/Tests (13.0.0): + - ListableUI DEPENDENCIES: - BlueprintUI @@ -27,6 +31,8 @@ DEPENDENCIES: - ListableUI/Tests (from `ListableUI.podspec`) - Snapshot (from `Internal Pods/Snapshot/Snapshot.podspec`) - Snapshot/Tests (from `Internal Pods/Snapshot/Snapshot.podspec`) + - SwiftUILists (from `SwiftUILists.podspec`) + - SwiftUILists/Tests (from `SwiftUILists.podspec`) SPEC REPOS: trunk: @@ -42,15 +48,18 @@ EXTERNAL SOURCES: :path: ListableUI.podspec Snapshot: :path: Internal Pods/Snapshot/Snapshot.podspec + SwiftUILists: + :path: SwiftUILists.podspec SPEC CHECKSUMS: BlueprintUI: a1adeb91f76c88dd499ad693251aa96919b1c2a4 BlueprintUICommonControls: 9e02875bc6b8ef64aa9634c32d7156bd50c7b88d - BlueprintUILists: 2962f5944139e4e88b60f67e26c1555e1bdd61f5 + BlueprintUILists: 7b7e30176417c43828d7675b5e846ee3f22b2468 EnglishDictionary: 277ff15917abc170362afbd2ad11cbe15c2ae6ad - ListableUI: d510180c325505294d7da3d4bf7f56977f863dd8 + ListableUI: 56cbcafd28d2ea216bb23e82894d2d8366c88cbe Snapshot: a936e73ede9570c80fb55e20542903e81efbad82 + SwiftUILists: 638c8d623dcba7fdaed9679ab1ade67b36b4d548 -PODFILE CHECKSUM: 2ca1d80570fc765312a79bcaa886ee9034caabd2 +PODFILE CHECKSUM: ef931c73a8cb3c9e3cc779683c88d4a90771a94e COCOAPODS: 1.11.3 diff --git a/SwiftUILists.podspec b/SwiftUILists.podspec new file mode 100644 index 000000000..6efb07644 --- /dev/null +++ b/SwiftUILists.podspec @@ -0,0 +1,41 @@ +require_relative 'version' + +Pod::Spec.new do |s| + s.name = 'SwiftUILists' + s.version = LISTABLE_VERSION + s.summary = 'Declarative list views for SwiftUI' + s.homepage = 'https://github.com/square/Listable' + s.license = 'Apache License, Version 2.0' + s.author = { 'UI Systems iOS' => 'ui-systems-ios@squareup.com' } + s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" } + + s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET + + s.swift_versions = [LISTABLE_SWIFT_VERSION] + + s.dependency 'ListableUI' + + s.frameworks = 'SwiftUI' + + s.source_files = 'SwiftUILists/Sources/**/*.{swift}' + + s.pod_target_xcconfig = { + 'APPLICATION_EXTENSION_API_ONLY' => 'YES', + } + + unless ENV['LISTABLE_PUBLISHING'] + + # These tests can only be run locally, because they depend on local pods. + + s.test_spec 'Tests' do |test_spec| + test_spec.source_files = 'SwiftUILists/Tests/**/*.{swift}' + test_spec.ios.resource_bundle = { 'SwiftUIListsResources' => 'SwiftUILists/Tests/Resources/**/*.*' } + + test_spec.frameworks = 'XCTest', 'SwiftUI' + + test_spec.libraries = 'swiftsimd', 'swiftCoreGraphics', 'swiftFoundation', 'swiftUIKit' + + test_spec.requires_app_host = true + end + end +end diff --git a/SwiftUILists/Sources/dummy.swift b/SwiftUILists/Sources/dummy.swift new file mode 100644 index 000000000..cecaff8e8 --- /dev/null +++ b/SwiftUILists/Sources/dummy.swift @@ -0,0 +1,4 @@ + +// Just so things compile before we have actual sources +private struct Dummy { +} \ No newline at end of file diff --git a/SwiftUILists/Tests/dummy.swift b/SwiftUILists/Tests/dummy.swift new file mode 100644 index 000000000..12effd96d --- /dev/null +++ b/SwiftUILists/Tests/dummy.swift @@ -0,0 +1,4 @@ + +// Just so things compile before we have actual sources +private struct Dummy { +}