skip to Main Content

I am pretty novice at coding and Xcode, so please forgive me if I’m asking a silly question or making a stupid error… I’ve tried to search online to resolve myself, but am just stuck at this point.

My iOS app (Swift and SwiftUI) has been going along smoothly as I’ve been building it, up until this morning. It was building and running in the simulator, and on devices just fine.

Then suddenly I’ve started receiving the error in the screenshot below, and I’m confused because I don’t think I’ve changed anything (at least not consciously).

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

I can’t find the exact same issue on Google, but it does seem like suggestions were to look in the build phases of the app target, which seems to show the following:

Xcode link binaries screenshot

I am using Firebase (which is the only real package I manually added) which was installed using Xcode’s package dependencies manager (I see the there are obviously other dependencies which were installed because of Firebase, one of which is gRPC which I do see in the Package Dependencies section in the navigation pane) and as I say, all was working fine up until this morning. I’ve tried to re-add the Firebase but I don’t seem to be getting anywhere.

Unsure why this would run in simulator but suddenly stop on the device itself. Help would be greatly appreciated!

Full details from the "unable to install" popup are as follows, if this is useful to you at all:

Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
User Info: {
    DVTErrorCreationDateKey = "2025-01-03 09:50:30 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    NSURL = "file:///Users/gavinbiesheuvel/Library/Developer/Xcode/DerivedData/PlettApp-bffxbuoklgogpwfdqsgwjvaafnxh/Build/Products/Debug-iphoneos/PlettApp.app";
}
--
Unable to Install “PlettApp”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
--
PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
Domain: MIInstallerErrorDomain
Code: 71
User Info: {
    FunctionName = "-[MIExecutableBundle executableExistsWithError:]";
    SourceFileLine = 1580;
}
--
lstat of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.yvTa87/extracted/PlettApp.app/Frameworks/grpc.framework/grpc failed: No such file or directory
Domain: NSPOSIXErrorDomain
Code: 2
Failure Reason: No such file or directory
User Info: {
    FunctionName = "-[MIFileManager itemExistsAtURL:error:]";
    SourceFileLine = 1345;
}
--

Event 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.application";
    "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 Information

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

2

Answers


  1. Chosen as BEST ANSWER

    Super strangely, I'm not sure what I did to resolve this but the issue has now gone away.

    A few of the steps I followed including trying to install gRPC through Xcode dependency manager (that didn't seem to resolve the issue), then removing Firebase and gRPC from Xcode dependency manager (then also closing Xcode and restarting my Mac), reinstalling Firebase through Xcode. Through my various attempts I also cleared (and sometimes accepted) all uncommitted git changes etc, I also created a rollback branch on GitHub. None of these individually seemed to solve the issue, but when done all together, things seemed to spur back into action.

    Thanks for your help @Jatin.


  2. Earlier i found same issue as you told my app was working on last night and suddenly in morning it’s shows me issue regarding pods gprc path.

      target 'PlettApp' do
    
      # Comment the next line if you don't want to use dynamic frameworks
      use_frameworks!
      # Pods for PlettApp
      # PlettApp Pods here
      
      post_install do |installer|
        installer.generated_projects.each do |project|
          project.targets.each do |target|
            target.build_configurations.each do |config|
              config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0' //Your Deployment Target
            end
            if target.name == 'BoringSSL-GRPC'
              target.source_build_phase.files.each do |file|
                if file.settings && file.settings['COMPILER_FLAGS']
                  flags = file.settings['COMPILER_FLAGS'].split
                  flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
                  file.settings['COMPILER_FLAGS'] = flags.join(' ')
                end
              end
            end
          end
        end
      end
    

    Just do this things

    • Open your project and go to podfile
    • put installer than like in example given above.
    • try to reinstall pod
    • run the app
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search