Hi all, I'm learning how to make iOS apps this weekend and I've failed to resolve the following issue. Here's important data regarding my xcode build:
- On my apple developer account, the bundle exists for the Team I'm currently using (meaning it will fail 'registering' the bundle identifier). I don't think this is a problem or of concern given that my bundle ID already exists on the account.
- My build settings have 'Product Build Identifier' pointing to the same bundle Identifier
- My
info.plist
file has the following lines:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
...
</dict>
</plist>
Simulator device failed to install the application.
Domain: IXErrorDomain
Code: 13
Failure Reason: Missing bundle ID.
User Info: {
DVTErrorCreationDateKey = "2025-05-19 05:15:54 +0000";
FunctionName = "+[IXPlaceholder _placeholderForBundle:client:withParent:installType:metadata:placeholderType:mayBeDeltaPackage:isFromSerializedPlaceholder:error:]";
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
SimCallingSelector = "installApplication:withOptions:error:";
SourceFileLine = 740;
}
--
Failed to get bundle ID from /Users/arefmalek/Library/Developer/Xcode/DerivedData/livekit-chat-testing-aqvuirqqvooijpaeaygcygnklgap/Build/Products/Debug-iphonesimulator/livekit-chat-testing.app
Domain: IXErrorDomain
Code: 13
Failure Reason: Missing bundle ID.
User Info: {
FunctionName = "+[IXPlaceholder _placeholderForBundle:client:withParent:installType:metadata:placeholderType:mayBeDeltaPackage:isFromSerializedPlaceholder:error:]";
SourceFileLine = 740;
}
--
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_identifier" = "0D21E870-A71F-413D-B885-05BBF6D05A66";
"device_model" = "iPhone17,3";
"device_osBuild" = "18.4 (22E238)";
"device_platform" = "com.apple.platform.iphonesimulator";
"device_thinningType" = "iPhone17,3";
"dvt_coredevice_version" = "443.19";
"dvt_coresimulator_version" = "1010.10";
"dvt_mobiledevice_version" = "1784.120.3";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 3586;
"operation_errorCode" = 13;
"operation_errorDomain" = IXErrorDomain;
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"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.iphonesimulator";
"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" = "iphonesimulator18.4";
"sdk_osVersion" = "18.4";
"sdk_variant" = iphonesimulator;
}
--
System Information
macOS Version 15.5 (Build 24F74)
Xcode 16.3 (23785) (Build 16E140)
Timestamp: 2025-05-18T22:15:54-07:00
Looking at /Users/arefmalek/Library/Developer/Xcode/DerivedData/livekit-chat-testing-aqvuirqqvooijpaeaygcygnklgap/Build/Products/Debug-iphonesimulator/livekit-chat-testing.app/info.plist
, I see my bundleid on my info.plist file here.
What's going on? Where does the simulator need the specification of my bundleid in order to run my application? I've been trying to learn how this works with pretty much no avail so far.