Search code examples
pythonioskivybuildozer

Buildozer Error: "ios.codesign.debug" key missing, you must give a certificate name to use


I attempting to package an app built in Kivy for ios, but when I run "buildozer.spec", I get this error:

   # 2 error(s) found in the buildozer.spec
   [app] "ios.codesign.debug" key missing, you must give a certificate
    name to use.
   [app] "ios.codesign.release" key missing, you must give a
   certificate name to use.

I believe this has to do with the specifics in buildozer.spec, but I am not sure which I am supposed to change. Does anyone have any ideas? Thank you.

Here is the ios part of the buildozer.spec file:

(str) Name of the certificate to use for signing the debug version Get a list of available identities: buildozer ios list_identities ios.codesign.debug = "iPhone Developer: ()"

(str) Name of the certificate to use for signing the release version ios.codesign.release = %(ios.codesign.debug)s

Does this mean I may need an Apple Developer License?


Solution

  • Just ran into the same problem and found this, hope it helps!

    https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html