mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Build .xcframework
This commit is contained in:
24
swift/Package.swift
Normal file
24
swift/Package.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
// Package.swift
|
||||
|
||||
// swift-tools-version: 6.1
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "IDevice",
|
||||
platforms: [
|
||||
.iOS(.v12),
|
||||
.macOS(.v11),
|
||||
],
|
||||
products: [
|
||||
.library(
|
||||
name: "IDevice",
|
||||
targets: ["IDevice"]
|
||||
),
|
||||
],
|
||||
targets: [
|
||||
.binaryTarget(
|
||||
name: "IDevice",
|
||||
path: "IDevice.xcframework"
|
||||
),
|
||||
]
|
||||
)
|
||||
4
swift/include/module.modulemap
Normal file
4
swift/include/module.modulemap
Normal file
@@ -0,0 +1,4 @@
|
||||
module IDevice {
|
||||
header "idevice.h"
|
||||
export *
|
||||
}
|
||||
Reference in New Issue
Block a user