Skip to content

Commit

Permalink
Change source folder to avoid redundant header file
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-sgupta committed Sep 18, 2020
1 parent 9c16a75 commit 179fdc0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 85 deletions.
10 changes: 2 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@ import PackageDescription
let package = Package(
name: "UIAlertController_Blocks",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "UIAlertController_Blocks",
targets: ["UIAlertController_Blocks"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "UIAlertController_Blocks",
dependencies: [])
path: "UIAlertController_Blocks",
publicHeadersPath: "")
]
)

This file was deleted.

2 changes: 1 addition & 1 deletion UIAlertController+Blocks.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pod::Spec.new do |s|
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = "Ryan Maxwell"
s.source = { :git => "https://github.com/ryanmaxwell/UIAlertController-Blocks.git", :tag => '0.9.2' }
s.source_files = 'Sources/UIAlertController_Blocks/UIAlertController+Blocks.{h,m}'
s.source_files = 'UIAlertController_Blocks/UIAlertController+Blocks.{h,m}'
s.requires_arc = true
s.ios.deployment_target = '6.0' # 6.0 as this is a dependency for RMUniversalAlert
s.tvos.deployment_target = '9.0'
Expand Down

0 comments on commit 179fdc0

Please sign in to comment.