Files
Claude f1eb22c591 SSH, Telnet and rlogin: rlogin on Android, all three on iOS
- shared: TelnetCodec and RloginCodec (sans-I/O), and LoginBridge for Swift
- Android: rlogin directory entries (RloginLink on the shared codec)
- iOS: a Remote screen from the Terminal tab; SSH on SwiftNIO SSH
  (ios/DModemSSH, tested against a real sshd), Telnet and rlogin on
  Network with the shared codecs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:41:55 +00:00

86 lines
3.3 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright (C) 2026 Neo-Desktop
#
# The iOS app's Xcode project, as text: xcodegen generate (in ios/DModem)
# makes DModem.xcodeproj. It needs build-apple/DModemEngine.xcframework
# (ios/build-native.sh) and the shared Kotlin's XCFramework
# (./gradlew :shared:assembleDModemSharedXCFramework).
name: DModem
options:
bundleIdPrefix: com.neodesktop
deploymentTarget:
iOS: "16.0"
packages:
DModemKit:
path: ../DModemKit
DModemSSH:
path: ../DModemSSH
targets:
DModem:
type: application
platform: iOS
sources: [Sources]
dependencies:
- package: DModemKit
- package: DModemSSH
- framework: ../../shared/build/XCFrameworks/release/DModemShared.xcframework
embed: false
# the dial-up link's VPN (embedded in the app's PlugIns)
- target: DModemTunnel
- sdk: NetworkExtension.framework
- sdk: CallKit.framework
info:
path: Sources/Info.plist
properties:
CFBundleDisplayName: D-Modem
CFBundleShortVersionString: "0.1"
UILaunchScreen: {}
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight]
# the modem's call goes on in the background: its speaker (or quiet) keeps the app's audio running
UIBackgroundModes: [audio]
NSLocalNetworkUsageDescription: "D-Modem calls another phone with the app on this network, and SIP servers on it."
NSBonjourServices: [_dmodem._tcp]
# voice calls through the modem, a greeting recorded for the answering machine
NSMicrophoneUsageDescription: "D-Modem uses the microphone for voice calls through the modem, and to record the answering machine's greeting."
# received files and faxes in the Files app (On My iPhone › D-Modem)
UIFileSharingEnabled: true
LSSupportsOpeningDocumentsInPlace: true
entitlements:
path: Sources/DModem.entitlements
properties:
com.apple.developer.networking.networkextension: [packet-tunnel-provider]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.neodesktop.dmodem
PRODUCT_NAME: DModem
SWIFT_VERSION: "5.9"
TARGETED_DEVICE_FAMILY: "1,2"
# (the engine is C++; SystemDNS.c's res_ninit is libresolv's)
OTHER_LDFLAGS: ["-lc++", "-lresolv"]
SWIFT_OBJC_BRIDGING_HEADER: Sources/DModem-Bridging-Header.h
# the dial-up link as the phone's VPN: a packet tunnel, its packets to the app on the loopback
DModemTunnel:
type: app-extension
platform: iOS
sources: [Tunnel]
dependencies:
- sdk: NetworkExtension.framework
info:
path: Tunnel/Info.plist
properties:
CFBundleDisplayName: D-Modem dial-up
CFBundleShortVersionString: "0.1"
NSExtension:
NSExtensionPointIdentifier: com.apple.networkextension.packet-tunnel
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PacketTunnelProvider
entitlements:
path: Tunnel/DModemTunnel.entitlements
properties:
com.apple.developer.networking.networkextension: [packet-tunnel-provider]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.neodesktop.dmodem.tunnel
PRODUCT_NAME: DModemTunnel
SWIFT_VERSION: "5.9"
TARGETED_DEVICE_FAMILY: "1,2"