ios – Xcode error: grpc.framework is lacking its bundle executable


I’m fairly novice at coding and Xcode, so please forgive me if I am asking a foolish query or making a silly error… I’ve tried to go looking on-line to resolve myself, however am simply caught at this level.

My iOS app (Swift and SwiftUI) has been going alongside easily as I have been constructing it, up till this morning. It was constructing and operating within the simulator, and on units simply advantageous.

Then abruptly I’ve began receiving the error within the screenshot under, and I am confused as a result of I do not assume I’ve modified something (a minimum of not consciously).

Screenshot in Xcode showing unable to install due to missing bundle executable

I am unable to discover the very same difficulty on Google, nevertheless it does seem to be solutions had been to look within the construct phases of the app goal, which appears to point out the next:

Xcode link binaries screenshot

I’m utilizing Firebase (which is the one actual bundle I manually added) which was put in utilizing Xcode’s bundle dependencies supervisor (I see the there are clearly different dependencies which had been put in due to Firebase, one among which is gRPC which I do see within the Package deal Dependencies part within the navigation pane) and as I say, all was working advantageous up till this morning. I’ve tried to re-add the Firebase however I are not getting anyplace.

Not sure why this may run in simulator however abruptly cease on the system itself. Assist can be vastly appreciated!

Full particulars from the “unable to put in” popup are as follows, if that is helpful to you in any respect:

Area: IXUserPresentableErrorDomain
Code: 1
Restoration Suggestion: PlettApp.app/Frameworks/grpc.framework is lacking its bundle executable. Please examine your construct settings to be sure that a bundle executable is produced on the path "PlettApp.app/Frameworks/grpc.framework/grpc".
Consumer Data: {
    DVTErrorCreationDateKey = "2025-01-03 09:50:30 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to put in the app on the system.
Area: com.apple.dt.CoreDeviceError
Code: 3002
Consumer Data: {
    NSURL = "file:///Customers/gavinbiesheuvel/Library/Developer/Xcode/DerivedData/PlettApp-bffxbuoklgogpwfdqsgwjvaafnxh/Construct/Merchandise/Debug-iphoneos/PlettApp.app";
}
--
Unable to Set up “PlettApp”
Area: IXUserPresentableErrorDomain
Code: 1
Failure Motive: Please attempt once more later.
Restoration Suggestion: PlettApp.app/Frameworks/grpc.framework is lacking its bundle executable. Please examine your construct settings to be sure that a bundle executable is produced on the path "PlettApp.app/Frameworks/grpc.framework/grpc".
--
PlettApp.app/Frameworks/grpc.framework is lacking its bundle executable. Please examine your construct settings to be sure that a bundle executable is produced on the path "PlettApp.app/Frameworks/grpc.framework/grpc".
Area: MIInstallerErrorDomain
Code: 71
Consumer Data: {
    FunctionName = "-[MIExecutableBundle executableExistsWithError:]";
    SourceFileLine = 1580;
}
--
lstat of /var/installd/Library/Caches/com.apple.cell.installd.staging/temp.yvTa87/extracted/PlettApp.app/Frameworks/grpc.framework/grpc failed: No such file or listing
Area: NSPOSIXErrorDomain
Code: 2
Failure Motive: No such file or listing
Consumer Data: {
    FunctionName = "-[MIFileManager itemExistsAtURL:error:]";
    SourceFileLine = 1345;
}
--

Occasion Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_identifier" = "00008130-001C659C3061401C";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "18.2 (22C151)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "397.28";
    "dvt_coresimulator_version" = "993.7";
    "dvt_mobiledevice_version" = "1759.60.7";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 3155;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 1;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_113575882_enable" = 0;
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_guardMalloc_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_mtc_enable" = 1;
    "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_enable" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 2;
    "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.software";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos18.2";
    "sdk_osVersion" = "18.2";
    "sdk_variant" = iphoneos;
}
--


System Data

macOS Model 15.2 (Construct 24C101)
Xcode 16.2 (23507) (Construct 16C5032a)
Timestamp: 2025-01-03T11:50:30+02:00

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles