Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca1ba29

Browse filesBrowse files
committed
fixed the modulemap locatiom
1 parent 6a3d87a commit ca1ba29
Copy full SHA for ca1ba29

File tree

Expand file treeCollapse file tree

3 files changed

+27
-8
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+27
-8
lines changed
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Argon2 {
2-
umbrella header "/Users/tejasmehta/Desktop/Development/Frameworks/Argon2Swift/Sources/Argon2/include/Argon2.h"
3-
export *
4-
}
1+
//module Argon2 {
2+
// header "argon2.h"
3+
// export *
4+
//}

‎Argon2Swift.xcodeproj/project.pbxproj

Copy file name to clipboardExpand all lines: Argon2Swift.xcodeproj/project.pbxproj
+13-2Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
/* End PBXContainerItemProxy section */
7575

7676
/* Begin PBXFileReference section */
77+
A44E74FC25EC69C900137A6F /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
7778
"Argon2Swift::Argon2::Product" /* Argon2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Argon2.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7879
"Argon2Swift::Argon2Swift::Product" /* Argon2Swift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Argon2Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7980
"Argon2Swift::Argon2SwiftTests::Product" /* Argon2SwiftTests.xctest */ = {isa = PBXFileReference; lastKnownFileType = file; path = Argon2SwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -85,7 +86,6 @@
8586
OBJ_18 /* ref.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = ref.c; sourceTree = "<group>"; };
8687
OBJ_21 /* thread.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = thread.c; sourceTree = "<group>"; };
8788
OBJ_23 /* argon2.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = argon2.h; sourceTree = "<group>"; };
88-
OBJ_24 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = /Users/tejasmehta/Desktop/Development/Frameworks/Argon2Swift/Argon2Swift.xcodeproj/GeneratedModuleMap/Argon2/module.modulemap; sourceTree = "<group>"; };
8989
OBJ_26 /* Argon2Swift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Argon2Swift.swift; sourceTree = "<group>"; };
9090
OBJ_27 /* Argon2SwiftErrorCode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Argon2SwiftErrorCode.swift; sourceTree = "<group>"; };
9191
OBJ_28 /* Argon2SwiftException.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Argon2SwiftException.swift; sourceTree = "<group>"; };
@@ -125,6 +125,15 @@
125125
/* End PBXFrameworksBuildPhase section */
126126

127127
/* Begin PBXGroup section */
128+
A44E74FB25EC69C900137A6F /* Modules */ = {
129+
isa = PBXGroup;
130+
children = (
131+
A44E74FC25EC69C900137A6F /* module.modulemap */,
132+
);
133+
name = Modules;
134+
path = Sources/Modules;
135+
sourceTree = "<group>";
136+
};
128137
OBJ_12 /* blake2 */ = {
129138
isa = PBXGroup;
130139
children = (
@@ -137,7 +146,6 @@
137146
isa = PBXGroup;
138147
children = (
139148
OBJ_23 /* argon2.h */,
140-
OBJ_24 /* module.modulemap */,
141149
);
142150
path = include;
143151
sourceTree = "<group>";
@@ -189,6 +197,7 @@
189197
OBJ_7 /* Sources */ = {
190198
isa = PBXGroup;
191199
children = (
200+
A44E74FB25EC69C900137A6F /* Modules */,
192201
OBJ_8 /* Argon2 */,
193202
OBJ_25 /* Argon2Swift */,
194203
);
@@ -403,6 +412,7 @@
403412
"SWIFT_PACKAGE=1",
404413
"DEBUG=1",
405414
);
415+
HEADER_SEARCH_PATHS = "$(SRCROOT)/Sources/Modules";
406416
MACOSX_DEPLOYMENT_TARGET = 10.10;
407417
ONLY_ACTIVE_ARCH = YES;
408418
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
@@ -428,6 +438,7 @@
428438
"$(inherited)",
429439
"SWIFT_PACKAGE=1",
430440
);
441+
HEADER_SEARCH_PATHS = "$(SRCROOT)/Sources/Modules";
431442
MACOSX_DEPLOYMENT_TARGET = 10.10;
432443
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
433444
PRODUCT_NAME = "$(TARGET_NAME)";

‎README.md

Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,22 @@ Swift bindings for the reference C implementation of [Argon2], the winner of the
88

99
[Password Hash Competition]: https://password-hashing.net
1010

11-
## Installation
11+
## Installation (Cocoapods)
1212

13-
Argon2Swift can be installed via Cocoapods by adding the following to your Podfile:
13+
Argon2Swift can be installed via Cocoapods by adding the following to your `Podfile`:
1414

1515
```
1616
pod Argon2Swift
1717
```
1818

19+
## Installation (SPM)
20+
21+
Argon2Swift can be installed via SPM (Swift Package Mangeer) by adding the following to your depencencies:
22+
23+
```swift
24+
.package(url: "https://github.com/tmthecoder/Argon2Swift.git", .branch("main"))
25+
```
26+
1927
## Usage
2028

2129
High-level hashing and verification (for direct hashing & verification of byte arrays, check the example)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.