Meine iOS-App (Swift und SwiftUI) lief bis heute Morgen reibungslos, während ich sie erstellt habe. Der Aufbau und die Ausführung im Simulator und auf den Geräten funktionierte einwandfrei.
Dann erhalte ich plötzlich die Fehlermeldung im Screenshot unten und bin verwirrt, weil das nicht der Fall ist Ich glaube, ich habe etwas geändert (zumindest nicht bewusst).
[img]https://i .sstatic.net/BHhd20az.png[/img]
Ich kann bei Google nicht genau das gleiche Problem finden, aber es sieht so aus, als ob vorgeschlagen wurde, in den Build-Phasen des App-Ziels nachzuschauen, was Folgendes zu zeigen scheint:

Ich verwende Firebase (das einzige echte Paket, das ich manuell hinzugefügt habe). mit dem Paketabhängigkeitsmanager von bis heute Morgen. Ich habe versucht, die Firebase erneut hinzuzufügen, komme aber scheinbar nicht weiter.
Ich bin mir nicht sicher, warum das im Simulator läuft, aber plötzlich auf dem Gerät selbst anhält. Wir würden uns über Hilfe sehr freuen!
Die vollständigen Details zum Popup „Installation nicht möglich“ lauten wie folgt, sofern dies für Sie überhaupt nützlich ist:
Code: Select all
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
User Info: {
DVTErrorCreationDateKey = "2025-01-03 09:50:30 +0000";
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
NSURL = "file:///Users/gavinbiesheuvel/Library/Developer/Xcode/DerivedData/PlettApp-bffxbuoklgogpwfdqsgwjvaafnxh/Build/Products/Debug-iphoneos/PlettApp.app";
}
--
Unable to Install “PlettApp”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
--
PlettApp.app/Frameworks/grpc.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "PlettApp.app/Frameworks/grpc.framework/grpc".
Domain: MIInstallerErrorDomain
Code: 71
User Info: {
FunctionName = "-[MIExecutableBundle executableExistsWithError:]";
SourceFileLine = 1580;
}
--
lstat of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.yvTa87/extracted/PlettApp.app/Frameworks/grpc.framework/grpc 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" = "00008130-001C659C3061401C";
"device_isCoreDevice" = 1;
"device_model" = "iPhone16,1";
"device_osBuild" = "18.2 (22C151)";
"device_platform" = "com.apple.platform.iphoneos";
"device_thinningType" = "iPhone16,1";
"dvt_coredevice_version" = "397.28";
"dvt_coresimulator_version" = "993.7";
"dvt_mobiledevice_version" = "1759.60.7";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 3155;
"operation_errorCode" = 1;
"operation_errorDomain" = IXUserPresentableErrorDomain;
"operation_errorWorker" = IDEInstallCoreDeviceWorker;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 1;
"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" = 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" = "iphoneos18.2";
"sdk_osVersion" = "18.2";
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 15.2 (Build 24C101)
Xcode 16.2 (23507) (Build 16C5032a)
Timestamp: 2025-01-03T11:50:30+02:00