Skip to content

Commit

Permalink
apply spm
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsikhan committed Jun 11, 2024
1 parent ba5b084 commit 52789fa
Show file tree
Hide file tree
Showing 13 changed files with 340 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions Example/Pods/Local Podspecs/VerifiableSwift.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
32 changes: 32 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "VerifiableSwift",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "VerifiableSwift",
targets: ["VerifiableSwift"]),
],

dependencies: [
.package(url: "https://github.com/METADIUM/JWTsSwift.git", .upToNextMajor(from: "0.1.2"))
],

targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "VerifiableSwift",
dependencies: [
.product(name: "JWTsSwift", package: "JWTsSwift")
]),

.testTarget(
name: "VerifiableSwiftTests",
dependencies: ["VerifiableSwift"]),
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
262 changes: 262 additions & 0 deletions Tests/VerifiableSwiftTests/VerifiableSwiftTests.swift

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions VerifiableSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'VerifiableSwift'
s.version = '0.2.1'
s.version = '0.2.2'
s.summary = 'Verifiable Credential and Presentation of Metadium.'

# This description is used to generate tags and improve search results.
Expand All @@ -24,13 +24,13 @@ Verifiable Credential and Presentation of Metadium.
s.homepage = 'https://github.com/METADIUM/VerifiableSwift'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'YoungBae Jeon' => 'ybjeon@coinplug.com' }
s.author = { 'YoungBae Jeon' => 'ybjeon@cplabs.io' }
s.source = { :git => 'https://github.com/METADIUM/VerifiableSwift.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.ios.deployment_target = '11.0'
s.ios.deployment_target = '12.0'

s.source_files = 'VerifiableSwift/Classes/**/*'
s.source_files = 'Sources/VerifiableSwift/Classes/**/*'

# s.resource_bundles = {
# 'VerifiableSwift' => ['VerifiableSwift/Assets/*.png']
Expand Down

0 comments on commit 52789fa

Please sign in to comment.