Sideloader icon indicating copy to clipboard operation
Sideloader copied to clipboard

The process cannot access the file because it is being used by another process

Open maximedrn opened this issue 10 months ago • 23 comments

Hi, I'm trying to use Sideloader on Windows 11 but I keep getting this Botan related error: Invalid argument: randomInteger: invalid min/max values. I'm not a D-expert so I have no idea why this error occurs 😕. My device is connected via usbmuxd and detected, the error occurs during certificate generation.

Here are the full prompt logs:

C:\Program Files\Sideloader>.\sideloader.exe install <IPA_PATH> -i
cli_frontend INFO  2024-04-03T11:10:14.631 Logging in...
cli_frontend INFO  2024-04-03T11:10:14.631 Please enter your account informations. They will only be sent to Apple servers. 
cli_frontend INFO  2024-04-03T11:10:14.631 See it for yourself at https://github.com/Dadoum/Sideloader/

Apple ID: <email>
21F2D4AD2D0 [/!\ The password will appear in clear text in the terminal]: <password>

server.developersession INFO  2024-04-03T11:10:28.556 Creating DeveloperSession for <email>...
server.appleaccount INFO  2024-04-03T11:10:28.556 Logging in...
server.developersession INFO  2024-04-03T11:10:29.869 DeveloperSession created successfully.
install INFO  2024-04-03T11:10:29.885 Initiating connection the device (UUID: <id>)

Generating a certificate for Sideloader |##########                      | 33/100            
cli_frontend ERROR 2024-04-03T11:10:31.979 botan.utils.exceptn.InvalidArgument at 
C:\Users\runneradmin\AppData\Local\dub\packages\botan-1.13.6\botan\source\botan\math\bigint\bigint.d:1083: 
Invalid argument: randomInteger: invalid min/max values

maximedrn avatar Apr 03 '24 09:04 maximedrn