Skip to content

Commit f926691

Browse files
authored
Merge pull request #40 from ricky641b/spm-ready
fixed BundleUtil error when added via SPM
2 parents 14af0a6 + 9728be0 commit f926691

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let package = Package(
2222
name: "PasswordTextField",
2323
dependencies: [],
2424
path: "PasswordTextField",
25-
exclude: ["BundleUtil.swift", "Info.plist"],
25+
exclude: ["Info.plist"],
2626
resources: [.process("Media")]),
2727
]
2828
)

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ A custom TextField with a switchable icon which shows or hides the password and
2121
:octocat: Installation
2222
---
2323

24+
#### Swift Package Manager (SPM)
25+
26+
1. In Xcode 11+ select *File > Packages > Add Package Dependency...*.
27+
2. Enter this project's URL: https://github.com/PiXeL16/PasswordTextField
28+
2429
#### CocoaPods
2530
You can use [CocoaPods](http://cocoapods.org/) to install `PasswordTextField` by adding it to your `Podfile`:
2631

2732
```ruby
28-
platform :ios, '8.0'
33+
platform :ios, '12.0'
2934
use_frameworks!
3035
pod 'PasswordTextField'
3136
```

0 commit comments

Comments
 (0)