Skip to content

Can't build on iOS, Xcode compilation issue #10

@alamboley

Description

@alamboley

Hello,

When building on iOS 2022.3.x LTS, I got this error:

Impossible d’installer « GeospatialDemos »
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist: No such file or directory
User Info: {
    DVTErrorCreationDateKey = "2024-03-15 21:16:55 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Impossible d’installer « GeospatialDemos »
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist: No such file or directory
User Info: {
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    NSURL = "file:///Users/aymeric/Library/Developer/Xcode/DerivedData/Unity-iPhone-fyfdevrzgxtofyarydzdjqgkyvzl/Build/Products/ReleaseForRunning-iphoneos/GeospatialDemos.app/";
}
--
Impossible d’installer « GeospatialDemos »
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Réessayez ultérieurement.
Recovery Suggestion: Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist: No such file or directory
--
Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.qBkm9C/extracted/GeospatialDemos.app/Frameworks/ARCoreGARSession.framework/Info.plist: No such file or directory
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 64;
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_isWireless" = 1;
    "device_model" = "iPhone13,1";
    "device_osBuild" = "17.3.1 (21D61)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.24";
    "dvt_mobiledevice_version" = "1643.100.58";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 3099;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 0;
    "param_debugger_type" = 3;
    "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" = 0;
    "param_diag_gpu_frameCapture_enable" = 3;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 1;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 0;
    "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" = 99;
    "param_launcher_substyle" = 8192;
    "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;
}
--


System Information

macOS Version 14.3.1 (Build 23D60)
Xcode 15.3 (22618) (Build 15E204a)
Timestamp: 2024-03-15T22:16:55+01:00

I saw that Apple ARKit XR Plugin and Google ARCore XR Plugin were automatically updated to 5.1.2.

So I grab your Unity version and compile: Command PhaseScriptExecution failed with a nonzero exit code.

When launching the Xcode project Package Dependencies are already there, and ARCore is 1.42.0. Can't easily go back?

I've created a new basic ARCore project in Unity and compiled successfully on iOS. I'm surprised because Package Dependencies doesn't reveal. Could you help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions