I’m currently developing an iOS application and I’ve encountered an issue with Xcode. Whenever I try to modify the Bundle Identifier of my application, Xcode crashes. The crash happens specifically when I click on the “Signing” option after changing the Bundle Identifier.
Here’s the error message I get: “The app identifier ‘com.BikeTest.BikeRoute’ cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.”
Then I changed ‘com.BikeTest.BikeRoute’ to 'com.wuwuma.BikePowerRoute',and xcode crashed.
I don’t have a paid Apple Developer account, and I’m wondering if this could be causing the issue. However, I believe I should still be able to modify the Bundle Identifier without Xcode crashing.
I’ve tried restarting Xcode and my computer, but the issue persists. I’m using Xcode version 15.2 on macOS 14.3.1.
Any help or suggestions would be greatly appreciated. Thank you!
Below is part of error log
Process: Xcode [48073]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 15.2 (22503)
Build Info: IDEApplication-22503000000000000~3 (15C500b)
App Item ID: 497799835
App External ID: 862131722
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-03-13 11:59:19.0371 +0800
OS Version: macOS 14.3.1 (23D60)
Report Version: 12
Bridge OS Version: 8.3 (21P3049)
Anonymous UUID: B3E5B466-52E3-9C6A-EDCA-8E3FA8DEAD88
Sleep/Wake UUID: 4CD9CCBF-B1F5-4EE3-B4F2-C1A2721F9579
Time Awake Since Boot: 190000 seconds
Time Since Wake: 2974 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [48073]
Application Specific Information:
abort() called
Application Specific Signatures:
0
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff802fed7a2 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff803025f30 pthread_kill + 262
2 libsystem_c.dylib 0x7ff802f44a49 abort + 126
3 IDEKit 0x114bd1bbb +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1178
4 IDEKit 0x114bd20b7 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1060
5 DVTFoundation 0x11108c527 _DVTAssertionHandler + 463
6 DVTFoundation 0x11108c737 _DVTAssertionFailureHandler + 306
7 DVTFoundation 0x110e659d0 -[DVTMacroDefinitionTable _setLiteralValue:forMacroName:conditionSet:wantsCheckForDVTMacroExpansionConformance:] + 522
8 DVTFoundation 0x110e67a18 -[DVTMacroDefinitionTable setObject:forKeyedSubscript:] + 239
9 DevToolsCore 0x120d9a992 __52-[PBXTarget _adjustBuildSettingsForProductSettings:]_block_invoke + 1502
10 CoreFoundation 0x7ff8030c6927 NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK + 7
11 CoreFoundation 0x7ff803103aae -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 246
12 DevToolsCore 0x120d9a31b -[PBXTarget _adjustBuildSettingsForProductSettings:] + 188
13 DevToolsCore 0x120d9acf8 -[PBXTarget writeProductSettings:configuration:] + 310
14 DevToolsCore 0x120d9b55f -[PBXTarget setProductSettings:configuration:] + 279
15 DevToolsCore 0x120d9cac8 -[PBXTarget setProductSetting:forKey:configuration:] + 402
16 DevToolsCore 0x121010e17 -[Xcode3TargetInfoPlistCoordinator setValue:forPlistSetting:] + 158
17 DevToolsCore 0x120fd95b7 -[Xcode3Target setBundleIdentifier:forConfigurationNamed:sdk:] + 221
18 IDEFoundation 0x10f9ebc78 __74-[IDEProvisionableManager setBundleIdentifier:forConfigurationsNamed:sdk:]_block_invoke + 376
19 IDEFoundation 0x10f9e9d84 -[IDEProvisionableManager delayEvaluationUntilAfterPerformingBlock:evaluateImmediately:] + 117
20 IDEFoundation 0x10f9ebac8 -[IDEProvisionableManager setBundleIdentifier:forConfigurationsNamed:sdk:] + 169
21 IDEFoundation 0x110094b40 SigningEditorMainProvisionable.bundleIdentifier.setter + 224
22 IDEFoundation 0x110094a4f @objc SigningEditorMainProvisionable.bundleIdentifier.setter + 63
23 Foundation 0x7ff8040639b3 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 705
24 Foundation 0x7ff80408daae -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 68
25 Foundation 0x7ff8040a9bd2 _NSSetObjectValueAndNotify + 273
26 Foundation 0x7ff80406e719 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 316
27 Foundation 0x7ff8040ac2a0 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 269
28 AppKit 0x7ff806937864 -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately:raisesForNotApplicableKeys:error:] + 440
29 AppKit 0x7ff80693765c -[NSBinder setValue:forBinding:error:] + 237
30 AppKit 0x7ff8072fc81e -[NSValueBinder _applyObjectValue:forBinding:canRecoverFromErrors:handleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:] + 217
31 AppKit 0x7ff8072fcb30 -[NSValueBinder applyDisplayedValueHandleErrors:typeOfAlert:canRecoverFromErrors:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:error:] + 544
32 AppKit 0x7ff8072fcc92 -[NSValueBinder _applyDisplayedValueIfHasUncommittedChangesWithHandleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:error:] + 105
33 AppKit 0x7ff806a6153b -[NSValueBinder validateAndCommitValueInEditor:editingIsEnding:errorUserInterfaceHandled:] + 462