Monday, October 19, 2026
HomeiOS Developmentios - Cannot Set up SwiftUI app onto my iPhone 13 Professional...

ios – Cannot Set up SwiftUI app onto my iPhone 13 Professional once I add Firebase

[ad_1]

My check App runs on the 13 Professional simulator with XCode 13, however when I attempt to construct it to my bodily iPhone machine, it provides me the “unable to put in” error. Below particulars of the failed set up I recieve:

Particulars

Unable to put in "SwiftUI_FireBaseChatApp"
Area: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
Consumer Information: {
    DVTErrorCreationDateKey = "2022-06-15 19:33:21 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
The code signature model is not supported.
Area: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
Consumer Information: {
    DVTRadarComponentKey = 261622;
    MobileDeviceErrorCode = "(0xE8008029)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x0000000110ea1614 DTDKCreateNSErrorFromAMDErrorCode + 272
    1   DTDeviceKitBase                     0x0000000110edadd8 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 160
    2   DVTFoundation                       0x0000000106071be8 DVTInvokeWithStrongOwnership + 76
    3   DTDeviceKitBase                     0x0000000110edab30 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1336
    4   IDEiOSSupportCore                   0x000000010e039590 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 2916
    5   DVTFoundation                       0x0000000106198f68 __DVT_CALLING_CLIENT_BLOCK__ + 16
    6   DVTFoundation                       0x000000010619a080 __DVTDispatchAsync_block_invoke + 364
    7   libdispatch.dylib                   0x00000001b08ae5f0 _dispatch_call_block_and_release + 32
    8   libdispatch.dylib                   0x00000001b08b01b4 _dispatch_client_callout + 20
    9   libdispatch.dylib                   0x00000001b08b78a8 _dispatch_lane_serial_drain + 668
    10  libdispatch.dylib                   0x00000001b08b8404 _dispatch_lane_invoke + 392
    11  libdispatch.dylib                   0x00000001b08c2c98 _dispatch_workloop_worker_thread + 648
    12  libsystem_pthread.dylib             0x00000001b0a70360 _pthread_wqthread + 288
    13  libsystem_pthread.dylib             0x00000001b0a6f080 start_wqthread + 8
);
}
--

Analytics Occasion: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone14,2";
    "device_osBuild" = "15.5 (19F77)";
    "device_platform" = "com.apple.platform.iphoneos";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 5015;
    "operation_errorCode" = "-402620375";
    "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
    "operation_errorWorker" = IDEInstalliPhoneLauncher;
    "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.utility";
    "param_runnable_swiftVersion" = "5.6.1";
    "param_runnable_type" = 2;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos15.5";
    "sdk_osVersion" = "15.5";
    "sdk_variant" = iphoneos;
}
--


System Data

macOS Model 12.4 (Construct 21F79)
Xcode 13.4 (20503) (Construct 13F17a)
Timestamp: 2022-06-16T01:03:21+05:30

I checked out a couple of different posts with the identical “code signature model is not supported” error to see if these would work, however to this point none have. Here is one of many options proposed: Codesign Signature Concern

The code builds and runs completely on the simulator. Simply will not set up to my iPhone 13 Professional for testing. I’ve but to implement any Firebase Authentication within the app (I am simply exploring firebase for the primary time). Additionally, If I recall, my firestore database is in manufacturing mode, not check mode, so is it some safety rule challenge? I am confused.

My check app could be very naked bone. I’ve merely created a customized object in swift and tried inserting it into the database:

ContentView.swift (The snippet of code I’ve added to the boiler plate code):

public struct Metropolis: Codable {

    let title: String
    let state: String?
    let nation: String?
    let isCapital: Bool?
    let inhabitants: Int64?

    enum CodingKeys: String, CodingKey {
        case title
        case state
        case nation
        case isCapital = "capital"
        case inhabitants
    }

    func addItem() {

        let db = Firestore.firestore() // get a firestore supervisor object.

        let metropolis = Metropolis(title: "Los Angeles",
                        state: "CA",
                        nation: "USA",
                        isCapital: false,
                        inhabitants: 5000000)

        do {
            attempt db.assortment("cities").doc("LA").setData(from: metropolis)
        } catch _ {
            // deal with errors.
        }
    }
}

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments