Skip to content

Commit

Permalink
podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
afilini committed Mar 29, 2024
1 parent 683ac5f commit 6f0596a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
13 changes: 13 additions & 0 deletions sdk/libportal-ios/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This software is licensed under Apache 2.0 or MIT, at your option.

Some files retain their own copyright notice, however, for full authorship
information, see version control history.

Except as otherwise noted in individual files, all files in this repository are
licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
http://opensource.org/licenses/MIT>, at your option.

You may not use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of this software or any files in this repository except in
accordance with one or both of these licenses.
30 changes: 11 additions & 19 deletions sdk/libportal-ios/libportal-ios.podspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
Pod::Spec.new do |s|
s.name = "libportal-ios"
s.version = "0.1.0"
s.summary = "iOS bindings for the Portal SDK"
s.homepage = "https://github.com/TwentyTwoHW/portal-software"
s.license = "MIT or APACHE-2.0"
s.authors = "Alekos Filini"
s.name = "libportal-ios"
s.version = "0.1.0"
s.summary = "iOS bindings for the Portal SDK"
s.homepage = "https://github.com/TwentyTwoHW/libportal-ios"
s.license = { :type => "GPL-3.0", :file => "LICENSE" }
s.authors = "Alekos Filini"
s.swift_versions = "5.0"

s.source_files = "Sources/LibPortal/**/*.swift"
s.ios.vendored_frameworks = 'portalFFI.xcframework'
s.platforms = { :ios => "15.0" }

s.swift_version = '4.0'
s.platform = :ios
s.ios.deployment_target = '13.0'
s.source = { :git => "https://github.com/TwentyTwoHW/portal-software.git", :tag => "sdk-#{s.version}" }
s.source_files = "Sources/LibPortal/**/*.swift"
s.vendored_frameworks = 'portalFFI.xcframework'

s.library = 'c++'

s.default_subspec = 'Core'

s.subspec 'Core' do |core|
core.vendored_frameworks = 'portalFFI.xcframework'
end
s.source = { :git => "https://github.com/TwentyTwoHW/libportal-ios.git", :tag => "#{s.version}", :submodules => true }
end

0 comments on commit 6f0596a

Please sign in to comment.