Naituw / IPAPatch

Patch iOS Apps, The Easy Way, Without Jailbreak.
MIT License
4.7k stars 702 forks source link

When I re-sign the ipa package of xcode15 and cannot replace the dynamic library,xcode prompts me '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. #102

Open hectorWH opened 4 months ago

hectorWH commented 4 months ago

When I re-sign the ipa package of xcode15 and cannot replace the dynamic library,xcode prompts me '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: { 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 0x0000000122eeb670 DTDKCreateNSErrorFromAMDErrorCode + 300 1 DTDeviceKitBase 0x0000000122f182e0 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136 2 DVTFoundation 0x00000001060039bc DVTInvokeWithStrongOwnership + 76 3 DTDeviceKitBase 0x0000000122f18064 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1168 4 IDEiOSSupportCore 0x00000001273c341c 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.151 + 2344 5 DVTFoundation 0x0000000106114598 __DVT_CALLING_CLIENT_BLOCK + 16 6 DVTFoundation 0x0000000106114fc0 DVTDispatchAsync_block_invoke + 152 7 libdispatch.dylib 0x000000019f248750 _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x000000019f24a3e8 _dispatch_client_callout + 20 9 libdispatch.dylib 0x000000019f251a14 _dispatch_lane_serial_drain + 748 10 libdispatch.dylib 0x000000019f252544 _dispatch_lane_invoke + 380 11 libdispatch.dylib 0x000000019f25d2d0 _dispatch_root_queue_drain_deferred_wlh + 288 12 libdispatch.dylib 0x000000019f25cb44 _dispatch_workloop_worker_thread + 404 13 libsystem_pthread.dylib 0x000000019f3f700c _pthread_wqthread + 288 14 libsystem_pthread.dylib 0x000000019f3f5d28 start_wqthread + 8 ); }

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_model" = "iPhone11,8"; "device_osBuild" = "16.6.1 (20G81)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "355.24"; "dvt_mobiledevice_version" = "1643.120.2"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 78268; "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.4"; "sdk_osVersion" = "17.4"; "sdk_variant" = iphoneos; }

LeonIsLeet commented 3 months ago

Make sure all the bundle id in the project settings is consistent