Can Xcode run apps on iOS 12.5.5?

When running an Xcode 13.2.1 Hello World project on an iPad with iOS 12.5.5 an Issues window appears.

Is 12.5.5 no longer supported?

Here is the contents of the Issues window:

Details

Could not launch “HelloWorldMike”

Domain: IDEDebugSessionErrorDomain

Code: 3

Failure Reason: Security

User Info: {

    DVTErrorCreationDateKey = "2022-01-27 12:17:57 +0000";

    DVTRadarComponentKey = 855031;

    IDERunOperationFailingWorker = DBGLLDBLauncher;

    RawUnderlyingErrorMessage = Security;

}

--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {

    "device_model" = "iPad4,4";

    "device_osBuild" = "12.5.5 (16H62)";

    "device_platform" = "com.apple.platform.iphoneos";

    "launchSession_schemeCommand" = Run;

    "launchSession_state" = 1;

    "launchSession_targetArch" = arm64;

    "operation_duration_ms" = 6503;

    "operation_errorCode" = 3;

    "operation_errorDomain" = IDEDebugSessionErrorDomain;

    "operation_errorWorker" = DBGLLDBLauncher;

    "operation_name" = IDEiPhoneRunOperationWorkerGroup;

    "param_consoleMode" = 0;

    "param_debugger_attachToExtensions" = 0;

    "param_debugger_attachToXPC" = 1;

    "param_debugger_type" = 5;

    "param_destination_isProxy" = 0;

    "param_destination_platform" = "com.apple.platform.iphoneos";

    "param_diag_MainThreadChecker_stopOnIssue" = 0;

    "param_diag_MallocStackLogging_enableDuringAttach" = 0;

    "param_diag_MallocStackLogging_enableForXPC" = 1;

    "param_diag_allowLocationSimulation" = 1;

    "param_diag_gpu_frameCapture_enable" = 0;

    "param_diag_gpu_shaderValidation_enable" = 0;

    "param_diag_gpu_validation_enable" = 0;

    "param_diag_memoryGraphOnResourceException" = 0;

    "param_diag_queueDebugging_enable" = 1;

    "param_diag_runtimeProfile_generate" = 0;

    "param_diag_sanitizer_asan_enable" = 0;

    "param_diag_sanitizer_tsan_enable" = 0;

    "param_diag_sanitizer_tsan_stopOnIssue" = 0;

    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;

    "param_diag_showNonLocalizedStrings" = 0;

    "param_diag_viewDebugging_enabled" = 1;

    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;

    "param_install_style" = 0;

    "param_launcher_UID" = 2;

    "param_launcher_allowDeviceSensorReplayData" = 0;

    "param_launcher_kind" = 0;

    "param_launcher_style" = 0;

    "param_launcher_substyle" = 0;

    "param_runnable_appExtensionHostRunMode" = 0;

    "param_runnable_productType" = "com.apple.product-type.application";

    "param_runnable_swiftVersion" = "5.5.2";

    "param_runnable_type" = 2;

    "param_testing_launchedForTesting" = 0;

    "param_testing_suppressSimulatorApp" = 0;

    "param_testing_usingCLI" = 0;

    "sdk_canonicalName" = "iphoneos15.2";

    "sdk_osVersion" = "15.2";

    "sdk_variant" = iphoneos;

}

--

System Information

macOS Version 12.1 (Build 21C52)

Xcode 13.2.1 (19586) (Build 13C100)

Timestamp: 2022-01-27T07:17:57-05:00

To get your app to run on iOS 12, you have to manually change the deployment target, the earliest version of iOS the app can run on, to iOS 12. When you create a new iOS app Xcode project, the deployment target for the app is the version of the iOS SDK that ships with Xcode. Xcode 13.2 ships with the iOS 15.2 SDK so new projects have the deployment target set to iOS 15.2. A new project won't run on earlier iOS versions until you change the deployment target.

Use Xcode's project editor to change the deployment target. If you need detailed instructions on how to change the deployment target, read the article at the following URL:

swiftdevjournal.com/supporting-older-versions-of-ios-and-macos/

Also make sure you choose Storyboard from the Interface menu when creating the project. New Xcode projects default to using SwiftUI for the user interface. Apple added SwiftUI in iOS 13 so SwiftUI apps won't run on iOS 12, no matter what you set the deployment target to.

Can Xcode run apps on iOS 12.5.5?
 
 
Q