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]: This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique. #982

Closed
2 of 3 tasks
Ralle opened this issue Mar 13, 2024 · 1 comment

Comments

@Ralle
Copy link

Ralle commented Mar 13, 2024

What happened?

I updated OneSignal to "onesignal-cordova-plugin": "^5.1.0" and since then Xcode won't test my app on my phone. I was using version ~3 before.

It gives me the error:

This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.

I did follow the install steps and have given my extension the Bundle ID:
com.soundwheel.soundwheel.OneSignalNotificationServiceExtension

And my app the Bundle ID:
com.soundwheel.soundwheel

Steps to reproduce?

1. Update OneSignal
2. Create the service extension according to the manual
3. CMD+R

What did you expect to happen?

I expected it to run my app and not complain.

OneSignal Cordova SDK version

5.1.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Unable to install "App"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653008
User Info: {
    DVTErrorCreationDateKey = "2024-03-13 12:28:35 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653008
User Info: {
    DVTRadarComponentKey = 261622;
    MobileDeviceErrorCode = "(0xE80000B0)";
    "com.apple.dtdevicekit.stacktrace" = (
	0   DTDeviceKitBase                     0x000000011aced67c DTDKCreateNSErrorFromAMDErrorCode + 229
	1   DTDeviceKitBase                     0x000000011ad20d34 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 158
	2   DVTFoundation                       0x000000010bda19fc DVTInvokeWithStrongOwnership + 70
	3   DTDeviceKitBase                     0x000000011ad20a69 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1412
	4   IDEiOSSupportCore                   0x000000011336adc6 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.305 + 3568
	5   DVTFoundation                       0x000000010bee0134 __DVT_CALLING_CLIENT_BLOCK__ + 7
	6   DVTFoundation                       0x000000010bee0c20 __DVTDispatchAsync_block_invoke + 196
	7   libdispatch.dylib                   0x00007ff8155852e6 _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x00007ff81558659a _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x00007ff81558c668 _dispatch_lane_serial_drain + 816
	10  libdispatch.dylib                   0x00007ff81558d100 _dispatch_lane_invoke + 377
	11  libdispatch.dylib                   0x00007ff815596aee _dispatch_root_queue_drain_deferred_wlh + 271
	12  libdispatch.dylib                   0x00007ff8155963fd _dispatch_workloop_worker_thread + 451
	13  libsystem_pthread.dylib             0x00007ff81572ac47 _pthread_wqthread + 327
	14  libsystem_pthread.dylib             0x00007ff815729b97 start_wqthread + 15
);
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone11,2";
    "device_osBuild" = "16.3.1 (20D67)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "348.1";
    "dvt_mobiledevice_version" = "1643.40.14";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 6958;
    "operation_errorCode" = "-402653008";
    "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
    "operation_errorWorker" = IDEInstalliPhoneLauncher;
    "operation_name" = IDEiPhoneRunOperationWorkerGroup;
    "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_checker_tpc_enable" = 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_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.0";
    "sdk_osVersion" = "17.0";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 14.1.2 (Build 23B92)
Xcode 15.0.1 (22266) (Build 15A507)
Timestamp: 2024-03-13T13:28:35+01:00

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Ralle
Copy link
Author

Ralle commented Mar 14, 2024

Cleaning the solution fixed it. TIL.

@Ralle Ralle closed this as completed Mar 14, 2024
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