Add podspec + package.swift
This commit is contained in:
parent
099e0cd558
commit
463fff2fae
|
@ -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
|
|
@ -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: []
|
||||
)
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue