mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
The Apple job now gets past the shared Kotlin tests and stops where #4 fixed it: CMAKE_MACOSX_BUNDLE=OFF for dmodemd's install rule, and libresolv, SystemConfiguration and CoreFoundation for libre. The files are #4's, unchanged, so the two merge cleanly in either order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
25 lines
886 B
Swift
25 lines
886 B
Swift
// swift-tools-version:5.9
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Copyright (C) 2026 Neo-Desktop
|
|
//
|
|
// The modem from Swift: the engine's XCFramework (ios/build-native.sh)
|
|
// and tests that run it on macOS through its C API, as the iOS app will.
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DModemSmoke",
|
|
platforms: [.macOS(.v12), .iOS(.v15)],
|
|
targets: [
|
|
.binaryTarget(name: "DModemEngine", path: "../../build-apple/DModemEngine.xcframework"),
|
|
.testTarget(
|
|
name: "DModemSmokeTests",
|
|
dependencies: ["DModemEngine"],
|
|
linkerSettings: [
|
|
.linkedLibrary("c++"), .linkedLibrary("resolv"),
|
|
// libre asks macOS for its DNS servers (srv.c, SCDynamicStore)
|
|
.linkedFramework("SystemConfiguration"), .linkedFramework("CoreFoundation"),
|
|
]
|
|
),
|
|
]
|
|
)
|