Add podspec + package.swift

This commit is contained in:
Lois Di Qual 2019-11-27 10:12:59 -08:00
parent 099e0cd558
commit 463fff2fae
2 changed files with 38 additions and 0 deletions

15
Introspect.podspec Normal file
View File

@ -0,0 +1,15 @@
Pod::Spec.new do |spec|
spec.name = 'Introspect'
spec.version = '0.0.1'
spec.license = { type: 'MIT' }
spec.homepage = 'https://github.com/timbersoftware/SwiftUI-Introspect.git'
spec.authors = { 'Lois Di Qual' => 'lois@timber.so' }
spec.summary = 'Introspect the underlying UIKit element of a SwiftUI view.'
spec.source = {
git: 'https://github.com/timbersoftware/SwiftUI-Introspect.git',
tag: spec.version
}
spec.source_files = 'Introspect/**/*.swift'
spec.platform = :ios, '13.0'
spec.swift_version = '5.1'
end

23
Package.swift Normal file
View File

@ -0,0 +1,23 @@
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Introspect",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "Introspect",
targets: ["Introspect"]
)
],
dependencies: [],
targets: [
.target(
name: "Introspect",
dependencies: []
)
]
)