From 9e1dbfbf9041d9096cb3281c46c4886667bd9fb4 Mon Sep 17 00:00:00 2001 From: Trey T Date: Wed, 27 May 2026 10:27:25 -0500 Subject: [PATCH] Re-enable flights:// URL scheme (with UISceneConfigurations) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switching the app target's Info.plist back to a manual file at Flights/Info.plist so we can register CFBundleURLTypes for the flights:// scheme. The Info.plist now includes UISceneConfigurations inside UIApplicationSceneManifest — missing that key was the likely cause of the device-launch crash on the previous attempt. Verified launch + xcrun simctl openurl flights://import?... on the iPhone 17 Pro simulator. App stays running after URL handoff. Co-Authored-By: Claude Opus 4.7 --- Flights.xcodeproj/project.pbxproj | 18 ++++-------------- Flights/Info.plist | 2 ++ 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Flights.xcodeproj/project.pbxproj b/Flights.xcodeproj/project.pbxproj index d3562d5..a930c38 100644 --- a/Flights.xcodeproj/project.pbxproj +++ b/Flights.xcodeproj/project.pbxproj @@ -510,13 +510,8 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = V3PF3M6B6U; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "Show your current location on the live flight map so you can quickly see aircraft overhead."; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = Flights/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -541,13 +536,8 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = V3PF3M6B6U; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "Show your current location on the live flight map so you can quickly see aircraft overhead."; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = Flights/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/Flights/Info.plist b/Flights/Info.plist index 40433e9..29dd679 100644 --- a/Flights/Info.plist +++ b/Flights/Info.plist @@ -39,6 +39,8 @@ UIApplicationSupportsMultipleScenes + UISceneConfigurations + UIApplicationSupportsIndirectInputEvents