diff --git a/sdk/libportal-ios/LICENSE b/sdk/libportal-ios/LICENSE new file mode 100644 index 0000000..fe4b9bc --- /dev/null +++ b/sdk/libportal-ios/LICENSE @@ -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 or the MIT license , 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. diff --git a/sdk/libportal-ios/libportal-ios.podspec b/sdk/libportal-ios/libportal-ios.podspec index 86f012f..9f2e00a 100644 --- a/sdk/libportal-ios/libportal-ios.podspec +++ b/sdk/libportal-ios/libportal-ios.podspec @@ -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