Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App using arcore-ios-sdk fails to deploy with xcode 15.3 #98

Closed
jj0hns0n opened this issue Mar 7, 2024 · 14 comments
Closed

App using arcore-ios-sdk fails to deploy with xcode 15.3 #98

jj0hns0n opened this issue Mar 7, 2024 · 14 comments
Assignees

Comments

@jj0hns0n
Copy link

jj0hns0n commented Mar 7, 2024

We are seeing a similar issue to this firebase/firebase-ios-sdk#12441 with an app that depends on arcore-ios-sdk using Xcode 15.3.

Reverting to 15.2 works for now locally and on xcode cloud.

Locally, I see this error

Screenshot 2024-03-07 at 9 24 36 AM

Unable to Install “Vision Dev”
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.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework/Info.plist: No such file or directory
User Info: {
    DVTErrorCreationDateKey = "2024-03-07 17:24:32 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Unable to Install “Vision Dev”
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.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.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/jjohnson/Library/Developer/Xcode/DerivedData/sspvision-aokmuwzcjjlfvagoiwmqixwxdxya/Build/Products/Debug-iphoneos/Vision%20Dev.app/";
}
--
Unable to Install “Vision Dev”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.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.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework; Extra info about "/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.app/Frameworks/ARCoreGARSession.framework/Info.plist": Couldn't stat /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.14AZCB/extracted/Vision Dev.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_model" = "iPhone13,3";
    "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" = 1089;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "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.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" = 1;
    "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" = 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.1.1 (Build 23B81)
Xcode 15.3 (22618) (Build 15E204a)
Timestamp: 2024-03-07T09:24:32-08:00

On App Store Connect the error looks like this.

Screenshot 2024-03-07 at 2 50 48 PM
@jj0hns0n jj0hns0n changed the title App fails to deploy with xcode 15.3 App using arcore-ios-sdk fails to deploy with xcode 15.3 Mar 7, 2024
@ertembiyik
Copy link

same issue

1 similar comment
@VadimYakovliev
Copy link

same issue

@binhao94
Copy link

Experiencing the same issue too...

@AbsilDylan
Copy link

Same here

@GillDreamer
Copy link

Same issue

@15kingben
Copy link

Sorry for the delay in fixing this issue, we are working on a fix for Xcode 15.3 support. A workaround is to build with Cocoapods on Xcode 15.3 or use Xcode 15.2

@15kingben 15kingben self-assigned this Apr 16, 2024
@arthurschiller
Copy link

Any estimates on a release? Thank you! 🙏

@15kingben
Copy link

Unfortunately it will not be in the upcoming release, it will be in the one after

@arthurschiller
Copy link

Unfortunately it will not be in the upcoming release, it will be in the one after

Any ideas when that would be? This drastically complicates my workflow since my app uses features that require iOS 17.2 and visionOS 1.2 (requiring Xcode 15.3) so now being forced to build with Xcode 15.2 to support ARCore is not ideal.

@15kingben
Copy link

That release will be in late June. Note that ARCore is not supported on the Vision Pro

@slim-sheady19
Copy link

Same here, this has costed me serious grief.

@VadimYakovliev
Copy link

Same issue with xcode 15.4

@vindicatesociety
Copy link

Did you try setting ENABLE_USER_SCRIPT_SANDBOXING to NO in the Build Settings?

@jrullman
Copy link

jrullman commented Jul 1, 2024

This issue is fixed with ARCore 1.44, which was released about a week ago. You need the newest ARCore, not Xcode.

(P.S. ENABLE_USER_SCRIPT_SANDBOXING=NO is necessary for Cocoapods, while this issue pertains to Swift Package Manager.)

@jrullman jrullman closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests