#Ios deploy "no such file or directory (os error 2)"

9 messages · Page 1 of 1 (latest)

sleek wyvern
#

Hi, I have a weird issue with physical device deploy (via tauri ios dev)

14:42:45  Acquired tunnel connection to device.
14:42:45  Enabling developer disk image services.
14:42:45  Acquired usage assertion.
Launched application with co.ugo.lacaisse bundle identifier.
Failed to deploy app to simulator: No such file or directory (os error 2)
    Error Failed to deploy app to simulator: No such file or directory (os error 2)
#
           FBSOpenApplicationRequestID = 0xf7b1
           BSErrorCodeDescription = RequestDenied
           NSLocalizedFailureReason = The request was denied by service delegate (SBMainWorkspace) for reason: Locked ("Unable to launch co.ugo.lacaisse because the device was not, or could not be, unlocked").``` but the device is unlocked ![ThonkCool](https://cdn.discordapp.com/emojis/587214345235202058.webp?size=128 "ThonkCool")
#

so I don't think it's a direct issue of tauri but maybe a dependency bug or an issue between my screen and my keyboard 😅

#

I mean, the app is unlocked but keep error

#

probably not the right error I copied

#

ok so even with the verbose flag I had nothing more than ```
App installed:
• bundleID: co.ugo.lacaisse
• installationURL: file:///private/var/containers/Bundle/Application/AA6F3D76-EA6F-474A-8FE5-012AB4D23C6F/LaCaisse.app/
• launchServicesIdentifier: unknown
• databaseUUID: 3CC603CB-DB9E-4057-9CCF-768ED7A394C1
• databaseSequenceNumber: 1160
• options:
15:03:28 Acquired tunnel connection to device.
15:03:28 Enabling developer disk image services.
15:03:28 Acquired usage assertion.
Launched application with co.ugo.lacaisse bundle identifier.
Failed to deploy app to simulator: No such file or directory (os error 2)
Error [tauri_cli_node] Failed to deploy app to simulator: No such file or directory (os error 2)

#

and without physical paired device :

note: Run script build phase 'Build Rust Code' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'lacaisse_iOS' from project 'lacaisse')
Deploying app to device...
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=4):
App installation failed: « LaCaisse » doit être mis à jour
Cette app doit être mise à jour par le développeur pour fonctionner sous cette version d’iPadOS.
Failed to find matching arch for input file: /Users/benoit/Library/Developer/CoreSimulator/Devices/611F2D31-D75A-4672-8354-6CFB1580D31F/data/Library/Caches/com.apple.mobile.installd.staging/temp.77y0ma/extracted/LaCaisse.app/LaCaisse
Underlying error (domain=IXUserPresentableErrorDomain, code=4):
        « LaCaisse » doit être mis à jour
        Cette app doit être mise à jour par le développeur pour fonctionner sous cette version d’iPadOS.
Failed to deploy app to simulator: command ["xcrun", "simctl", "install", "611F2D31-D75A-4672-8354-6CFB1580D31F"] exited with code 4
    Error [tauri_cli_node] Failed to deploy app to simulator: command ["xcrun", "simctl", "install", "611F2D31-D75A-4672-8354-6CFB1580D31F"] exited with code 4
sleek wyvern
#

I think I got solution by creating a fresh repro

#

cocoapods was missing (f*cking nix darwin config which reverted the cocopods brew install)