Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OneSignalNotificationServiceExtension.appex is missing its bundle executable #975

Open
2 of 3 tasks
Deecency opened this issue Nov 22, 2024 · 0 comments
Open
2 of 3 tasks

Comments

@Deecency
Copy link

What happened?

I followed the step one Onesignal Flutter docs, I tried out the sdk and it works well on android but and nothing works on IOS. I can't start the app, because Xcode is giving me the erorr that "X can't be installed". I reproduced every step so many times, and got through all of stackoverflow and github issues about this error, but still can't find any solution.

Steps to reproduce?

1. Create a new Flutter Project
2. Pub add latest Onesignal flutter package.
3. Follow all the instructions exactly one to one in the Docs of Onesignal for Flutter.
4. Get Errors, and fix them with the known "PBXGroup" and "objectVersion = 56" replacement.
5. Refactor Build Phases for the next error: so that "Embed Foundation Extensions" get exactly under Copy Bundle Resources.
6. Run the App. 
7. Get Xcode Error, even if flutter does not throw an error.

What did you expect to happen?

I expected the app to build and run with the onesignal flutter package installed. Works well on android but xcode shows the error (KFA)
image

OneSignal Flutter SDK version

3.24.3

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Unable to Install “project x”
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension".
User Info: {
    DVTErrorCreationDateKey = "2024-11-22 17:52:18 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    NSURL = "file:///Users/decencyanukam/AndroidStudioProjects/udara360/build/ios/iphoneos/Runner.app";
}
--
Unable to Install “Udara360”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension".
--
Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension".
Domain: MIInstallerErrorDomain
Code: 71
User Info: {
    FunctionName = "-[MIExecutableBundle executableExistsWithError:]";
    SourceFileLine = 1580;
}
--
lstat of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.P9rlIm/extracted/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension 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" = "00008120-00021C2C1483C01E";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone15,3";
    "device_osBuild" = "18.0.1 (22A3370)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone15,3";
    "dvt_coredevice_version" = "397.24";
    "dvt_coresimulator_version" = "987.2";
    "dvt_mobiledevice_version" = "1759.40.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 4642;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "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" = 99;
    "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.1";
    "sdk_osVersion" = "18.1";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 15.0.1 (Build 24A348)
Xcode 16.1 (23503) (Build 16B40)
Timestamp: 2024-11-22T18:52:18+01:00

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant