Thank you for your answer. I couldn't use altool as Xcode was not up to date on my Mac. When i tried to update Xcode, it didn't work either (the download was ok but the install of the app would never end).
I ended up re-installing the Monterey OS and it works now...