Post

Replies

Boosts

Views

Activity

[Xcode15 Beta] ERROR: Failed to install the app on the device.
I am facing an Issue when trying to install an app using xcrun devicectl device install app command. Command used xcrun devicectl device install app /tmp/avinash/Payload/Sample iOS.app --device <deviceid> Error thrown code-block15:27:24 Acquired tunnel connection to device. 15:27:24 Enabling developer disk image services. 15:27:24 Acquired usage assertion. ERROR: Failed to install the app on the device. (com.apple.dt.CoreDeviceError error 3002.) NSURL = file:///tmp/avinash/Payload/Sample%20iOS.app/ -------------------------------------------------------------------------------- ERROR: The item at Sample iOS.app is not a valid bundle. (com.apple.dt.CoreDeviceError error 3000.) NSURL = file:///tmp/avinash/Payload/Sample%20iOS.app/ NSLocalizedFailureReason = Failed to get the identifier for the app bundle. Temporary fix Rebooting the host machine fixes the issue but it reappears after some time. Related system log generated during app installation kernel: (Sandbox) /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/XPCServices/CoreDeviceService.xpc/Contents/MacOS/CoreDeviceService exhausted sandbox memory capacity; may be leaking extensions kernel: (Sandbox) Sandbox: CoreDeviceService(8658) deny(1) file-read-data /tmp/avinash/Payload/Sample iOS.app Another potential temporary solution can be: releasing the sandbox memory. How this can be achieved? How can be sandbox memory cleared? What can be the permanent solution for this issue? I tried clearing derivedData folder but didn't help.
3
4
6.5k
Sep ’23