feat(ios): migrate to Swift Package Manager and upgrade linphone-sdk
This commit is contained in:
parent
a02b76c360
commit
d421c46a71
18 changed files with 184 additions and 129 deletions
|
|
@ -1,14 +0,0 @@
|
|||
<?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>NSPrivacyTrackingDomains</key>
|
||||
<array/>
|
||||
<key>NSPrivacyAccessedAPITypes</key>
|
||||
<array/>
|
||||
<key>NSPrivacyCollectedDataTypes</key>
|
||||
<array/>
|
||||
<key>NSPrivacyTracking</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -13,9 +13,9 @@ libLinPhone integration library for Flutter apps
|
|||
s.license = { :file => '../LICENSE' }
|
||||
s.author = { 'nuark' => 'me@nuark.xyz' }
|
||||
s.source = { :path => '.' }
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.source_files = 'liblinphone_flutter/Sources/liblinphone_flutter/**/*'
|
||||
s.dependency 'Flutter'
|
||||
s.ios.dependency 'linphone-sdk', '~> 5.3.4'
|
||||
s.ios.dependency 'linphone-sdk', '~> 5.5.0'
|
||||
s.platform = :ios, '13.0'
|
||||
|
||||
# Flutter.framework does not contain a i386 slice.
|
||||
|
|
|
|||
25
ios/liblinphone_flutter/Package.swift
Normal file
25
ios/liblinphone_flutter/Package.swift
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// swift-tools-version: 5.9
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "liblinphone_flutter",
|
||||
platforms: [.iOS("15.0")],
|
||||
products: [
|
||||
.library(name: "liblinphone-flutter", targets: ["liblinphone_flutter"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(name: "FlutterFramework", path: "../FlutterFramework"),
|
||||
.package(url: "https://git.nuark.xyz/nuark/linphone-sdk-swift-ios.git", branch: "5.5.0-beta-2e6e6b927ce202f6948da02ea33081a52b89bf48")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "liblinphone_flutter",
|
||||
dependencies: [
|
||||
.product(name: "FlutterFramework", package: "FlutterFramework"),
|
||||
.product(name: "linphonesw", package: "linphone-sdk-swift-ios")
|
||||
],
|
||||
path: "Sources"
|
||||
)
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue