The iroh xcframework needs more system frameworks than the legacy build: iroh's netwatch uses Network.framework (nw_* symbols), and the objc2 bindings pull in CoreFoundation/Foundation/objc/iconv. Add them to OTHER_LDFLAGS so TetherApp links against the iroh core (verified: arm64 simulator BUILD SUCCEEDED; harmless extra frameworks for the legacy build too). Also add examples/iroh_send.rs — a one-shot test sender to pre-flight the agent's receive path (clipboard write + provenance toast) without a second device. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
name: TetherApp
|
|
options:
|
|
bundleIdPrefix: io.pecord
|
|
deploymentTarget:
|
|
iOS: "26.0"
|
|
createIntermediateGroups: true
|
|
|
|
packages:
|
|
TetherKit:
|
|
path: ../TetherKit
|
|
|
|
targets:
|
|
TetherApp:
|
|
type: application
|
|
platform: iOS
|
|
sources:
|
|
- Sources
|
|
dependencies:
|
|
- package: TetherKit # RoomIdentity only — networking now lives in TetherCore
|
|
- framework: Vendor/TetherCore.xcframework
|
|
embed: false # static lib, nothing to embed
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: io.pecord.tether
|
|
# Rust staticlib pulls in SecRandomCopyBytes (ring) + system config
|
|
# (reqwest) + iroh's netwatch (Network.framework) + objc2 bindings
|
|
# (CoreFoundation/Foundation/objc) + iconv.
|
|
OTHER_LDFLAGS: "-framework Security -framework SystemConfiguration -framework Network -framework CoreFoundation -framework Foundation -lobjc -liconv -lresolv"
|
|
MARKETING_VERSION: "0.1.0"
|
|
CURRENT_PROJECT_VERSION: "1"
|
|
GENERATE_INFOPLIST_FILE: true
|
|
# Free Apple ID signing for on-device runs; blank is fine for Simulator.
|
|
DEVELOPMENT_TEAM: ""
|
|
CODE_SIGN_STYLE: Automatic
|
|
# http:// to the LAN server — allow cleartext on local network.
|
|
INFOPLIST_KEY_NSLocalNetworkUsageDescription: "tether connects to your clipboard relay on the local network."
|
|
INFOPLIST_KEY_UILaunchScreen_Generation: true
|
|
configs:
|
|
Debug:
|
|
INFOPLIST_KEY_NSAppTransportSecurity: ""
|
|
info:
|
|
path: Sources/Info.plist
|
|
properties:
|
|
NSAppTransportSecurity:
|
|
NSAllowsLocalNetworking: true
|
|
NSLocalNetworkUsageDescription: "tether connects to your clipboard relay on the local network."
|
|
UILaunchScreen: {}
|