RoyalVNCKit prioritizes .diffieHellman (ARD) over .vnc during handshake when both are offered. My delegate adapter was passing an empty username to VNCUsernamePasswordCredential, so any Mac with user-account screen sharing enabled rejected the credential before .vnc fallback could happen. Fix: persist a username on SavedConnection and pipe it through to the credential callback. Leave blank to use the VNC-only password path. AddConnection footer now explains the two Mac paths: • User account (ARD) — macOS short name + full account password • VNC-only password — blank username + ≤8 char password Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
name: Screens
|
|
options:
|
|
bundleIdPrefix: com.tt.screens
|
|
deploymentTarget:
|
|
iOS: "18.0"
|
|
developmentLanguage: en
|
|
xcodeVersion: "16.0"
|
|
settings:
|
|
base:
|
|
SWIFT_VERSION: "6.0"
|
|
SWIFT_STRICT_CONCURRENCY: complete
|
|
ENABLE_USER_SCRIPT_SANDBOXING: YES
|
|
CODE_SIGN_STYLE: Automatic
|
|
DEVELOPMENT_TEAM: V3PF3M6B6U
|
|
|
|
packages:
|
|
VNCCore:
|
|
path: Packages/VNCCore
|
|
VNCUI:
|
|
path: Packages/VNCUI
|
|
|
|
targets:
|
|
Screens:
|
|
type: application
|
|
platform: iOS
|
|
deploymentTarget: "18.0"
|
|
sources:
|
|
- path: Screens
|
|
excludes:
|
|
- Resources/Info.plist
|
|
- path: Screens/Resources/PrivacyInfo.xcprivacy
|
|
type: file
|
|
buildPhase: resources
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.tt.screens
|
|
PRODUCT_NAME: Screens
|
|
TARGETED_DEVICE_FAMILY: "1,2"
|
|
GENERATE_INFOPLIST_FILE: NO
|
|
INFOPLIST_FILE: Screens/Resources/Info.plist
|
|
SWIFT_EMIT_LOC_STRINGS: YES
|
|
dependencies:
|
|
- package: VNCCore
|
|
product: VNCCore
|
|
- package: VNCUI
|
|
product: VNCUI
|
|
|
|
ScreensUITests:
|
|
type: bundle.ui-testing
|
|
platform: iOS
|
|
deploymentTarget: "18.0"
|
|
sources:
|
|
- path: ScreensUITests
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.tt.screens.uitests
|
|
TEST_TARGET_NAME: Screens
|
|
GENERATE_INFOPLIST_FILE: YES
|
|
dependencies:
|
|
- target: Screens
|