From cd11167067f36beb1a327f384a4b2b255a713a31 Mon Sep 17 00:00:00 2001 From: lerela Date: Thu, 16 Apr 2020 19:11:13 +0200 Subject: [PATCH] Encode password before it is saved to file as Python 3 input returns a string, not bytes --- buildozer/targets/ios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/targets/ios.py b/buildozer/targets/ios.py index 01da7d6..e2ac990 100644 --- a/buildozer/targets/ios.py +++ b/buildozer/targets/ios.py @@ -411,7 +411,7 @@ class TargetIos(Target): if save: with open(password_file, 'wb') as fd: - fd.write(password) + fd.write(password.encode()) def get_target(buildozer): return TargetIos(buildozer)