Skip to content

Release notes

This page is the kivyforge changelog. Entries under Unreleased describe changes on the main branch that are not yet in a tagged release.

Where this page comes from

This page is generated from CHANGELOG.md in the kivyforge repository when the site is built. Links to design documents and other repository files open on GitHub.

v0.1.3 - 2026-11-19

Android: R8 keep rules with [tool.kivy.android.proguard]

  • Added: [tool.kivy.android.proguard] is now read. keep lists R8 directives copied verbatim into the generated app/proguard-rules.pro, and rules_files lists project .pro files appended after them. The file holds kivyforge's baseline first, then keep, then each rules file, each under a comment naming where it came from. An app that reaches Java only from Python (a Maven library such as ZXing or androidx.media3, an .aar, or its own src classes) can now turn on [tool.kivy.android.build_settings].minify without its release build failing at run time with ClassNotFoundException: add keep = ["-keep class com.google.zxing.** { *; }"] for the packages Python uses. See Release builds with R8.
  • Added: kivyforge lock -p android records each rules file's SHA-256 in a new [[tool.kivyforge.proguard_rules_files]] table, and build refuses a rules file added, removed or edited since (KF-LOCK-DRIFT, exit 4). A plain kivyforge lock -p android re-records the hashes without re-resolving anything. Neither keep nor the rules_files paths are lock inputs, so editing the table never stales the lock.
  • Added: a kivyforge doctor -p android check, "R8 keep rules". It warns when minify is on and the app ships Java that Python may reach (src.java/src.kotlin, gradle.dependencies, native.aars/native.jars) but declares no keep rules, warns on rules-file drift, and fails on a rules file that is missing or outside the project.
  • Changed: until this release the loader rejected the table with unknown key 'proguard' in [tool.kivy.android], and before that it was dropped silently, so a release build shipped without the rules it declared. The generated proguard-rules.pro also gains a two-line header saying it is regenerated on every build.
  • Migration: none needed. Existing locks stay in sync, and a lock without rules files is unchanged.

kivyforge --help tells scripts and agents where to start

  • Added: the top-level help says to run kivyforge capabilities --json first, that every command except run takes --json, and that the README's "Working with agents" section has the rest. An agent that reads only --help no longer misses the JSON interface.
  • Migration: none needed.

KF-LOCK-SOURCE-UNAVAILABLE says why each local wheel was rejected

  • Fixed: when a package comes only from find_links and none of its wheels fits, lock named only the variant ("none of them fits amd64") and told you to add "a amd64 wheel", even when the wheel was already win_amd64 and the real mismatch was the Python version. The message now names the target (CPython 3.13, cp313, win_amd64) and lists each wheel with what does not fit: the interpreter it was built for, its platform, or a version the requirement excludes. When every wheel was built for another Python, the fix says to build one for the target's CPython.
  • Added: the diagnostic's context carries python (3.13), interpreter (cp313), platforms and wheels (space-separated), and reasons: a comma-separated list of any of interpreter, platform, tags and version across the rejected wheels. Like every context value, each is a string.
  • Migration: none needed. The code and exit status are unchanged.

v0.1.2 - 2026-11-14

Desktop targets move to CPython 3.14 with Kivy 2.3.2

  • Changed: kivyforge init -p macos, -p linux and -p windows write version = "3.14.10" in the overlay's python table, where they wrote 3.13.14. Kivy 2.3.2 (released 2026-11-08) is the first desktop Kivy with CPython 3.14 wheels, for win_amd64, macosx_10_15_universal2 and manylinux x86_64/aarch64; 2.3.1 stops at 3.13. A lock of kivy>=2.3.1 on a 3.14 runtime resolves to 2.3.2, so the kivy>=2.3.1 that init suggests is unchanged; Android still needs it, because its Kivy 2 wheels are 2.3.1.
  • Fixed: a desktop lock evaluates python_version markers for the bundled runtime, not for the Python kivyforge runs on. Kivy 2.3.2 is the first Kivy whose Windows dependencies depend on them (kivy-deps.angle 0.4 below 3.14, 0.5 from 3.14), so lock -p windows for a 3.14 runtime failed on a 3.13 host, and a 3.13 runtime locked on a 3.14 host would get the wrong ANGLE. Other markers still describe the host, as before.
  • Changed: the dice-roller example bundles CPython 3.14.10 and requires kivy>=2.3.2. The README and the desktop guides say the desktop targets use Kivy 2.3, and that CPython 3.14 needs 2.3.2.
  • Migration: none needed. An existing project keeps the version it pins, and init --force preserves it. To move a desktop app to CPython 3.14, set version = "3.14.10" in each desktop overlay's python table and run kivyforge lock --update -p <platform>. A plain lock stops on Windows, because it keeps the locked kivy-deps.angle 0.4. A project that requires kivy==2.3.1 cannot lock on 3.14.

run -p android works without the emulator package

  • Fixed: with no phone attached and no emulator package in the SDK, kivyforge run -p android failed with "emulator not found", sending someone who only runs on a phone to install an emulator. It now says no device is attached, explains how to authorize a phone, and suggests --device, which never looks for an emulator. Asking for an emulator (--emulator, --avd) still reports the missing package.
  • Fixed: kivyforge run -p android --list-devices crashed without the emulator package. It now lists the attached devices and shows AVDs: unavailable (the SDK's emulator package is not installed).
  • Added: when adb lists a device it cannot use (unauthorized, offline, no permissions), run's no-device errors and --list-devices name it and its state. An unaccepted "Allow USB debugging?" prompt used to look the same as no phone at all.
  • Migration: none needed.

doctor -p android checks for the NDK the build uses

  • Fixed: doctor's NDK check passed when any NDK was installed, but a build uses only the pinned NDK (27.3.13750724). With only r28 or r29 installed, doctor reported all was well and the next build downloaded r27 without warning (#227). It now passes only for the pinned NDK and otherwise warns, naming the versions it found and the sdkmanager command that installs the pinned one, as the CMake check already did.
  • Changed: having no NDK at all is a warning, not a failure, because the build installs the pinned NDK itself. doctor no longer exits non-zero for a missing NDK alone.
  • Migration: none needed. To skip the download during your first build, run the sdkmanager 'ndk;27.3.13750724' command doctor prints.

Choose the Android NDK by major version

  • Added: ndk in [tool.kivy.android] selects the NDK major version a build uses: 27 (the default, 27.3.13750724), 28 (28.2.13676358), or 29 (29.0.14206865) (#227). The generated project's ndkVersion, the NDK install before Gradle runs, and doctor's NDK check all use the selected version, so an installed r28 or r29 is used instead of downloading r27. Any other value, a string, or a full version is a config error that lists the supported majors.
  • Added: only r27 is tested on device. With another major, build prints [generate] NDK <version> (ndk = <major>); only NDK 27 is tested on device and doctor's NDK line says the same.
  • Changed: kivyforge init's Buildozer migration map now maps android.ndk to [tool.kivy.android].ndk instead of listing it as having no counterpart.
  • Migration: none needed. Leaving ndk unset builds exactly as before. ndk is not a lock input, so changing it does not make the lock stale.

v0.1.1 - 2026-11-13

kivyforge's own version comes from its git tags

  • Changed: kivyforge is versioned with setuptools-scm (#219). A release is pushing a v* tag; there is no version number in the tree to bump. A build from any other commit is X.Y.Z.devN+gHASH, and kivyforge --version, JSON reports, lockfile stamps and the User-Agent all read the installed distribution, so they agree with what pip installed.
  • Fixed: doctor's "newer kivyforge on PyPI" check compares PEP 440 versions. A development install no longer reads as newer than every release, or as older than the release it was built from.
  • Changed: a source tree without .git (a GitHub ZIP download, git archive, pip install of an archive/<sha>.zip URL) still builds, taking its version from .git_archival.txt.
  • Migration: none needed. To build kivyforge from a clone, clone with full history (a shallow clone builds 0.1.devN).

Android permissions can carry maxSdkVersion and usesPermissionFlags

  • Added: an entry in [tool.kivy.android.permissions].uses can be a table, { name = "BLUETOOTH", max_sdk_version = 30 } or { name = "BLUETOOTH_SCAN", uses_permission_flags = "neverForLocation" }, which become the <uses-permission> attributes of the same names (#222). Plain strings work as before. This is what Bluetooth on Android 12 and later needs, and it replaces writing those permissions as raw XML in extra_manifest_xml, which also skipped their implied <uses-feature> entries. A max_sdk_version below min_sdk, and uses_permission_flags with compile_sdk below 31, are configuration errors.
  • Added: a guide, Declare permissions on Android and iOS, pairing each common capability's Android uses entries with its iOS info_plist keys.
  • Changed: a permission listed twice in uses, including as "CAMERA" and "android.permission.CAMERA", is emitted once instead of twice. Two entries for the same permission with different attributes are rejected.
  • Migration: none needed. If you declared capped permissions in extra_manifest_xml, you can move them into uses.

iOS: run --device skips a paired device it cannot reach

  • Fixed: with two paired iPhones, one of them switched off or out of range, run -p ios --device refused to choose and suggested --destination 'NAME', which cannot help when both phones have the same name. It now picks the one devicectl can reach, and --destination NAME prefers a reachable device when the name is shared. When it still cannot choose, the message lists each device's UDID and suggests --destination UDID.
  • Migration: none needed.

iOS: run --simulator leaves an already-running simulator's window alone

  • Changed: run -p ios --simulator opens a window only for a simulator it boots itself (#211). If the simulator was already running, whatever started it decides how it is shown, so an IDE panel that docks the simulator's screen (the PyCharm and Android Studio "iOS Simulator" plugin) no longer gets a second window from Device Hub or Simulator.app on every run. run prints the command that shows the simulator on stderr instead.
  • Migration: if you boot simulators with xcrun simctl boot and relied on run to open the window, run the command it prints, or shut the simulator down and let run boot it.

An Android app killed while unpacking its Python bundle no longer stays broken

  • Fixed: if an Android app was stopped while it unpacked its Python bundle on first launch, every start after that skipped the unpack and failed with Failed to import encodings module in logcat, until the app was reinstalled. An install could stop it this way, and so could a test runner or the user. The most reliable way to hit it was kivyforge run -p android --device --smoke straight after a plain kivyforge run. The bundle's version stamp is now written only once the unpack has finished, so an interrupted unpack starts again on the next launch. Nothing to change in your project. A phone with an app already in this state needs it reinstalled once (or adb shell pm clear <package>): installing a rebuild over it keeps the stale stamp unless the app's Python content changed too.

The Android splash stays up until Kivy's first frame

  • Fixed: on Android 12 and later, the splash closed as soon as the app started, and the screen stayed black until Kivy drew its first frame: about 8 seconds of cold start on a Pixel 8a. Below Android 12 the launch window closed early in the same way. The splash now stays up until Kivy's first frame, for both Kivy generations, and for apps with no splash configured, which keep the plain launch window instead of going black (kivy/kivy#9489).
  • Changed: android.remove_presplash() and android.loadingscreen.hide_loading_screen() now end the splash instead of doing nothing. Kivy calls them for you. An app that never reaches its first frame (a hang, or an error in build() that it catches) shows its window after 30 seconds, and logcat warns that the splash was never released. Nothing to change in your app.

The lock pins the Python that byte-compiles iOS and Android

  • Added: byte-compiling an iOS or Android release, or a Linux aarch64 one, needs a CPython of the shipped minor that runs on the machine that builds (#209). kivyforge lock now pins one python-build-standalone build of it for each host that can build the platform, in [[tool.kivyforge.host_python]], at one version for all of them. The first release build on a machine downloads this host's build, checks it against the lock's SHA-256, caches it, and compiles with it. Nothing to install, and every machine building a lock compiles with the same build. kivyforge upgrade fetches it ahead of time.
  • Changed: those platforms no longer compile with a Python found on the machine (kivyforge's own interpreter, PATH, uv): only the pinned build is used. macOS, Windows and native Linux builds still compile with the runtime they ship.
  • Added: KIVYFORGE_HOST_PYTHON_DOWNLOADS=never keeps builds from downloading it (they use a cached copy, or ship source or fail), and KIVYFORGE_HOST_PYTHON_MIRROR downloads it from a mirror, still checked against the lock's hash.
  • Added: KF-HOST-PYTHON-FETCH, exit 3, when the pinned build can't be fetched (no network, a GitHub rate limit, a hash mismatch). Retry with network access; in CI, set GITHUB_TOKEN.
  • Migration: re-lock once each iOS and Android lock, and each Linux lock with aarch64, with a plain kivyforge lock -p PLATFORM: it adds the pin and keeps every other one. Until then, lock --check fails with KF-LOCK-INCOMPLETE (exit 4), and release builds ship source (byte_compile = "release") or fail (true).

lock --check accepts a desktop lock whose archs aren't in alphabetical order

  • Fixed: with archs = ["x86_64", "aarch64"] on Linux (or, say, ["arm64", "amd64"] on Windows), lock --check failed with KF-LOCK-DRIFT (exit 4) and an empty diff straight after lock wrote the file. The file lists runtimes by arch and the check compared them in archs order. Nothing to re-lock.

A build's byte-compile warning carries the same context as its error

  • Fixed: when a release build couldn't fetch the pinned host CPython (a hash mismatch or a failed download), its KF-HOST-PYTHON-FETCH diagnostic, the warning under byte_compile = "release" and the error under true, had the URL only in the message. It is now also in context.url, as in upgrade's.
  • Fixed: the KF-BYTECOMPILE-NO-INTERP warning (no host CPython to compile with, source shipped) now names the interpreter in context.tool, as the error under byte_compile = true already did.

lock: a dropped connection is no longer reported as a missing wheel

  • Added: KF-LOCK-INDEX-UNREACHABLE, exit 3, when pip loses its connection to an index or file host partway through a resolve, on any platform. Before this, the failure read "a dependency has no wheel" and, under lock --check, KF-LOCK-PINS-CONFLICT with advice to run --update. Neither was true. Retry with network access; context names the host.
  • Fixed: after a dropped download, pip's HTTP cache can serve an empty file for a GitHub-hosted wheel (Kivy's Android wheels are), so every later lock failed with a hash mismatch until the cache was purged. pip 26.1.2 and 26.3 both do this. kivyforge now spots the empty file's hash, says so on stderr, and resolves again once with --no-cache-dir. pip cache purge removes the bad entry for good.
  • A host that can't be reached before pip has read the package's index page still shows up as "no wheel", because pip itself reports it as "from versions: none".

iOS: run shows the app's Python output again

  • Fixed: with CPython 3.15 final, kivyforge run -p ios showed only native log lines. print() and Kivy's log went to the Apple system log, which the simulator and device consoles don't carry (#210). Debug builds now keep Python's stdout and stderr on the console. Release builds still write to the system log, because a shipped app has no console and the log is where a crash's traceback can be recovered.
  • Changed: the Debug configuration of a generated Xcode project always sets GCC_PREPROCESSOR_DEFINITIONS (KIVYFORGE_CONSOLE_STDIO=1). A define added to Debug in Xcode's editor is replaced on the next build, as it already was for Kivy apps. Put your own defines in [tool.kivy.ios.xcode.build_settings], which are added to kivyforge's.
  • Migration: none needed. The next build or run regenerates the project.

Byte-compiling says what it searched, and finds uv's Pythons

This search now applies only to a macOS, Windows or Linux build whose bundled runtime is missing; iOS, Android and Linux aarch64 use the pinned build above.

  • Fixed: when no host interpreter could write the .pyc files, the message led with "Pre-releases do not count", which read as kivyforge treating a final Python as unreleased (#209). It now lists every interpreter it looked at and the version each one is, mentions pre-releases only when it found one, and says how to install the right minor. doctor reports the same search.
  • Changed: when uv is installed, the search also asks uv python find, so a uv-managed Python that is not on PATH is used. uv is not required, and the search never downloads a Python.
  • Changed: with byte_compile = true and no interpreter, build and package exit 3 with KF-BYTECOMPILE-NO-INTERP, not 1 with KF-ERROR, on every platform. doctor's byte-compile check carries the same code.
  • Migration: a script that treated exit 1 as this failure should check for 3, or for the code.

v0.1.0 - 2026-11-02

Version numbers restart at 0.1.0

  • Changed: the first public release of kivyforge is 0.1.0, a beta. The earlier development builds were numbered 3.0.0.dev0 and 3.0.0.dev1, which read as tied to Kivy 3.0, but Android can use Kivy 2.3.1 and the desktop targets do. Both development builds are yanked from PyPI.
  • Migration: if you installed a development build, ask for this version by number, because 0.1.0 sorts below 3.0.0.dev1 and an upgrade command can stay on the development build. kivyforge doctor does not warn about it, for the same reason. Run pip install kivyforge==0.1.0, or uv tool install --force kivyforge==0.1.0. Existing projects and locks keep working.
  • Known issues: on iOS 27, rotation breaks a Kivy app's layout (#195), and the current Kivy iOS wheel can show blank text or crash KivyMD (kivy/kivy#9443). See Known issues on iOS.

Upgrading kivyforge no longer makes lock --check fail

  • Fixed: lock --check compared the kivyforge version each lock records, so every kivyforge upgrade reported every lock as stale, with an empty diff. It now ignores that version on every platform. A real difference in the lock still fails the check.
  • Migration: none needed. You don't have to re-lock. The next re-lock updates the recorded version.

init seeds CPython 3.15.0 for iOS

  • Changed: kivyforge init -p ios writes version = "3.15.0" in [tool.kivy.ios.python]. It still wrote the 3.15.0b4 pre-release after the examples moved to the final release.
  • Fixed: the comment init -p android writes on extra_index_urls no longer says the index serves pyjnius, which publishes its Android wheels on PyPI.
  • Migration: none needed. An existing project keeps the version it pins, and init --force preserves it. To move from 3.15.0b4, set the version and run kivyforge lock -p ios.

Docs: the README and guides checked against the tool before the beta

  • Fixed: the README's iOS quick start left out -p ios, so on a Mac it configured and built macOS instead. Its sample configuration lacked the required schema_version.
  • Fixed: the guides and FAQ said kivyforge ignores unknown keys, that a new upstream release can fail lock --check, that a plain lock takes the newest versions, that run takes --no-verify-lock, and that the Android pyjnius wheel comes from the mobile wheel index. kivyforge rejects unknown keys, lock and lock --check keep the locked versions, run has no such flag, and pyjnius comes from PyPI. The desktop quickstart no longer asks for linux and windows extras that don't exist, or for an aarch64 Linux build host, which kivyforge refuses.
  • Changed: the install commands no longer use --pre. pip and pipx take a pre-release when a package has no stable release, and after one, --pre would choose an older development release. iOS examples in the guides use CPython 3.15.0, the version the iOS examples pin.
  • Added: which CPython versions Kivy's wheels support on each target, how to report a problem, and Add a Swift package to your macOS app in the site's navigation, where it was missing.

Docs and examples: Rubicon-ObjC is the documented bridge to Objective-C

  • Changed: the iOS guides and examples call Objective-C through Rubicon-ObjC. A new guide, Call iOS APIs with Rubicon-ObjC, comes before the Swift guides; Call iOS APIs with pyobjus is now Use pyobjus, for apps that already use it or depend on a package that does, such as plyer's iOS facades. pyobjus stays supported, and the two can be used in one app.
  • Changed: keychain-spm, ios-lifecycle-hook and ios-webview use Rubicon-ObjC. ios-webview and the web-view recipe in Replace the kivy-ios ios module need no ctypes any more, and the example's Open (pyobjus) and Open (ctypes) buttons are one Open.
  • Renamed: pyobjus-ball is now rubicon-ball, with its ctypes calls replaced by Rubicon-ObjC, and pyobjus-deviceinfo is now rubicon-deviceinfo. Their bundle IDs changed with them, so each installs as a new app beside the old one.
  • Migration: nothing in kivyforge changes. An app that copied lifecycle.py from ios-lifecycle-hook keeps working with pyobjus; to move it, take the new lifecycle.py and replace pyobjus with rubicon-objc>=0.5.7 in [project].dependencies, then re-lock.

iOS rebuilds drop a removed wheel's xcframeworks

  • Fixed: after a wheel that ships xcframeworks is removed from the iOS lock, such as kivy with SDL3.xcframework, libEGL.xcframework and the rest, the next build -p ios no longer links and embeds them. build only ever added to <app>-ios/Frameworks/, so they stayed there, and the Xcode project kept every one in Link Binary With Libraries and Embed Frameworks until kivyforge clean. This affected Simulator and --device builds, and package -p ios too: an archive starts from an empty app, but still embeds what the project references. build now rebuilds Frameworks/ from the lock each time, so the same applies to a removed [tool.kivy.ios.native.xcframeworks] entry. Xcode then removes the embedded copies from an incremental .app itself.
  • Changed: build now also removes KIVYFORGE_REQUIRES_SDL=1 from the project's GCC_PREPROCESSOR_DEFINITIONS when SDL3 is not staged. It was only ever added, and with SDL3 now leaving with kivy, the next build would have stopped at Kivy app selected (KIVYFORGE_REQUIRES_SDL) but SDL3 headers were not found. Other defines in that setting, including ones added in Xcode, are kept.
  • Migration: none needed. The next build clears what the removed wheel left in an existing project.

macOS: [tool.kivy.macos.info_plist], and the app is its own main bundle

  • Added: [tool.kivy.macos.info_plist], a table of keys merged into the .app's Info.plist: usage descriptions, URL schemes, or an SDK's keys such as Firebase's FirebaseAppDelegateProxyEnabled (#201). Keys kivyforge writes, such as CFBundleIdentifier and LSMinimumSystemVersion, are rejected; the reference lists them.
  • Fixed: inside a running macOS app, the main bundle was Contents/Resources/python/bin, not the .app, because the launcher replaced itself with python3. Code that looks in the main bundle found no bundle identifier, no Info.plist keys and no Contents/Resources, so Firebase could not find a GoogleService-Info.plist added with include_files. The launcher now runs Python in its own process from the runtime's libpython, so the main bundle is the .app. sys.executable is still the bundled python3.
  • Changed: the .app's entitlements now apply to the process Python runs in. Before, they stayed with the launcher, and Python ran without them. For a library your app loads with ctypes, @executable_path is now Contents/MacOS, so Apple's @executable_path/../Frameworks/<lib> form works instead of failing the build with KF-MACOS-NATIVE-LOAD-PATH. @rpath links resolve where they did before.
  • Migration: run kivyforge build -p macos again; nothing in pyproject.toml needs to change. Swift packages on macOS, the other half of #201, are in the next entry.

macOS: Swift packages ([tool.kivy.macos.native.swift_packages])

  • Added: [tool.kivy.macos.native.swift_packages], with the iOS keys url, path, requirement and products (#201). lock -p macos pins each remote package's revision in [[tool.kivyforge.swift_packages]] in pylock.macos.toml. build builds every product with xcodebuild into Contents/Frameworks/KivyforgePackages.framework, plus a framework for each product a package declares type: .dynamic, and stages each package's resource bundle in Contents/Resources/, where Bundle.module finds it. Python loads the framework with Rubicon-ObjC's load_library and calls its @objc classes; the guide is "Add a Swift package to your macOS app". Building needs the full Xcode; doctor -p macos checks for it.
  • Refused: link and embed under the macOS table. They are Xcode target settings, and a macOS .app has no Xcode target.
  • Migration: swift_packages is now a macOS lock input, so every existing pylock.macos.toml reads as stale once, with or without the table. Run kivyforge lock -p macos; it keeps the pinned versions and runtime.

iOS rebuilds drop a removed dependency's frameworks

  • Fixed: after a dependency with an extension module is removed and the project re-locked, the next iOS Simulator or --device build no longer keeps its Frameworks/<package>.<module>.framework from the previous build in the .app. Before this change only kivyforge clean removed it. The Build Python phase now removes every framework that python.org's install_python made for a module this build no longer installs. Python, SDL3, Swift package and your own frameworks are not touched. package -p ios was not affected, because an archive starts from an empty app.
  • Fixed: removing an iOS project's last dependency no longer leaves the previous build's packages in pip-deps/. With nothing to install, build had skipped clearing the slice along with pip.
  • Migration: none needed. The next build replaces the Build Python phase in an existing generated project. A stale framework from an earlier build is removed by that build.
  • Fixed: replacing a locked wheel in a find_links directory with a new build of the same filename, such as a wheel built from a newer commit on GitHub, no longer leaves a lock that lock calls in sync and build rejects with a SHA-256 mismatch (#190). lock now names the changed or missing wheel and resolves that package again, and every other package keeps its locked version. lock --check names the wheel instead of failing with an empty list of changes.
  • Fixed: a macOS, Linux, or Windows lock no longer lists a package's optional (extra) and other-platform requirements, such as KivyMD's pytest and sphinx, in that package's dependencies. Only that field changed: those packages were never locked or installed. Android and iOS locks already recorded only the requirements that apply.
  • Added: the guide Build a wheel from a GitHub repository, with KivyMD as the example.
  • Migration: none needed. An existing desktop lock still passes lock --check: a package whose wheels are unchanged keeps the dependencies it was locked with. The lists shrink the next time lock writes the file.

exclude stops pip from looking for the package

  • Fixed: a name in exclude is no longer resolved at all, on every platform (#190). lock used to let pip resolve the whole graph and drop excluded packages afterwards, so an excluded dependency with no wheel for the target, such as KivyMD's pycairo on iOS, still failed the lock. pip now never follows a dependency on an excluded name, so it never downloads or builds it.
  • Changed: what only an excluded package needed leaves the lock with it. Before, an excluded package's own dependencies were still locked and installed. If your app imports one of them directly, add it to [project].dependencies. Re-run kivyforge lock to apply this to an existing lock; lock --check reports the packages it removes.

iOS: OTHER_LDFLAGS from [tool.kivy.ios.xcode.build_settings] reaches the project

  • Fixed: an OTHER_LDFLAGS set under [tool.kivy.ios.xcode.build_settings], such as the "$(inherited) -ObjC" Firebase requires, was silently replaced by kivyforge's own -framework UIKit and never reached the Xcode project (#197). Your flags are now appended to kivyforge's, with $(inherited) once at the front if you wrote it: $(inherited) -framework UIKit -ObjC. GCC_PREPROCESSOR_DEFINITIONS had the same problem in Kivy apps, where kivyforge sets KIVYFORGE_REQUIRES_SDL=1. It now merges the same way.
  • Migration: none needed. Run kivyforge build -p ios again to write the merged value into an existing project.

iOS: build settings kivyforge writes are rejected, not silently replaced

  • Changed: [tool.kivy.ios.xcode.build_settings] accepted six keys that kivyforge also writes, then replaced your value with its own without a word. PRODUCT_NAME, SDKROOT, ALWAYS_SEARCH_USER_PATHS and COPY_PHASE_STRIP are now reserved, like INFOPLIST_FILE. ASSETCATALOG_COMPILER_APPICON_NAME is rejected while [tool.kivy.ios.icons].source is set, and CODE_SIGN_ENTITLEMENTS while [tool.kivy.ios.entitlements] is set; without those, you can still set them yourself.
  • Migration: if config loading now fails naming one of these keys, delete it from [tool.kivy.ios.xcode.build_settings]. It never took effect, so the built app does not change. To use your own entitlements file or icon set, remove [tool.kivy.ios.entitlements] or [tool.kivy.ios.icons].source instead.

Android: doctor checks emulator acceleration on Windows, and /dev/kvm access on Linux

  • Fixed: on Windows, kivyforge doctor -p android said the emulator was accelerated without checking. It now asks the emulator itself (emulator -accel-check, the same SDK emulator that lists your AVDs), so a host without WHPX or AEHD gets a WARN that carries the emulator's own reason and a hint naming both. If the emulator cannot answer (it times out, crashes or will not start), the check passes as N AVD(s); acceleration not verified (<reason>) rather than claiming acceleration or warning about a problem nobody found.
  • Fixed: on Linux the check passed whenever /dev/kvm existed, even when your user could not open it, which is the usual state on a hosted CI runner and makes the emulator refuse to start. It now warns "AVDs present (N) but this user cannot open /dev/kvm", with how to join the kvm group or, on CI, the udev rule that opens the device.
  • Migration: none needed. A Windows host without acceleration, or a Linux user without access to /dev/kvm, now gets a WARN where it got a PASS. doctor's exit status does not change, since only a FAIL makes it non-zero.

iOS: stripped release builds with wheels that ship data files

  • Fixed: package -p ios no longer fails on a wheel that installs data files (setuptools data_files, the wheel's .data/data/ tree). pip install --target put them at the root of pip-deps/, and the release build byte-compiled them with everything else, so one unimportable file stopped the whole package. pyobjus is the case that hit it: its wheel ships Python 2 examples under share/pyobjus-examples/, so no app using pyobjus could package with stripping on. That was hidden until CPython 3.15.0 final, because before then iOS builds never byte-compiled.
  • Changed: iOS apps no longer ship a wheel's data files at all, which is what macOS has always done. Nothing on iOS could find them: the app's sys.prefix is not pip-deps/. If your app reads a file a dependency installs this way, add it with include_files instead.
  • Changed: pip no longer byte-compiles pip-deps/ during build. It used the host's CPython, whose .pyc the app's CPython could never load; a release build still compiles pip-deps/ itself with a matching interpreter.

iOS: call Swift from Python

  • Added: the swift-bridge example and the guide Call Swift from Python, the answer to #181. A local Swift package of @objc classes, declared in [tool.kivy.ios.native.swift_packages], is called from Python through Rubicon-ObjC, whose pure-Python wheel comes from PyPI. The guide covers objects with state, collections in both directions, methods that throw, Swift async methods called with a Python completion handler, long work that Python polls from Kivy's Clock to show progress and cancel, and a Swift delegate protocol implemented in Python. A short section says what changes for an app that calls the same shim with pyobjus, and Call iOS APIs with pyobjus now lists the pyobjus 1.2.5 defects a Swift shim meets, with their workarounds. kivyforge itself is unchanged, so nothing needs migrating.

iOS: run code in the app lifecycle

  • Added: the ios-lifecycle-hook example and the guide Run code in the iOS app lifecycle, the iOS answer to #85. A local Objective-C package declared in [tool.kivy.ios.native.swift_packages] runs before Python and adds the app-delegate methods SDL does not provide: the push device token, background pushes, notification taps, background tasks, and the URL that launched the app, which Kivy's on_drop_file never receives. A Python module delivers them as Kivy events. kivyforge itself is unchanged, so nothing needs migrating.

Android smoke test runs on one device

  • Fixed: run -p android --smoke runs the contract test only on the device it resolved. Gradle's connected-test task runs on every attached device unless ANDROID_SERIAL is set, and the probe is built for the resolved device's ABI only, so --smoke --device with an emulator also running failed on the emulator even when the phone passed. No migration is needed.

Android: your own activity class as the launcher (main_activity)

  • Added: [tool.kivy.android].main_activity names your own subclass of org.kivy.android.PythonActivity as the app's launcher, so Java can run in the activity's onCreate — where some SDKs must be set up — without editing generated files. It is the counterpart of buildozer's android.entrypoint, and kivyforge init now maps that key to it. The manifest, run, the --smoke contract test and the release manifest policy all follow the configured class. Python sees the subclass where it always saw the activity (android.mActivity, PythonActivity.mActivity), and the bundled android package works unchanged.
  • Added: with main_activity set, kivyforge build fails with javac's error (KF-BUILD-TOOL-FAILED, exit 5) if the class is missing, abstract, not a PythonActivity, or has no public no-argument constructor. A value that is not a fully qualified top-level class name, or is inside a package the bootstrap generates (org.kivy.android, org.libsdl.app, org.jnius, org.renpy.android), fails the configuration check (exit 1).
  • Changed: the release manifest policy's exported baseline is the configured launcher, not always org.kivy.android.PythonActivity, and the single LAUNCHER activity must be that class. No migration for a project without the key: its launcher is still PythonActivity.
  • Changed: the --smoke contract test starts the activity the manifest marks LAUNCHER instead of naming PythonActivity, and asserts on the device that the running activity is the configured launcher.
  • New example: examples/mobile/android-activity-class, a Java launcher subclass beside a ContentProvider that registers activity lifecycle callbacks (the route for a library), with a tracked lock as an on-device gate.
  • Docs: Add Java libraries to your Android app says what the subclass can use: it is a plain Activity, never an AppCompatActivity, FragmentActivity or ComponentActivity. AndroidX helpers that take a Context or Activity work, App Startup and ProcessLifecycleOwner work once declared as dependencies, and registerForActivityResult, ViewModelProvider(this) and SDKs such as BiometricPrompt do not compile against it. It also shows App Startup's manifest entry and how to choose permission request codes that don't collide with android.permissions (#184).
  • Docs: the same guide's new section "Host an SDK that needs an AndroidX activity" shows how to run SDKs that need a ComponentActivity, FragmentActivity or AppCompatActivity, such as Stripe's PaymentSheet or BiometricPrompt. They go in a second activity of your own, which Python starts and reads the result from, with no main_activity and no bootstrap change. It notes that PaymentSheet needs compile_sdk = 36 and covers two pyjnius traps: a Python str passed to putExtra arrives as a char[], and setClassName needs the package name.

Android: [tool.kivy.android.src] compiles your sources

  • Fixed: Java and Kotlin roots listed under [tool.kivy.android.src] are compiled into the app. Before, the generated app/build.gradle named each root as written, Gradle resolved it against the generated app/ module where no such directory exists, and the build succeeded with none of your classes in the APK — so a class reached through pyjnius failed at runtime with ClassNotFoundException. The roots are now written relative to the module and compiled in place, so the next build picks up an edit without a copy step.
  • Changed: each src.java / src.kotlin root must be an existing directory; a missing one fails the configuration check (exit 1) instead of building an app without the classes. No migration: a root that does not exist never contributed anything.

Manifest-merger directives in Android raw-XML fragments

  • Added: the generated AndroidManifest.xml declares the tools namespace, so a raw-XML fragment in [tool.kivy.android.manifest] can carry manifest-merger directives as Android's documentation writes them — App Startup's <provider ... tools:node="merge"> entry, or tools:node="remove" to drop a component a library's manifest contributes. Previously such a fragment failed as "not well-formed XML".
  • Changed: the application / activity attribute tables reject a key in any namespace other than android:, with a message saying where a merger directive belongs. Before, such a key failed with the same well-formedness error, so no configuration that loaded yesterday fails today. A project that uses no tools: attribute produces a byte-identical merged manifest: the merger consumes the namespace and emits nothing from it.

macOS: native binaries go where Apple says code goes

  • Changed (breaking): [tool.kivy.macos.native.binaries] now places executables in Contents/Helpers/ and dynamic libraries in Contents/Frameworks/, instead of everything in Contents/Resources/bin/ (#174). Apple reserves Resources/ for data, and notarization and Gatekeeper are only documented for code in code locations. Each location is flat, so a file from an archive keeps only its name, and names that differ only in case count as the same name. The launcher puts Contents/Helpers on PATH, so helpers still run by name.
  • Changed (breaking): the channel accepts native code only. A single-file source that is not a Mach-O file fails the build with the new KF-MACOS-NATIVE-NOT-CODE; ship data with include_files and scripts in app_dir. Archive members that are not Mach-O, such as headers and licences, are skipped with a warning under the same code. A plug-in (MH_BUNDLE), any other Mach-O type, a universal file whose slices disagree on type, and a binary inside a bundle in an archive (a .framework, for instance) fail with the new KF-MACOS-NATIVE-UNSUPPORTED.
  • Added: the build checks, per process, that links between declared binaries resolve in the new layout, and fails with the new KF-MACOS-NATIVE-LOAD-PATH when one won't, naming the install_name_tool commands that fix it. A weak link, and a link that works only if your Python code loads the target library first, are warnings under the same code. A binary with no slice for the target architecture now fails the build; before, only doctor noticed.
  • Changed: signing now signs the main executable after all other code in the bundle, since codesign treats Helpers/ and Frameworks/ as its nested code.
  • Fixed: two archive members whose names differ only in case no longer silently overwrite each other on a case-insensitive filesystem; the build refuses the archive before extracting it. This applies to Windows too.
  • Changed: doctor checks the built app's Contents/Helpers and Contents/Frameworks for the target architecture, reads the headers itself instead of calling lipo, and checks that vendored single-file sources are executables or dynamic libraries. include_files may now use Resources/bin.
  • Migration: load libraries from Path(sys.prefix).parents[1] / "Frameworks" instead of Path(sys.prefix).parent / "bin"; helpers run by name need no change. A helper built to find its library beside it (@executable_path/libx.dylib, @loader_path/libx.dylib, or an @executable_path run path) now fails the build: relink it to @rpath/libx.dylib with the run path @executable_path/../Frameworks, and give a library your Python code loads the run path @loader_path. Move any data out of the channel and into include_files. No re-lock is needed.

Android: plain lock accepts an edited include_files file

  • Fixed: after you edited a file listed in [[tool.kivy.android.include_files]], or added or deleted a file in a directory source, build told you to run kivyforge lock -p android, and that command said the lock was already in sync and changed nothing (#176). Only lock --update got out, and it moved every package to its newest version. Plain lock now re-hashes the include files and, if any changed, rewrites just those hashes: nothing is re-resolved and no network is used.
  • Fixed: lock --check names each changed include file in its diff, instead of saying the lock is out of date and listing nothing, and status -p android reports the lock as out of date when an include file has drifted.
  • Changed: an include that would replace the generated manifest or a Gradle file is now reported as KF-INCLUDE-RESERVED instead of KF-ERROR. The exit status is still 1 and the message is unchanged.
  • Migration: a consumer that branched on KF-ERROR for the overwrite refusal should branch on KF-INCLUDE-RESERVED. Nothing else is needed.

Choose which index each package comes from

  • Added: name an index once in [[tool.kivy.index]] (name, url, and optional explicit) and pin packages to it in [tool.kivy.sources], or in a target's own sources table, as kivy = { index = "mobile-wheels" } (#86). The syntax matches uv's [[tool.uv.index]] and [tool.uv.sources]. A pinned package comes only from its index, for every package that depends on it too. An explicit index serves only the packages pinned to it, so it can't replace anything else. pypi is a built-in name. A non-explicit named index is an extra index for every target, ranked after the target's extra_index_urls and before PyPI.
  • Added: a pin outranks find_links. To switch a package from your own wheel to an index's release, pin it; to switch back, remove the pin. Your wheel stays where it is, and lock warns (KF-LOCK-WARNING) that it is ignoring it. lock also warns about an explicit index that no sources table uses. A pinned package with no wheel for a target on its index fails with KF-LOCK-SOURCE-UNAVAILABLE; kivyforge never falls back to another index.
  • Changed: iOS lock now reports warnings, like the other targets.
  • Migration: run kivyforge lock once per platform. The new keys are lock inputs, so every existing lock reads as stale until re-locked, as after #126; the re-lock keeps every locked version. A project that sets none of the new keys resolves exactly as before.

Your own wheels win, and the first-listed index wins a tie

  • Changed: a package with any wheel in a find_links directory now comes only from find_links, on every architecture or ABI, even when an index has a newer version or a better-matching wheel (#86). pip ranks candidates by version and wheel tag, never by source, so a patched wheel you built yourself used to lose to an index wheel of the same version. lock --update moves a local package to a newer version only when a newer wheel is in the directory. If the directory has a wheel for some ABIs but not others, lock fails with the new KF-LOCK-SOURCE-UNAVAILABLE instead of filling the gap from an index.
  • Changed: when two indexes offer the same version of a package with equally good wheels, the one listed first in extra_index_urls wins, and PyPI ranks last. pip took the one listed last, which read as backwards. A newer version or a better-matching wheel still wins whatever its index's position.
  • Added: each package in pylock.<platform>.toml records the index its wheels came from, in PEP 751's standard index key, so a package that changes index shows up in the lock diff and in lock --check. The unused [packages.tool.kivyforge] source_index key is no longer written.
  • Changed: desktop locks now run pip through the same shim as Android and iOS, which applies these rules. Markers are still evaluated for the host, as before.
  • Migration: none needed for most projects. Existing locks stay valid: lock --check does not count a missing index as drift, and the next re-lock adds it. A project whose find_links directory holds an older version of a package that an index also ships gets the local one at its next re-lock; remove the wheel to keep the index version. A project with two or more extra_index_urls that publish the same version of a package now gets it from the first listed.

include_files on iOS and macOS

  • Added: [[tool.kivy.ios.include_files]] and [[tool.kivy.macos.include_files]] copy your own files into the app, with the same dest and sources keys as Android (#170). On iOS dest is relative to the .app ("." is its root), which is where Firebase looks for GoogleService-Info.plist. On macOS it is relative to Contents/ and must start with Resources or SharedSupport, the places Apple documents for data; macOS also drops the com.apple.quarantine attribute a download adds. Files are copied byte for byte, and kivyforge lock pins each one by SHA-256. After building, kivyforge checks that the .app, the .ipa and a signed macOS bundle (before it goes to the notary service) hold each file as it was copied, and fails with the new KF-ARTIFACT-CONTENT (exit 5) without reporting the product if one is missing or different. Three new codes (exit 1) refuse an include before anything is built: KF-INCLUDE-RESERVED for a path the build writes (Info.plist, Resources/app, ...) or, on iOS, a code-bundle name such as X.framework; KF-INCLUDE-NATIVE-CODE for a Mach-O file or static archive, which belongs in the platform's native-code key; and KF-INCLUDE-SOURCE-FORMAT for a format Xcode compiles (.xcstrings, .storyboard, .xib, .xcassets). doctor -p ios and -p macos report include drift.
  • Migration: include_files is now a lock input on iOS and macOS, so every existing pylock.ios.toml and pylock.macos.toml reads as stale once. Run kivyforge lock -p ios and kivyforge lock -p macos; both keep the pinned versions.

Entry points: module:function and [project.gui-scripts]

  • Added: [tool.kivy].entry_point may name a function, such as "myapp.app:main", and kivyforge calls it the way an installed script calls it: it imports myapp.app as part of its package, calls main() with no arguments, and uses the return value as the exit status (#68). Relative imports inside the package now work, which they cannot when the module runs as __main__. If entry_point is unset and [project.gui-scripts] has exactly one entry, kivyforge uses it, so a package that already declares its GUI script for pip and uv run needs no entry_point. If there are several entries, kivyforge asks you to choose one with entry_point. [project.scripts] is never used. This works on Android, iOS, macOS, Linux and Windows: kivyforge generates a small launcher that each platform runs as __main__, and strip_source release builds compile it to .pyc with the rest of the app.
  • Changed: kivyforge init no longer writes entry_point = "main" for a project that declares GUI scripts. That line would override the GUI script. With one GUI script, init writes no entry_point and adds a comment naming the script. With several, it sets entry_point to the first and lists the others. A project without GUI scripts gets the same line as before. init --force still leaves [tool.kivy] alone.
  • Migration: none needed for an app that sets entry_point or declares no GUI scripts. entry_point = "main" and other module names still run as __main__, exactly as before. A project that declares exactly one GUI script and relied on the default "main" now starts that GUI script; set entry_point = "main" to keep the old behavior.

-v / -vv: Gradle's stack trace and detail, without leaving kivyforge

  • Added: every verb accepts -v / --verbose, and -vv, or KIVYFORGE_VERBOSE=1|2 (#64). On Android, -v adds --stacktrace to every Gradle run and prints the folder and exact gradlew command first, so you can rerun it by hand; -vv also adds --info. When Gradle fails, kivyforge's message now says to rerun with -v (or, at -v, repeats the command) instead of leaving you with Gradle's "Run with --stacktrace", which you could not pass. Other platforms accept the flag and ignore it for now. The extra lines go to stderr, so --json output is unchanged. kivyforge capabilities reports which verbs accept it and which platforms act on it (verbose in each verbs and platforms entry).
  • Migration: none needed; without the flag, Gradle runs exactly as before.

Locks: the desktop Python runtime lookup takes seconds, not half a minute

  • Changed: to pin the python-build-standalone runtime, kivyforge lock for macOS, Linux and Windows now lists the release tags and reads each release's small SHA256SUMS, eight at a time, instead of paging through GitHub's full release records (about 15 MB a page). For CPython 3.13.14 on Windows the lookup went from 10 to 47 seconds to 2 or 3, and it now makes one GitHub API call instead of up to sixteen, so CI hits the rate limit far less. The pinned URL and SHA-256 are the same as before; the old search remains as a fallback.
  • Migration: none needed.

iOS: safe-area insets and keyboard height are used as Kivy pixels

  • Changed: the mobile geometry and kivy-ios ios module guides, and the examples that pad by the safe area (android-safe-area, ios-webview, keychain-spm, mobile-geometry, pyjnius-deviceinfo, pyobjus-ball, pyobjus-deviceinfo, qr-maven, svg-explorer), no longer multiply kivy.mobile.get_safe_area() or get_keyboard_height() by get_scale() on iOS. kivy/kivy#9441 makes the iOS backend return Kivy layout pixels, as Android already did, which also fixes Window.keyboard_height, Window.safe_area and softinput_mode on iOS. mobile-geometry now labels these values px.
  • Migration: this needs a Kivy build that includes kivy/kivy#9441. On an earlier Kivy 3 build, these examples' iOS insets and keyboard heights are a third of the right size on current iPhones. If your own app multiplies these values by get_scale() on iOS, remove the multiplication when you move to the fixed Kivy, or they are scaled twice.

Locks: a desktop re-lock keeps its Python runtime

  • Changed: on macOS, Linux and Windows, kivyforge lock and lock --check keep the python-build-standalone runtime already in the lock while its CPython version, architectures and floor are unchanged, the way they keep package pins. That skips the GitHub lookup for the runtime, which took 20 to 30 seconds on Windows: a re-lock of dice-roller after an input edit went from about 25 seconds to 6, and lock --check makes no GitHub API call at all, so it no longer counts against CI's rate limit. lock --update, a new Python version, or a new architecture looks the runtime up again.
  • Migration: none needed. A newer python-build-standalone build of the same CPython version is picked up by lock --update.

Locks: desktop lock shows the Python runtime lookup

  • Fixed: kivyforge lock -p macos, -p linux and -p windows showed nothing while finding the python-build-standalone build of the pinned CPython, a GitHub API lookup that pages back through releases for a version not in the newest one. On Windows, CPython 3.13.14 took 28 seconds before the first line. lock now announces the lookup and each page it checks: [lock] CPython 3.13.14: finding the python-build-standalone build, then checking older releases (page N).
  • Migration: none needed.

Locks: iOS and desktop lock show their progress

  • Added: kivyforge lock -p ios, -p macos, -p linux and -p windows now report each step on stderr, as lock -p android has since #87 (#88): a line per slice or arch as pip resolves, a byte bar for each wheel pip downloads, a bar for the python.org iOS framework download, the packages swift package resolve fetches, and a "still resolving" line after 30 seconds with nothing new to show. In a log or a pipe, each bar becomes a few lines. Before, these steps ran silently, so a slow lock looked like a hang.
  • Migration: none needed. stdout, and the --json envelope, are unchanged.

iOS: a guide to replacing the kivy-ios ios module, and a warning

  • Added: the guide Replace the kivy-ios ios module. kivyforge does not provide the module (#109): Kivy 3 and the standard library replace every function, on every platform. The guide maps each old name to its replacement, explains which values are UIKit points and which are Kivy pixels, and gives a web view recipe. It is linked from the migration and mobile geometry guides.
  • Added: kivyforge build -p ios and kivyforge doctor -p ios warn with KF-IOS-LEGACY-IOS-MODULE when a .py file under app_dir imports ios, naming the file and line and pointing at the guide. The build goes on, and under --json the warning is in diagnostics on an ok: true run. It is quiet when app_dir has its own ios.py or ios/. Dependencies aren't scanned.
  • Docs: Call iOS APIs with pyobjus now says plyer's iOS facades need pyobjus, that pyobjus's load_framework does nothing on iOS, and that a CGRect argument should go through ctypes, because pyobjus corrupts the heap passing one by value (kivy/pyobjus#90).

iOS: run --simulator shows the simulator with Xcode 27

  • Fixed: with Xcode 27, run -p ios --simulator launched the app on a simulator with no window. Xcode 27 replaced Simulator.app with Device Hub, and kivyforge opened the window with open -a Simulator, which now fails, and ignored the failure. kivyforge now opens the simulator's screen in Device Hub (devices://device/open?id=<UDID>). With Xcode 26 and earlier it opens the selected Xcode's own Simulator.app.
  • Changed: the window is opened on every run --simulator, not only when kivyforge boots the simulator. A simulator that was already booted with no window now gets one.
  • Added: if no window can be opened, run warns on stderr and still runs the app.
  • Migration: none needed.

iOS: Kivy 2.x is refused with a clear error

  • Added: kivyforge lock -p ios fails with KF-IOS-KIVY-UNSUPPORTED (exit 1) when the kivy requirement admits no Kivy 3 release, such as kivy<3 or kivy==2.3.1, and when the resolved kivy is below 3.0.0.dev0. kivyforge build -p ios applies the second check to the lock it reads, so a lock written by hand or by an older kivyforge gets the same error (#109). Before, a 2.x requirement failed inside pip's resolver with pip's wording, and nothing said that Kivy 2.x is unsupported on iOS. kivyforge builds Kivy 3 only there; kivy-ios serves Kivy 2.x.
  • Migration: none for a project already on Kivy 3. A project that pins Kivy 2.x now gets this error instead of pip's: require Kivy 3 (for example kivy>=3.0,<4) and run kivyforge lock -p ios.

Hosts: every target verb refuses a host that cannot build the target

  • Changed: lock, build, run, package, open, status and upgrade now all apply the host table from kivyforge capabilities, and fail with KF-HOST-INCAPABLE (exit 3) on the wrong host. iOS and macOS build on macOS, Windows on Windows, Linux on Linux, and Android on any of them. Before, only build, run and package checked the host, plus lock and open for iOS. lock -p macos on Windows resolved a lock, and status and upgrade worked for any target. The JSON envelope still names the refused target in platform.
  • Changed: Linux targets build only on an x86_64 Linux host. A Raspberry Pi is a target, not a build host: add "aarch64" to [tool.kivy.linux].archs on an x86_64 Linux machine and copy the AppImage to the Pi. kivyforge refuses aarch64 hosts because none is in the test matrix. capabilities --json publishes the rule as host_machines on each platform (an empty list means any CPU).
  • Unchanged: init still writes configuration for any target on any host, so one pyproject.toml can describe every platform. doctor still runs on the wrong host and reports why the host cannot build the target.
  • Migration: run each target's lock, status and upgrade on a host that can build that target, as CI already does.

Locks: re-lock only when a lock input changes, and keep existing pins

  • Changed: a lock goes stale only when something it was resolved from changes (#126): the dependencies and requires-python, plus that platform's Python version, architectures, OS floor, package indexes, find_links, exclude and native libraries. Comments, key order, signing, icons, the display name, the version and every other platform's overlay no longer stale it. Editing iOS signing leaves pylock.android.toml in sync. The lock records this as lock_inputs_sha256, replacing pyproject_sha256.
  • Changed: kivyforge lock keeps the versions already in the lock. After an input change it moves only what the change requires; a dependency whose new specifier excludes its locked version moves, and the rest stay. If the locked versions cannot be kept, it fails with the new KF-LOCK-PINS-CONFLICT (exit 1) and names the conflict. kivyforge lock --update still takes the newest version each specifier allows.
  • Changed: kivyforge lock --check resolves the same way, so a new upstream release no longer fails CI while pyproject.toml is unchanged.
  • Migration: run kivyforge lock -p <platform> once for each platform you lock. Every existing lock reads as out of date, because it records the old whole-file hash. The re-lock keeps the versions already pinned.

Android: emulator and adb failures say why

  • Fixed: when run -p android or run --smoke booted an AVD and the emulator could not start, kivyforge waited five minutes and then reported only that the emulator "did not finish booting (serial: never appeared)". The emulator's output now goes to a log (<temp>/kivyforge/emulator-<avd>.log). If the emulator exits before its device is ready, the run fails at once and shows the last lines of that log, for example a missing libpulse.so.0 in WSL. Every boot failure, including the timeout, names the log's path.
  • Added: on Windows, doctor -p android warns when the adb server port (5037) is held by a process other than adb.exe, names that process, and says how to fix it. The usual cause is wslrelay.exe: an adb server running inside WSL, which Windows adb then reaches and which cannot see Windows emulators or USB devices. Before, doctor said only "no device or emulator attached".
  • Migration: none needed.

Dynamic version: a quoted pip error keeps its non-ASCII characters on Windows

  • Fixed: when a dynamic [project].version could not be resolved (KF-VERSION-UNRESOLVED), the pip lines kivyforge quotes were decoded with the locale's encoding. On a cp1252 Windows host, every non-ASCII character in them came out garbled (café as café). They are now decoded as UTF-8, which is what pip writes to a pipe.
  • Fixed: a dynamic version could not be resolved when the interpreter running kivyforge was older than [project].requires-python, for example an Android app declaring >=3.14 built from a host with Python 3.13. pip refused with "requires a different Python". requires-python describes the bundled runtime, so the version lookup now ignores it.
  • Changed: when the version lookup fails, the Fix: line now says that pip reads its own index settings (PIP_INDEX_URL, PIP_EXTRA_INDEX_URL, pip.conf), not [[tool.uv.index]] or [[tool.kivy.index]]. A backend on a private index configured only for uv failed with pip's "No matching distribution" and nothing pointing at the fix.
  • Migration: none needed.

Windows: local wheels lock correctly, and an app finds its metadata once

  • Fixed: on a Windows host, kivyforge lock for macOS, Linux or Windows recorded a wheel from find_links as an absolute path with its drive letter missing (Users/you/project/wheels/...), so the next build failed with "vendored artifact not found". It now records the path relative to the project (wheels/...), as iOS and Android already did.
  • Fixed: a Windows app had its app folder on sys.path twice, so importlib.metadata.distributions() returned the app's own distribution twice. It is now on sys.path once, still first.
  • Migration: on Windows, run kivyforge lock -p <platform> again if the project uses find_links, to rewrite a lock with the drive-less path. The launcher change takes effect on the next build.

Android: package --debug puts a debug build in dist/

  • Added: kivyforge package -p android --debug packages a debug build (#112). It builds what build -p android --debug builds, needs no keystore, and copies it into dist/android/ with a -debug suffix:
  • dist/android/myapp-1.2.0-debug.apk, signed with the Android SDK's debug key;
  • dist/android/myapp-1.2.0-debug.aab with -f aab, unsigned, as Gradle builds a debug AAB.

The release-only checks, Lint and the manifest policy, are skipped. --keystore and --key-alias cannot be combined with --debug, and --debug is rejected for other platforms. capabilities --json reports a new package_debug key for each platform. - Migration: none needed. A plain package is unchanged.

Android: doctor no longer warns about acceleration on every Mac

  • Fixed: kivyforge doctor -p android warned "AVDs present (N) but no hardware acceleration" on every Mac, even when the emulator was accelerated, because it looked for /dev/kvm, which only Linux has. On macOS it now asks the kernel whether Hypervisor.Framework is available (sysctl kern.hv_support), so the check passes on a Mac that can run an accelerated emulator. When acceleration is missing, the hint now names your host's own hypervisor: KVM on Linux, Hypervisor.Framework on macOS, WHPX or AEHD on Windows. It no longer suggests HAXM, which is discontinued.
  • Migration: none needed.

Android and iOS: package puts its artifact in dist/

  • Changed: kivyforge package -p android and -p ios copy the finished artifact into dist/android/ and dist/ios/, named with the app and its version, as package -p linux already does (#112):
  • dist/android/myapp-1.2.0.apk or .aab;
  • dist/ios/myapp-1.2.0.ipa.

Two cases add to the name: - a package that --abi limits to some of your configured ABIs names the ABI (myapp-1.2.0-x86_64.apk), so it is never mistaken for the full app; - an ad-hoc or development export names its method (myapp-1.2.0-ad-hoc.ipa), since each embeds a different provisioning profile.

The Packaged line and data.artifacts name the copy in dist/. A file of the same name from an earlier run is kept until the new copy succeeds, and files of other versions are left alone. - Migration: - Gradle's app-release.apk or app-release.aab, and Xcode's <app>-ios/build/<app>.ipa, are still written where they were, so a script that reads them keeps working. Read the dist/ path, or data.artifacts[].path from --json, instead. - kivyforge clean now also removes dist/android/ and dist/ios/, with every version in them. - build is unchanged, including build -p android --debug and build -p ios --release. - If the same checkout also uploads a wheel, twine upload dist/* fails on the platform folders, as it already does on dist/linux/ and dist/windows/. See Drive kivyforge from CI.

iOS: doctor checks the Team ID

  • Added: kivyforge doctor -p ios has a "Team ID" check (#108). It reads the Team ID that --device and --release builds sign with, from KIVYFORGE_TEAM_ID or [tool.kivy.ios.signing].team_id, and compares it with the teams of the signing certificates in your keychain. The check:
  • fails when the value is not 10 capital letters and digits;
  • fails when the value is the ID in parentheses in an Apple Development certificate's name, which is not a Team ID but is often pasted as one, and names that certificate's Team ID instead;
  • fails when a pinned provisioning_profile is for a different team;
  • warns when no certificate in your keychain is for that team, because automatic signing can still create one during the build.

Before, a wrong Team ID failed only at the end of the build, inside xcodebuild. With no Team ID set, the check is skipped, since simulator builds don't sign, and it lists the Team IDs in your keychain, each with its team's name, so you can copy one. See Find your Team ID. - Migration: none needed. doctor now fails a project whose Team ID would have failed the build; build itself is unchanged.

Windows and Linux: a failed write into dist/ is reported, not a traceback

  • Fixed: when kivyforge package -p windows could not copy the bundle into dist/windows/, or kivyforge package -p linux could not write the .AppImage into dist/linux/, the filesystem error escaped as a Python traceback, and --json printed no envelope. It is now an ordinary failure: Error: ... on stderr, and with --json one envelope with ok: false, code KF-ERROR and exit status 1. Your previous package is still restored. A common cause on Windows is a path too long for Windows with long paths off, the default: the dist\windows\<Name>-<version>-<arch>\ folder is longer than build\windows\<Name>\, so a bundle that builds can still fail to copy. The message names the first path that failed and how many failed, and when that path is too long it suggests a shorter project folder.
  • Migration: none needed.

All platforms: a failed write into the build folder is reported, not a traceback

  • Fixed: when kivyforge build or kivyforge package could not write into the folder it assembles the app in (build/macos/, build/windows/, build/linux/, <app>-ios/ or <app>-android/), the filesystem error escaped as a Python traceback, and --json printed no envelope. A full disk, a read-only folder, or a file where a folder belongs all did this. It is now an ordinary failure: Error: could not ... on stderr, and with --json one envelope with ok: false, code KF-ERROR and exit status 1. As for dist/, a copy that fails for many files names the first and counts the rest, and on Windows a path too long with long paths off gets the same advice. This also covers the copy of appimagetool that package -p linux runs from the artifact cache, and ExportOptions.plist in an iOS release build. When an iOS build finds a file where the <app>-ios/app folder belongs, its "remove it and re-run build" message is now an error, not the last line of a traceback.
  • Migration: none needed.

macOS and Linux: a build that fails at the last step keeps your previous app

  • Fixed: build, package and run for macOS and Linux assemble the new .app or AppDir in a hidden temporary folder in build/macos/ or build/linux/, then swap it in for the previous one. The swap deleted the previous .app or AppDir first. If that delete failed partway, for example on a folder kivyforge may not write, or the new folder could not take its place, the build failed with your previous app half deleted and the temporary .<Name>.app.tmp-* or .<Name>.AppDir.tmp-* folder left behind. Now the previous app is renamed aside whole, the new one is renamed into place, and only then is the previous one deleted. If the new one cannot take its place, the previous one is put back, and the temporary folder is always removed. The failure is reported as before, as KF-ERROR with exit status 1. If the new app is in place but part of the previous one cannot be deleted, the build still succeeds and leaves a hidden .<Name>.app.old-* or .<Name>.AppDir.old-* folder you can delete.
  • Migration: none needed. A .<Name>.app.tmp-* or .<Name>.AppDir.tmp-* folder left by an earlier failed build is safe to delete.

Guides

  • Added: Sign your iOS app explains how to find your Team ID (#108). With a paid membership it is on the Apple Developer website. A free Apple ID's personal team has no page there, so the guide shows how to read the ID from the team's Apple Development certificate in Keychain Access, and warns that the ID in parentheses in the certificate's name is a different value.

v3.0.0.dev1 - 2026-10-14

All platforms: the app's own package metadata

  • Added: kivyforge writes each app's package metadata into the app, from [project] (#122): a <name>-<version>.dist-info folder beside the app's code on macOS, Linux, Windows, Android and iOS. Inside the app, importlib.metadata now finds the app's name, its version (the same value as versionName and CFBundleShortVersionString), the entry points of [project.scripts], [project.gui-scripts] and [project.entry-points], and its modules through packages_distributions(), for every build backend and layout, with or without a development install. Before, an app had metadata only if a setuptools dev install had left an egg-info in app_dir, as old as that install. See Read your package metadata inside the app.
  • Changed: a development *.egg-info folder at the top of app_dir, and a .dist-info folder of the app's own name there, no longer ship in the app; the generated folder replaces them. Your source tree is not changed. On iOS, kivyforge build stages the folder in <app>-ios/_kivyforge_meta/ and the generated Build Python script copies it into the bundle, so Xcode-only rebuilds keep it. Migration: an app that read its metadata from the egg-info now reads the same names from the generated folder, current with the build; nothing to change. An app whose code looks for the egg-info folder itself should use importlib.metadata instead.
  • Changed: a setuptools project that declares entry points only in setup.cfg ([options.entry_points]) or setup.py (entry_points=), and none in [project], fails build, package and run with KF-METADATA-ENTRY-POINTS-OUTSIDE-PROJECT (exit 1). kivyforge writes the metadata from [project], so the app would otherwise start without them. Migration: move them into [project.entry-points], console scripts into [project.scripts] and GUI scripts into [project.gui-scripts]. setuptools has deprecated reading them from those files for a project with a [project] table.
  • Changed: [project] entry points and [project].name are checked as build backends check them, and each violation is a config error at its line in every verb: a console_scripts or gui_scripts group under [project.entry-points], a nested table (usually a dotted group name left unquoted), an invalid group name, an entry point name with = or a leading [ or whitespace, and a project name that is not valid. Migration: pip could not have built such a project either; fix the table the message names.
  • Added: when [project].dynamic lists entry-points, scripts or gui-scripts, kivyforge cannot know the entry points, so it generates nothing, leaves app_dir as it is, and warns with KF-METADATA-NOT-GENERATED. Its context names the reason and the development egg-info that ships instead (fallback).
  • Added: Android's contract self-test, run by run --smoke, checks that the app finds the metadata kivyforge generated.

iOS: rebuilding in Xcode keeps a device build signed

  • Fixed: rebuilding a device build in Xcode (Cmd-B or Cmd-R, or re-running the xcodebuild command kivyforge ran) succeeded but left the .app with an invalid signature: codesign --verify --deep --strict reported "a sealed resource is missing or invalid" and named every Frameworks/<module>.framework binary. The Build Python script re-signs those frameworks on every run, and with a real signing identity that changes their bytes. Xcode didn't know the script writes into the bundle, so it didn't sign the app again, and the app's signature still described the old bytes. The script now declares what it writes (python/, pip-deps/ and Frameworks/) as its outputs, and Xcode signs the app again after it. That adds about a second to an incremental build. The app from such a build still installed and ran on iOS 27, but anything that checks its signature rejects it. Simulator builds, signed ad hoc, stayed valid. A project generated by an earlier kivyforge gets the fix at its next kivyforge build, which regenerates the script phase.

iOS: the default deployment target is 16.0

  • Fixed: with Xcode 27, kivyforge build -p ios failed for any project that did not set [tool.kivy.ios].deployment_target. The default was 13.0, and Xcode 27 accepts only 15.0 to 27.0.x, so xcodebuild stopped at the end of the build ("The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 13.0, but the range of supported deployment target versions is 15.0 to 27.0.x"; KF-BUILD-TOOL-FAILED, exit 5). The default is now 16.0, not Xcode's 15.0, because that is the oldest iOS Kivy's own iOS wheels run on: their extension modules are built for iOS 16.0, so a lower target lets older devices install an app that cannot load Kivy. kivyforge init writes 16.0, and the hello-world example, the one example still at 13.0, now uses 16.0.
  • Fixed: the generated Xcode project always had 13.0 as its project-level IPHONEOS_DEPLOYMENT_TARGET, whatever deployment_target said. Only the app target had the configured value. Both levels now use it, and the next build of an existing <app>-ios/ project corrects the old value.
  • Added: kivyforge doctor -p ios has a "Deployment target" check. It reads the range the selected Xcode accepts from the iOS SDK and fails when deployment_target is outside it, before a build gets that far. Without a project, it reports the range.
  • Migration: what to do depends on how your project sets the key.
  • Set below 15.0: Xcode 27 refuses the value whatever kivyforge's default, so raise it (to "16.0" for a Kivy app). Any edit to pyproject.toml makes build stop with KF-LOCK-DRIFT (exit 4), so run kivyforge lock -p ios after the edit.
  • Not set: you need no edit, but your app's minimum iOS rises from 13.0 to 16.0 (MinimumOSVersion and IPHONEOS_DEPLOYMENT_TARGET), so devices below iOS 16 cannot install new builds. If your dependencies run on iOS 15 (Kivy's do not), set deployment_target = "15.0", the lowest value Xcode 27 accepts.
  • Existing locks stay valid. The lock checks a hash of the text of pyproject.toml, and a default is not in that text, so build, package and lock --check accept a lock made before this change. A re-lock does ask pip for ios_16_0_* tags instead of ios_13_0_*. Wheels built for an older iOS still match, so the kivy and pyobjus wheels (tagged ios_13_0) resolve to the same files. A package that publishes wheels for several minimum iOS versions may resolve to a different file, which makes lock --check report the lock as stale; run kivyforge lock -p ios --update.

Guides

  • Added: Manage dependencies and re-lock explains how to pin a package with an exact specifier (#107). A re-lock, including one forced by an unrelated edit to pyproject.toml, resolves every specifier to its newest match. lock --check does that resolve even when the file hash still matches, so a range fails the check when a newer release appears. build and package keep accepting that lock until the hash changes.
  • Fixed: Install kivyforge now explains that every release so far is a pre-release, and its pipx and pip commands carry the pre-release flag. Without it, both fail to find kivyforge.

Android

  • Added: kivyforge lock -p android shows a progress bar while it downloads the python.org CPython runtime, one per ABI, the first time that tarball is not already cached (#84). Before, that download printed nothing, so a first lock looked stuck until [lock] <abi>: resolving wheels.
  • Changed: kivyforge build -p android without --debug now ends with a line saying Gradle did not run and naming the commands that produce an APK (#106). Before, it ended on Generated <app>-android with exit 0 and no APK, which read like a successful build. What a bare build does is unchanged: it generates the project and stages the release payload for package. If you run ./gradlew assembleDebug yourself on that project, the debug APK you get contains the release payload. Use build --debug instead. --json output is unchanged.

All platforms: dynamic versions

  • Added: dynamic = ["version"] in [project] is supported (#111). A project that takes its version from git through setuptools-scm, hatch-vcs or another build backend plugin no longer fails with "missing or empty [project].version". build, package and run ask pip to prepare the project's metadata, in an isolated environment, and print the version they got. This works whether kivyforge was installed with uv tool, pipx or as a project dependency. lock, doctor, status and clean never run pip, and a new commit doesn't make the lock out of date. The first build needs the network to fetch the backend. See Set the app version.
  • Added: --app-version VERSION on build, package and run, and the KIVYFORGE_APP_VERSION environment variable (the flag wins), to set the version without running the build backend. --no-build-isolation resolves a dynamic version with a backend installed alongside kivyforge, offline.
  • Added: --json envelopes from build and package carry data.version: {"value", "source"}, where source is override, static or backend. It is recorded before the build starts, so failed builds keep it.
  • Added: doctor reports a Version check. New codes: KF-VERSION-UNRESOLVED (exit 1), KF-VERSION-APPLE-FORMAT, KF-VERSION-FILE-NOT-REFRESHED, KF-VERSION-ISOLATION-UNUSED.
  • Changed: an iOS export for the App Store (package -p ios, or build -p ios --release, both with the default --export-method app-store) fails before Xcode runs when the version isn't one to three dot-separated numbers, such as 1.0rc1 or 1.2.3.4. App Store Connect refuses such a version at upload (ITMS-90060). Other iOS exports and macOS package warn instead, and debug builds are unaffected. Migration: a static pre-release version used to fail at upload; it now fails at package. Build from a release version, pass --app-version, or export with --export-method ad-hoc or development.
  • Changed: [project].version must follow PEP 440, and kivyforge writes its normalized form. Migration: v1.2 becomes 1.2 in versionName, the plists and file names; 1.0-beta becomes 1.0b0; a local segment is lowercased with - turned into . (1.0+Build-5 becomes 1.0+build.5). A version PEP 440 can't parse, such as 1.0.0-SNAPSHOT, now fails to load; pip already refused to build such a project.
  • Changed: a + in the version becomes _ in Linux .AppImage and Windows dist folder names, since + turns into a space in URL query strings. Migration: 1.0+local now packages as ...-1.0_local-....
  • Changed: listing name, dependencies, authors, description or requires-python in [project].dynamic is now an error. kivyforge reads those fields itself, and a dynamic one used to load as absent: a dynamic = ["dependencies"] project locked no dependencies at all. Migration: set the field statically.

Android: pyjnius versions

  • Fixed: pyjnius 1.9.0 failed every Android build with "locked pyjnius 1.9.0 is outside the bootstrap template's compatible range" (#113), though its invoke0 method is unchanged. kivyforge no longer caps the pyjnius version. Instead of guessing from the version number, build now checks the installed pyjnius wheel for the invoke0 signature kivyforge's Java glue declares, and fails with a message naming the wheel if it differs. New pyjnius releases that keep the signature work without a kivyforge update.
  • Changed: kivyforge lock -p android adds pyjnius>=1.7.0 instead of pyjnius>=1.7.0,<1.9 when your project doesn't declare it, so a re-lock picks the newest release. Existing locks need no change: a lock that already holds pyjnius 1.9.0 now builds. Older than 1.7 still fails, and doctor only checks that floor, since the wheel check needs the installed wheel.

Android: wheels built by cibuildwheel

  • Fixed: numpy, pandas, matplotlib, opencv-python and other wheels that cibuildwheel's default repair (auditwheel) produces failed to import on the device with dlopen failed: library "libc++_shared-d523468d.so" not found. These wheels carry their shared libraries in a top-level <dist>.libs/ directory (numpy.libs/), which kivyforge staged as Python extension modules under new names. They are now staged under their own names, like the Kivy wheel's .libs/.
  • Fixed: once staged, the same libraries were corrupted by the strip during packaging, and numpy then failed with errors like cannot find "operty_get" from verneed[0]. patchelf, which auditwheel uses, lays these libraries out in a way the NDK's llvm-strip mishandles. kivyforge now recognises them and keeps their symbols, and the build says how many it kept.
  • Added: after Gradle builds an APK or AAB, kivyforge checks every native library in it and fails with KF-ANDROID-NATIVE-LIB-MISALIGNED if one could not be loaded on a device, instead of shipping an app that crashes at import.
  • Changed: debug builds no longer strip native libraries. The default strip_native_libs = "release" was meant to keep symbols in debug builds, as documented, but the generated project stripped both. Debug APKs grow by the size of the symbols; set strip_native_libs = true to strip debug builds as before.
  • Changed: a wheel whose libraries directory holds a .so not named lib*.so (for example libgfortran-040039e1.so.5) now fails the build with a message naming the file. Android only packages lib*.so files, so before this change the library was missing from the app.
  • Changed: wheels from Flet's index (and others using Chaquopy's separate library wheels, such as flet-libjpeg) now fail the build with KF-ANDROID-WHEEL-LAYOUT, naming the wheels. Their libraries live under opt/lib, which kivyforge cannot load from. Before, the build failed with a misleading "ABI content skew" on their .a files, or, without those, built an app that could not find the libraries.
  • Added: a native library built for another architecture than its wheel's tag (an x86_64 binary in an arm64_v8a wheel) now fails the build with KF-ANDROID-WHEEL-ARCH, instead of failing to load on the device.
  • Fixed: run -p android --release without a configured release signing identity failed with "Gradle reported success for assembleRelease but no artifact is at ...". It said it was signing with the debug keystore, but left the APK unsigned; now it signs with the debug keystore.

  • Fixed: libraries a package carries inside its own directory, such as ffmpeg/.libs/libavcodec.so or blosc2/lib/libtcc.so, were staged as Python extension modules under new names, so nothing could find them. They are now staged under their own names, like a top-level .libs/.

  • Changed: an extension module named with a suffix CPython on Android does not import (a build host's .cpython-314-x86_64-linux-gnu.so, or another Python version's) now fails the build with KF-ANDROID-WHEEL-SUFFIX. kivyforge's loader ignored the suffix, so such a wheel used to load under kivyforge while being unusable anywhere else.

Each auditwheel-repaired wheel carries its own renamed copy of the C++ runtime, so an app can load several. That is safe unless C++ objects pass between libraries from different wheels; see docs/design/platforms/android/03-artifact-distribution-android.md.

Wheels from more package indexes

  • Fixed: wheels hosted on Cloudflare R2, such as the Android Pillow wheels on the Kivy School index, locked fine and then failed to download at build time with HTTP 403 (#97). The host refuses Python's default Python-urllib User-Agent. Every request kivyforge makes now identifies itself as kivyforge/<version>.
  • Changed: when an index publishes no SHA-256 for a wheel, lock now says so and gives the two fixes: use an index that publishes hashes, or put the wheels in a find_links directory, where kivyforge hashes them itself. It used to suggest re-running with network access, which never helps. The requirement itself is unchanged: kivyforge still pins every wheel by SHA-256. This only happens with indexes that serve wheel metadata (PEP 658) but no hashes, because pip then resolves without downloading the wheel.

build shows its downloads

  • Added: on every platform, build (and run's implicit build) now shows a progress bar for each Python runtime and wheel it downloads, or a few percentage lines when the output is a log. These downloads happen on a first build, after clean --cache, or with --no-cache, and used to be silent.
  • Changed: clean --cache's help and the guides now say that pip's own cache, which lock resolves through, is left alone (pip cache purge clears it). After clean --cache, lock usually stays fast and shows no downloads.

Android: pyjnius is included automatically

  • Fixed: an Android app whose dependencies didn't list pyjnius built without complaint and then crashed at launch with No module named 'jnius' (#65). Kivy imports pyjnius on Android (to read the screen density, for example) but doesn't declare it, because python-for-android always supplied it. Now kivyforge lock -p android adds it, in the range kivyforge supports (>=1.7.0,<1.9), when your project doesn't declare it. It is added to the Android lock only, so desktop installs are unaffected and you don't need a ; sys_platform == 'android' marker. Declaring it yourself still works and chooses the version.
  • Fixed: a pyjnius requirement whose marker leaves Android out (for example pyjnius; sys_platform == 'win32') counted as declared, so nothing was added, pip skipped it for Android, and build stopped with KF-LOCK-INCOMPLETE, which re-locking did not cure. A declaration now counts only if its marker holds on every ABI being locked; otherwise kivyforge adds its own requirement as well.
  • Migration: a lock made before this change, without pyjnius, now stops the build with KF-LOCK-INCOMPLETE (exit 4) instead of producing an app that crashes. Run kivyforge lock -p android --update. Projects that already declare pyjnius need no change.

Android: lock and build show their downloads

  • Fixed: kivyforge lock -p android printed nothing until it finished, so a slow connection looked exactly like a hang (#84). It now reports each step, shows each wheel download as a progress bar (or as a few percentage lines when the output is a log rather than a terminal), and says it is still working after 30 s with nothing else to show. The Gradle step for Maven dependencies is announced too.
  • Added: before Gradle runs, a missing NDK or CMake at the versions the generated build pins is installed with the SDK's sdkmanager, with progress (#74). Gradle used to download the NDK itself in the middle of the build, a download of several hundred MB with no progress shown. Without sdkmanager, or with its license not accepted, build says so and Gradle installs it as before.
  • Changed: download progress is drawn by the console layer with Rich, so it is a live bar on a terminal and plain lines in CI logs, redirected output and under --no-color. Progress stays on stderr, so --json output is unaffected.

Android: adding your own resources with include_files

  • Added: a guide section, Add Android resources: stage a folder laid out like an Android res folder with dest = "app/src/main/res", keeping subfolders and qualifiers. (#71)
  • Added: a file that replaces one kivyforge generates, such as res/values/styles.xml or the launcher icon, is now reported ([include] ... replaces the file kivyforge generated, and KF-ANDROID-INCLUDE-OVERRIDE under --json). It used to be silent.
  • Added: the build stops, saying what to fix, when an included strings.xml or styles.xml leaves res/values/ without app_name or Theme.Kivyforge, which the generated manifest uses. That used to fail later in Gradle with an AAPT error that did not mention include_files.
  • Fixed: a file removed from include_files, or from a directory it names, is now removed from the generated project on the next build. It used to stay, and ship, until kivyforge clean.

Android: run follows the app's log

  • Changed: kivyforge run -p android now shows the app's log live, the way pidcat or Briefcase does, until the app exits or you press Ctrl+C (which stops the log and leaves the app running). It used to print one snapshot 25 seconds after launch and return, so anything the app logged later, such as a traceback from a button press, never appeared, and a slow first start could show no Kivy output at all. (#73)
  • Fixed: the log is now the app's own process (adb logcat --pid). The old filter matched text in each line, so it let other apps' lines through (any line mentioning SDL or kivyforge) and dropped the app's own Android crash report.
  • Added: if the app never starts, run prints the device log since launch and fails, instead of showing an empty capture.
  • Migration: a script that runs kivyforge run -p android and expects it to return must add --no-follow, which keeps the one-snapshot behaviour (now filtered to the app's process). run --smoke is unchanged.

Android: switching kivy_generation no longer needs kivyforge clean

  • Fixed: rebuilding after changing [tool.kivy.android].kivy_generation failed to compile until kivyforge clean was run. Going from 3 to 2 failed with duplicate class: org.libsdl.app.SDLInputConnection, because the SDL3 Java files were left in the generated project. Going from 2 to 3 failed with cannot find symbol: SDLInputConnection, because Gradle's incremental compiler loses a class that SDL3 moved into its own file. The build now removes the other generation's SDL files, and on a generation change it discards app/build (stopping the project's Gradle daemon first), so that one build compiles from scratch. Builds that keep the same generation are unaffected. (#66)

Android: apps relaunch on Android 7, and services can use pyjnius below Android 12

  • Fixed: on Android 7.0 and 7.1 (API 24 and 25), every app crashed on its second launch, and every service crashed on start, with NoSuchMethodError: ... toPath(). The check for an already-unpacked bundle used java.nio.file, which Android added in 8.0. Only the first launch after an install got through.
  • Fixed: in a service on Android 7 to 11 (API 24 to 30), import jnius raised RuntimeError: pyjnius (Android) could not obtain a JNIEnv. A service now loads the app's SDL library before Python starts, which is how pyjnius finds the Java VM. It creates no window.
  • Fixed: on Windows, kivyforge run -p android could crash with AttributeError: 'NoneType' object has no attribute 'splitlines' after launching the app. adb output is now read as UTF-8.
  • Added: kivyforge run --smoke also checks a relaunch: it unpacks the bundle a second time and expects the already-unpacked bundle to be used. A fresh install never takes that path, which is how the Android 7 crash above went unnoticed.

Android: the android package is bundled

  • Added: every Android build includes python-for-android's android package, so code that imports it runs unchanged: android.permissions, android.activity, android.runnable, android.broadcast, android.darkmode, android.storage, android.config, and the package's own mActivity, api_version, open_url and the rest. The modules are taken unchanged from python-for-android at a pinned revision. plyer's Android facades, which import it, can now load. Nothing to add to your dependencies, but the package needs pyjnius. See Use the android package.
  • Fixed: on Kivy 2.3.1, tapping a TextInput quit the app, and so did the back key, App.stop() and App.pause(): Kivy calls the activity through this package. Kivy's Android clipboard provider now loads, and so does its Android audio provider when an app selects it with KIVY_AUDIO. A TextInput with input_type = "number" (or "mail", "tel", ...) gets the matching keyboard.
  • Changed: kivyforge lock fails with KF-ANDROID-DEPENDENCY-CONFLICT when a dependency is named android, and kivyforge build fails with KF-ANDROID-APP-CONFLICT when app_dir has an android.py or an android/ package (or with KF-ANDROID-DEPENDENCY-CONFLICT when an installed wheel provides one). Both exit 1. The bundled package always comes first, so a second one would ship and never be imported.
  • Migration: remove android from your dependencies, for example a package index's android wheel or an android carried over from a buildozer requirements line. Rename an android.py or android/ of your own.

Android: services have start, stop and mService

  • Added: each generated service class has static start(context, argument) and stop(context) methods. A foreground service also gets the five-argument start(context, icon, title, text, argument), which replaces the configured notification text for that run, and is started with startForegroundService. Inside a service, autoclass("org.kivy.android.PythonService").mService is the running service. These match python-for-android's services, so ported code only changes the class name to org.kivy.android.Service<name>. See Add a background service and the new examples/mobile/android-services.
  • Changed: stopping a service now ends its process. Before, the service stopped but its Python code kept running in the background.
  • Migration: none for the intent-based start, which still works. A service that relied on running on after it was stopped has to stay started instead. pyjnius can reach the VM in a service process only on Android 12 (API 31) and later.

Android: a theme switch no longer quits the app

  • Fixed: switching the phone between light and dark mode quit a kivyforge Android app, on Kivy 2.3.1 (SDL2) and Kivy 3.0 (SDL3). Android recreates an activity for any configuration change the manifest does not declare, and SDL ends the app when its activity is recreated. The generated manifest now declares the same android:configChanges list as python-for-android, including uiMode, so a theme switch, a language or font-size change, a density change or a split-screen resize reaches the running app instead.
  • Migration: none. An app that set its own android:configChanges through [tool.kivy.android.manifest].activity keeps its value.

Android: Kivy 2.3.1 apps keep clear of the system bars

  • Fixed: on Android 15 and later, an app targeting API 35 or higher is drawn edge to edge, under the status bar and the navigation bar. Kivy 2.3.1 can't report a safe area, so a kivy_generation = 2 app's content sat under the bars with no way to avoid them. The generated activity now keeps the window clear of the bars and the notch on API 30 and higher, with black behind the bars and light bar icons. The padding follows rotation, and with fullscreen = true only the notch is padded. Kivy 3.0 apps are unchanged: they stay edge to edge and pad themselves with kivy.mobile.get_safe_area() (#63).
  • Migration: a generation-2 app's window is now smaller by the bar heights (for example 1080x2216 instead of 1080x2400 on a Pixel 8a). An app that padded itself for the bars, for example by reading the insets with pyjnius, should drop that padding.

Android: orientation is honoured at runtime

  • Fixed: an Android app rotated to any orientation when the phone's auto-rotate was on, whatever [tool.kivy].orientation said. The manifest declared the right orientation, but SDL replaced it when Kivy created its window: with no orientation hint and a resizable window, SDL allows every orientation. The generated activity now passes [tool.kivy].orientation to Kivy as KIVY_ORIENTATION, the variable python-for-android sets for buildozer apps, so SDL requests what the manifest declares. Applies to Kivy 2.3.1 (SDL2) and Kivy 3.0 (SDL3).
  • Migration: none for most apps. An app that declares portrait but relied on rotating anyway must now list the orientations it supports.

Android: fullscreen hides the system bars

  • Added: [tool.kivy.android].fullscreen = true runs the app with the status bar and the navigation bar hidden. A swipe from the edge shows them for a moment. This is the counterpart of buildozer's fullscreen = 1, and kivyforge init now names it when it finds a buildozer.spec. Works on both Kivy 2.3.1 (SDL2) and Kivy 3.0 (SDL3).
  • Migration: none for existing projects: the default is false, which is today's behaviour. buildozer treats a missing fullscreen as 1, so an app migrated from buildozer that never set the key needs fullscreen = true to keep hiding the bars.

Android and iOS: a failed download is reported, not a traceback

  • Fixed: when an Android or iOS build could not download a locked artifact (for example, a wheel host answering HTTP Error 503), or the download failed its SHA-256 check, kivyforge crashed with a Python traceback. Under --json, stdout was empty instead of one envelope. Both are now reported as an ordinary error naming the artifact's URL and the reason, as the desktop backends already did: KF-ERROR and exit 1, with a --json envelope.
  • Migration: none needed. A download error is usually transient: retry the build.

Android builds refuse to start Gradle without a JDK

  • Fixed: a build -p android --debug (or package, run) attempted with only a JRE installed started a Gradle daemon, and that daemon outlived the failed build. After installing a JDK at the same path (as Debian's openjdk-21-jdk-headless does), the next build still failed with "does not provide the required capabilities: [JAVA_COMPILER]" until kivyforge clean stopped the daemon. Every Android verb that runs Gradle now checks first, the same way doctor does, and fails before Gradle starts when there is no java or the java Gradle would run has no javac beside it. (Issue #61.)
  • Changed: those two cases now fail with KF-TOOLCHAIN-MISSING and exit 3 ("fix the machine"), with context.tool set to java or javac. Before, Gradle ran and failed with KF-BUILD-TOOL-FAILED and exit 5. A JDK of an unsupported version is still reported by Gradle, as before.
  • Migration: a script that treated exit 5 as "no JDK" should check for exit 3 and KF-TOOLCHAIN-MISSING. If a daemon from an earlier kivyforge release is already stuck, run ./gradlew --stop in <app>-android/ once (or kivyforge clean).

doctor -p android: fail a JRE with no javac

  • Fixed: with only a JRE installed (for example Debian's openjdk-21-jre-headless), kivyforge doctor -p android reported the JDK check as passed, because the version is in range. The build then failed at compileDebugJavaWithJavac with "does not provide the required capabilities: [JAVA_COMPILER]". The JDK check now also requires a javac beside the java Gradle will run (following symlinks, as Debian's /usr/bin/java needs), and fails with a hint to install a full JDK. (Issue #47.)
  • Migration: none needed. If doctor now fails the JDK check, install a JDK (sudo apt install openjdk-21-jdk-headless on Debian or Ubuntu) and point JAVA_HOME at it.

Android: BOMs and Gradle plugins (enables Firebase)

  • Added: [tool.kivy.android.gradle].platforms lists BOM coordinates, such as com.google.firebase:firebase-bom:34.15.0. Each is imported with Gradle's platform(), and a dependencies entry may then omit its version (com.google.firebase:firebase-analytics). kivyforge lock records the version the BOM chose for each library, with its SHA-256. The BOM needs an exact version.
  • Added: [tool.kivy.android.gradle.plugins] maps a Gradle plugin ID to an exact version, for example "com.google.gms.google-services" = "4.4.2". Plugins are applied after the Android plugin, in the order listed. With include_files staging google-services.json, this is everything Firebase needs. A plugin's version is pinned, but no hash is recorded for it, the same as for the Android Gradle plugin.
  • Migration: none needed. Projects without these keys generate the same Gradle files and the same lock as before.

doctor: no more iOS failures off a Mac

  • Fixed: kivyforge doctor with no -p on a project whose only overlay is [tool.kivy.android] (or any single non-host platform) fell back to iOS and reported missing [tool.kivy.ios] table, Xcode not found and xcode-select path not set, none of which the user can or should act on. It now uses the project's only configured platform, and for a bare environment check or an ambiguous project on Windows or Linux, the host's own platform. iOS remains the fallback on macOS.
  • Migration: none needed. Pass -p or set KIVYFORGE_PLATFORM to pick a platform explicitly, as before.

Android: SDK license guidance for command-line tools 23+

  • Fixed: the doctor "SDK licenses" hint, the README, and the Android quickstart told you to run sdkmanager --licenses. In command-line tools 23 and later sdkmanager is a wrapper around Google's Android CLI, and --licenses does nothing (exit 0, no license recorded), so the warning never cleared. The hint now says to install any package (such as sdkmanager platform-tools), which records the license; --licenses is still named for older tools.
  • Docs: the quickstart has a new "SDK licenses and sdkmanager" section. It also notes that the new sdkmanager exits 0 when an install fails, and that the Android CLI collects usage data unless run with --no-metrics.
  • CI: the jobs that install the pinned NDK, CMake, platform, and build-tools now assert each package landed, because a failed install no longer fails the step.
  • Migration: none needed.

Android: doctor checks CMake

  • Added: kivyforge doctor now checks for the CMake the native launcher compile needs. It used to be missing from the checks, so Gradle downloaded it silently during the first build. A missing CMake is a warning with the exact sdkmanager 'cmake;3.22.1' command.
  • Changed: the generated app/build.gradle pins externalNativeBuild.cmake.version to 3.22.1 (AGP's own default), so the build and doctor ask for the same package.
  • Migration: none needed. A build still downloads CMake itself when it is missing and the SDK licenses are accepted.

Android: compile Java at level 17

  • Changed: the generated app/build.gradle now sets sourceCompatibility and targetCompatibility to VERSION_17 (was VERSION_1_8). JDK 21+ reports source/target 8 as obsolete on every build; kivyforge already requires JDK 17+, so no new JDK is needed.
  • Migration: none needed. Regenerate the project (kivyforge build) to pick it up.

Android: accept pyjnius 1.8

  • Changed: the bootstrap's pyjnius invoke0 range is now >=1.7.0,<1.9 (was <1.8). pyjnius 1.8.0 is the first release with Android wheels on PyPI, so a bare pyjnius dependency re-locks to it, and build and doctor used to reject that lock.
  • Fixed: the build/doctor message for an out-of-range pyjnius said to re-lock, which picks the same version again. It now says to constrain pyjnius in [project].dependencies.
  • Migration: none needed. Projects locked to 1.7.x keep working.

lock (Android): warn when kivy_generation disagrees with the locked Kivy

  • Added: kivyforge lock -p android now warns (and records a KF-LOCK-WARNING diagnostic under --json) when [tool.kivy.android].kivy_generation does not match the Kivy it resolved, for example kivy_generation = 3 locking Kivy 2.3.1. Previously only doctor noticed, after the lock was written. The lock is still written.
  • Docs: kivy_generation selects the SDL bootstrap only; it never influences resolution. The Kivy version comes from [project].dependencies, so Kivy 3.0 needs a requirement that admits it, such as "kivy>=3.0.0.dev0,<4".

init: documented [tool.kivy], and templates that fit each platform

  • Changed: [tool.kivy] now carries a comment on every key. orientation is written only when a mobile platform is being seeded, since only the iOS and Android backends read it. Seeding several platforms at once now writes iOS and Android first, so the shared table keeps orientation.
  • Changed: the exclude list in the desktop (macOS, Linux, Windows) templates is now an optional, commented-out size trim. It used to be active and dropped requests and its dependencies, which breaks UrlRequest. iOS and Android keep the active list.
  • Changed: the iOS and Android templates write extra_index_urls for the kivy-mobile-wheels index uncommented. Without it kivyforge lock cannot find a Kivy wheel. init now assumes Kivy is a dependency: the exclude list and this line are always written, instead of only when [project].dependencies names kivy. The Linux template notes that archs = ["aarch64"] targets a Raspberry Pi.
  • Fixed: the "no pyproject.toml" and "found requirements.txt" messages suggested kivy>=3.0, which has no desktop wheel yet. They now suggest kivy>=2.3.1 and say an iOS app needs Kivy 3.0.
  • Migration: existing projects are untouched. A project that relied on the desktop exclude default should add it back by hand.

lock: the resolver error names the package and says what to do

  • Changed: when pip cannot resolve a dependency for a mobile or desktop target, kivyforge lock now names the package in its own headline (for example no android_24_arm64_v8a wheel for 'numpy') instead of leaving it in pip's output further down. For Android it first suggests the first-party kivy-mobile-wheels index (extra_index_urls) when it is not configured, and otherwise find_links or dropping the dependency. The iOS error gives the same index hint. Error codes are unchanged.
  • Docs: the README's Android quick start now explains that Kivy has no Android wheel on PyPI, shows the extra_index_urls line, and says lock uses kivyforge's own pip, not the app environment's. The init template comment for that line no longer says "until they are on PyPI".

run: progress goes to stderr

  • Changed: kivyforge run printed its own progress ([run]/[smoke] lines, Installing on ..., Launching ..., and every line of the build it runs first) to stdout. That now goes to stderr, as it does for build and package. stdout carries only what the command produces: the app's own output on desktop, the app's filtered logcat on Android, the app console on iOS, and "Contract smoke test PASSED." for --smoke. On iOS the app's output arrives as Apple's launch tool delivers it: the simulator merges the app's stdout and stderr onto stdout, while a device keeps them apart, so Kivy's log (which Kivy writes to stderr) shows on stderr, and devicectl adds two lines of its own to stdout.
  • Migration: a script that captured run's stdout to read build progress should read stderr instead. One that only checked the exit status, or read the app's output or the smoke verdict, is unaffected.

Android: App Bundles are now checked in CI

  • Google Play requires an App Bundle (.aab) for new apps, but no CI job built one: every Android job packaged an APK, one ABI at a time. A new android_bundle job now runs kivyforge package -p android -f aab with both default ABIs and checks the result: every ABI complete and shipping the same native libraries, the byte-compiled payload, the merged manifest, the bundle's signature (jarsigner -verify), and that the APKs Play generates will still extract native libraries, which kivyforge's Python loader requires.
  • The post-build checks now understand packages with more than one ABI. A correct two-ABI package used to fail them.
  • Test-only; no change to what kivyforge builds.

Android doctor checks the JDK's version and finds the SDK on macOS

  • Fixed: doctor -p android passed any java that existed. On a Mac with no JDK, Apple's /usr/bin/java stub passed, and so did Android Studio's bundled JDK 25, which the pinned Gradle 8.11.1 cannot run on. The build then failed with "Unsupported class file major version". doctor now runs java -version and requires a JDK from 17 to 23.
  • Fixed: with ANDROID_HOME unset, kivyforge did not look in ~/Library/Android/sdk, where Android Studio installs the SDK on macOS. doctor, the build's sdk.dir and run's adb lookup now find it.
  • The docs said "JDK 17 or later". The range is now stated once, in the Android supported-versions table, which the other pages link to. Those pages note that Android Studio's bundled JDK may fall outside it and that doctor checks.
  • Fixed: run -p android --smoke without --release staged the release payload, so with the default byte_compile = "release" it tested byte-compiled, stripped Python inside a debug APK. It now stages the debug payload, the same Python run installs. --smoke --release is unchanged.

The missing-pyproject.toml hint no longer points at init to create one

  • Fixed: a verb run without a pyproject.toml suggested running kivyforge init to create one, but init does not create one: it stops and asks for a [project] table first. The hint now says to write the [project] table, then run kivyforge init -p <platform>.

The dice-roller example no longer names the author's Developer ID

  • Changed: examples/desktop/dice-roller no longer has a [tool.kivy.macos.signing] table, so package -p macos ad-hoc signs it on any Mac. Before, the table named the author's certificate, and the desktop quickstart told readers to delete it before locking. That step is gone.

A pyproject.toml saved with a byte-order mark loads

  • Fixed: a pyproject.toml that starts with a UTF-8 byte-order mark failed with "invalid TOML: Invalid statement (at line 1, column 1)". Some editors write one, and so does PowerShell's -Encoding utf8. kivyforge now ignores it.
  • Adding or removing the mark does not make an existing lock stale.

Pillow is a core dependency; the linux, windows and android extras are gone

  • Changed: Pillow is now installed with kivyforge. Before, a project that set an icon or splash image for Android, Linux or Windows needed the matching extra, and without it the build stopped partway through.
  • Removed: the linux, windows and android extras. Their only content was Pillow.
  • Migration: install plain kivyforge. An old command such as pip install "kivyforge[android]" still works: pip warns that the extra does not exist and installs kivyforge with Pillow.

init: the buildozer.spec key map names real keys

  • Fixed: when init finds a buildozer.spec and no pyproject.toml, it prints how each buildozer setting maps onto kivyforge. Several entries pointed at keys kivyforge does not read:
  • android.gradle_dependencies now maps to [tool.kivy.android.gradle].dependencies.
  • android.add_jars now maps to [tool.kivy.android.native.jars].
  • android.add_activities now maps to [[tool.kivy.android.activities]].
  • android.add_src is no longer listed as unsupported. It maps to [tool.kivy.android.src].java.
  • The map now also covers android.add_aars, android.add_gradle_repositories, android.add_assets, android.add_resources, android.manifest.intent_filters, android.manifest_placeholders, android.allow_backup, android.apptheme, android.numeric_version, android.presplash_color and the adaptive icon layers.
  • The closing reference link now points at the user reference, docs/guides/reference/pyproject/android.md.

iOS: run --device builds for the phone it installs on

  • Fixed: with automatic signing, run -p ios --device could build and sign successfully, then fail to install with "This provisioning profile cannot be installed on this device". This happened on any phone added after Xcode last created the managed profile. The build targeted any iOS device, so Xcode kept the old profile. run --device now chooses the phone before building and passes it to xcodebuild as -destination, so Xcode adds the phone to the managed profile, or stops the build with an error naming the phone.
  • A missing phone is now reported before the build instead of after it. build --device has no target phone and is unchanged.
  • Adding a phone to the profile requires an Apple account signed in to Xcode (Xcode > Settings > Accounts). Without one, the build now fails with Xcode's "No Accounts" error instead of producing an app the phone refuses.

iOS: unpinning a provisioning profile takes effect

  • Fixed: after removing provisioning_profile (or clearing team_id), the next build still carried the old value in the generated .xcodeproj, which kivyforge updates in place rather than recreating. With auto_signing = true, Xcode then failed with "conflicting provisioning settings". This is the fix kivyforge itself suggests when it refuses an Xcode-managed profile. Build settings kivyforge owns are now removed from the project when the configuration no longer sets them. Settings kivyforge does not own, including any set in Xcode's editor, are left alone.
  • Migration: none. A project left in this state is repaired by the next build; deleting <app>-ios/ is no longer needed.

iOS: run --device finds the phone on Xcode 27

  • Fixed: with Xcode 27, run -p ios --device refused a single connected phone with "multiple paired iOS devices found", because Xcode 27's devicectl also lists simulators as paired iOS devices. --device now ignores simulators, so one connected phone is picked without --destination.
  • Fixed: --destination rejected the UDID that run --list-devices prints. It now accepts the UDID, as well as the name and devicectl's own identifier.
  • --device --destination matches only iOS devices, so a name fragment such as your first name no longer picks a paired Apple Watch. A destination that names a simulator now says to use --simulator instead of "no device matches".

iOS: a pinned profile Xcode will refuse stops the build up front

  • Changed: a device or release build, run --device, and package now stop before xcodebuild in two cases where Xcode refuses the pinned profile. Before, both built the whole app and then failed (exit 5) with Xcode's error, while doctor reported PASS:
  • provisioning_profile set with auto_signing = true (the default). Xcode rejects a pinned profile under automatic signing.
  • an Xcode-managed profile (iOS Team Provisioning Profile: ..., the kind automatic signing installs) pinned under auto_signing = false. Manual signing requires a profile created at developer.apple.com.
  • doctor -p ios now FAILs the Provisioning profile check in both cases.
  • package now runs the entitlements check that build already ran, so an entitlement the pinned profile does not grant fails before the archive instead of at export.
  • KF-ENTITLEMENTS-UNGRANTED is retired. It warned about ungranted entitlements under automatic signing with a pinned profile, a combination that never built. It is no longer emitted and will not be reused.
  • Migration: if you pin provisioning_profile, set auto_signing = false and pin a manually created profile; or remove provisioning_profile and let Xcode manage signing. Re-lock afterwards. Simulator builds are unaffected.

iOS: run streams the app's console

  • Fixed: run -p ios launched the app but never showed its output, and Ctrl+C discarded it; the quickstart said it streamed. The launch now runs attached to your terminal, as macOS run does, until the app exits or you press Ctrl+C. On a device the launch passes devicectl --console, which attaches to the app's output and waits for it to exit.

iOS: --arch offers only the simulator slice kivyforge pins

  • Fixed: build -p ios --arch aarch64 suggested x86_64, which then crashed with a traceback (no --json envelope) because no lock pins an x86_64 simulator slice. The error now suggests arm64 only.
  • On an Intel Mac, a simulator build fails before downloading anything, with exit 3 (KF-HOST-INCAPABLE), and says to build for a device or on Apple Silicon. Device builds on an Intel Mac are unaffected.
  • A wheel the lock does not cover for the requested slice is now a configuration error with a --json envelope, and says to re-lock.

macOS and Linux: the built bundle is readable by other users

  • Fixed: the macOS .app and the Linux AppDir were created mode 0700, so only the user who built them could open them, and cp -R carried that into a DMG or /Applications. They now get the mode a plain mkdir would (0755 under the usual umask). Rebuild to pick it up.

CLI: help text matches what each option does

  • Fixed: the top-level help called kivyforge "a declarative iOS bundler"; it now names all five platforms. Its em dash also printed as ΓÇö when help was piped on Windows; help text is now ASCII-only, and a test keeps it so.
  • open help, and its error on platforms without an IDE project, now say it opens Xcode for iOS and Android Studio for Android.
  • --team-id, --signing-identity, and --export-method now say which platforms read them. package --signing-identity applies to iOS and macOS only; Windows signs with [tool.kivy.windows.signing].thumbprint, and Android with --keystore.
  • Changed: build and package now refuse those options, and package's --notarize/--no-notarize/--notary-profile, on a platform that does not read them, as they already refused Android-only options elsewhere. Before, package -p windows --signing-identity X succeeded and signed nothing with X. The error names each option and the platforms it applies to (exit 1).
  • Migration: a script that passes one of these to a platform that ignores it, such as one command line shared across targets, now fails; drop the option for that platform. Nothing it did changes: the option was never applied there.

Config: unknown keys under [tool.kivy] are errors

  • Changed: a key kivyforge does not recognise anywhere under [tool.kivy] now fails every verb with a configuration error (exit 1). Before, it was dropped without a word and the build went ahead as if it had never been written: a typo such as deployment_targt, or [tool.kivy.android.proguard], which the Android spec describes but no release implements, so a release build shipped with none of the keep rules it declared.
  • The error names the key and its line, and suggests the closest valid key (did you mean 'deployment_target'?) or lists the valid ones. All unknown keys are reported in one run.
  • Not checked: keys outside [tool.kivy]; tables passed through to another tool (info_plist, entitlements, xcode.build_settings, the Android manifest attribute tables, gradle_properties); and a table for a platform kivyforge does not support yet, such as [tool.kivy.web], which spec 01 promises is inert. Targeting a misspelt overlay now names it: found [tool.kivy.andriod]; rename it to [tool.kivy.android].
  • Migration: a project with an unknown key stops building until the key is fixed or removed. No setting changes meaning: every key the error names was already being ignored. Remove [tool.kivy.android.proguard] if you set it; it never took effect.

Windows: package warns when a bundle only fits in a short folder

  • Windows limits a path to 259 characters unless long paths are enabled, and they are off by default. Every file in an app has to fit, including the folder the user unzips or installs it into, so the deepest path inside the bundle decides how long that folder can be.
  • kivyforge package -p windows now measures this. When the bundle leaves less than 100 characters for its folder, it prints a warning naming the deepest path and the longest folder that will work, and reports KF-PATH-DEPTH in --json output. A typical Kivy app leaves about 154, so most projects will never see it; deep dependency trees can.
  • Measured, not estimated: with long paths off, a bundle in a folder of exactly the reported length works, and one character longer does not.
  • No change to the launcher. Declaring it longPathAware would not help: Windows refuses to start an executable from a folder too long for its own path even with long paths enabled, and the bundled python.exe, which does the file access, already opts in.

iOS: provisioning_profile works as documented

  • Fixed: [tool.kivy.ios.signing].provisioning_profile was read two incompatible ways. Xcode received it as a profile name or UUID (the documented form), but doctor and the entitlements pre-flight treated it as a file path. A name or UUID made doctor FAIL ("not found") and silently skipped the entitlements check; a path passed doctor and then failed the Xcode build.
  • A name or UUID is now looked up among the profiles installed on the Mac, so doctor and the entitlements check use the same profile Xcode signs with.
  • A path to a .mobileprovision is also accepted: kivyforge reads the file and passes its UUID to Xcode. doctor warns if that profile is not installed, since Xcode signs only with installed profiles.
  • Migration: none for the documented name/UUID form. If you set a path, it keeps working, and now also reaches Xcode correctly.

Linux: --arch aarch64 is accepted

  • Fixed: build and package rejected --arch aarch64 as a usage error, although the Linux spec documents package -p linux --arch aarch64. With archs = ["x86_64", "aarch64"] the Raspberry Pi AppImage could only be produced by reordering the list. The shared --arch choices now include aarch64; with no --arch, the first locked arch is still the default.
  • run still does not accept aarch64: that arch is cross-built only, and run launches the result on the build host.
  • build -p ios --arch aarch64 now fails with a clear message instead of deriving a nonexistent iOS platform tag.

Install: pip is now a dependency

  • Fixed: uv tool install kivyforge produced an install where every kivyforge lock failed. kivyforge runs python -m pip to resolve and stage wheels, and uv tool environments ship without pip. The failure was also misleading: it reported that a dependency had no wheel upstream.
  • kivyforge now depends on pip>=25.1 (the Android resolver's floor, which also covers iOS's 24.3), so every installer, including uv and pipx, gets a pip new enough for every target.

Docs: end-user documentation site (MkDocs Material)

  • Added: a task-based user guide — installation, per-platform quickstarts, concepts, per-platform how-to guides, a full configuration/CLI reference, and troubleshooting — built with MkDocs Material and published to GitHub Pages (roadmap item 6). Sources live in docs/guides/; the design documents under docs/design/ stay unpublished.
  • The host matrix, exit codes, and KF-* diagnostic vocabulary are generated at build time from kivyforge's own capabilities/report modules, and the CLI reference from the click command tree, so the site cannot drift from the tool. mkdocs build --strict runs in CI and fails on a broken internal link, a missing nav page, or a KF-* code the reference does not document.

Desktop: clear error when the runtime can't be staged on a case-insensitive filesystem

  • Fixed: every python-build-standalone Linux runtime ships 25 pairs of paths that differ only by case, all in python/share/terminfo (h/hp70092A beside h/hp70092a). Building a Linux app onto a case-insensitive filesystem, such as /mnt/c from WSL2, used to die partway through staging with a bare shutil.Error. Worse, extracting straight onto such a filesystem silently overwrote one file of each pair.
  • Staging now checks the runtime archive before extracting it, and stops with the number of colliding paths, an example pair, the directory, and what to do instead (under WSL2: build from the Linux side, e.g. under ~).
  • Applies to the Linux, macOS and Windows runtime stagers. The filesystem is only probed when an archive actually has such collisions; no macOS or Windows runtime measured so far does, so those builds are unaffected.

Desktop: kivyforge run --release (Linux, macOS, Windows)

  • run --release now works on the desktop backends, as it has on Android since the entry below. Previously run on Linux, macOS and Windows always built the dev flavor, so byte_compile/strip_source (both release-only by default) could only be reached through kivyforge package — never through the command used for day-to-day iteration. That gap is where the Linux AppRun defect lived: shipped, reproducible in one command, and invisible to every verb a developer runs while working.
  • The release flavor is built into the same build/<platform>/ tree run always launches, so a later plain run rebuilds it with readable source.
  • --release --no-build is refused: --no-build launches whatever the last build left, and nothing records whether that was a release build.
  • run -p ios --release is refused rather than ignored — an iOS release build is an archive and a signed .ipa, not a simulator install. Use kivyforge build --release or kivyforge package -p ios.

kivyforge lock honors GH_TOKEN / GITHUB_TOKEN

  • Fixed: resolving the python-build-standalone runtime queries GitHub's API, which allows only 60 requests/hour per IP unauthenticated — enough for a dev box, not for CI, where a shared runner egress address can exhaust it and fail the lock with HTTP Error 403: rate limit. A single resolve can spend up to 16 of those requests.
  • lock (and lock --check, which re-resolves) now sends GH_TOKEN or GITHUB_TOKEN as a bearer token when either is set, raising the ceiling to 5000/hour. GH_TOKEN takes precedence, matching the gh CLI. An empty or whitespace-only value is ignored rather than sent, so an unset CI secret degrades to an anonymous request instead of a 401.
  • No configuration is needed to keep the old behavior: with neither variable set, the request is anonymous exactly as before.
  • On GitHub Actions, env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} needs no setup. A rate-limited failure now says so in its error message.

Android: manifest passthrough values were escaped twice

  • Fixed: a value in [tool.kivy.android.manifest.application] or [tool.kivy.android.manifest.activity] containing &, < or > reached the device with the escape still in it — android:description = "Rock & Roll" shipped as the literal text Rock &amp; Roll. The value was escaped on its way into the attribute and then escaped again when the attribute was quoted. Values without those three characters were never affected, which is every in-repo example and most real configs.
  • Found by the new merged-manifest T3 check (below) on its first run.

Android: two new post-build checks in CI

  • The android_gradle job now asserts that AGP's merged release manifest still contains what pyproject.toml declared — applicationId, version code/name, min/target SDK, every declared permission, feature, service, extra activity and intent-filter, and that no ${placeholder} survived unresolved. The release policy pass already read this manifest to lint its posture; nothing checked that the project's own declarations had survived the merge.
  • The same job now runs apksigner verify on the release APK at the project's own min_sdk, and checks the v1 (JAR) signing scheme against [tool.kivy.android.signing].v1_signing.
  • Both are test-only additions; no behavior change for builds that were already correct.

Android: kivyforge run --release

  • run --release now builds and launches the release variant, not just --smoke --release. Previously run always built debug, so byte_compile/ strip_source (both release-only by default) could only ever be exercised through kivyforge package — never through the command developers actually use for day-to-day iteration.
  • Skips package's manifest-policy and lint gates (those belong to the distribution path); signing falls back to the debug keystore when release signing isn't configured, so run --release never requires release secrets to work.

iOS: a Swift Package with a signable target (e.g. Firebase) now builds for device/release

  • Fixed: an iOS app with a Swift Package dependency that has its own signable target (e.g. Firebase's resource-bundle targets, Firebase_FirebaseCore) could fail to build with Signing for "..." requires a development team, even with automatic signing and a team correctly configured — the app's own target built and signed fine, but Xcode builds a Swift Package's targets as a separate, synthesized sub-project that does not inherit signing from either the consuming target's or the project's .pbxproj build settings. DEVELOPMENT_TEAM now also goes out as an xcodebuild command-line override (as CODE_SIGN_IDENTITY already did) for --device builds and --release archives, which is what the package's own targets actually read.
  • An earlier attempt at this fix (also writing DEVELOPMENT_TEAM/ CODE_SIGN_STYLE to the project's own build configuration, matching what Xcode's UI does when you set a Team in Signing & Capabilities) is kept — it's harmless and correct for the app's own target — but was verified, against the real firebase-ios-sdk package, to be insufficient on its own: the identical error still reproduced with only that fix in place.
  • Reported by an early user after adding the Firebase SPM package; reproduced and confirmed fixed against the real package (FirebaseCore product, firebase-ios-sdk 11.15.0) on a real device build, 2026-09-21.

iOS: a remote Swift Package no longer embeds by default

  • Changed: [tool.kivy.ios.native.swift_packages]'s embed field now defaults to false for a url (remote) package; a path (local) package is unchanged and still defaults to true. A remote package's library product is almost always automatic, which Xcode resolves to static for a standalone consuming target — there's no .framework for Xcode to copy, so the old embed = true default failed at xcodebuild build with The file "<Product>" couldn't be opened because there is no such file for most third-party packages, Firebase's included. A local path shim is author-controlled (its own Package.swift can deliberately declare type: .dynamic) and keeps the old default.
  • Migration: if a remote package's product really is a dynamic framework (check its own docs — Sentry's Sentry product is one example), set embed = true explicitly; it no longer comes for free.
  • Reported by an early user after adding FirebaseAuth; reproduced against the real package and confirmed embed = false fixes it. See docs/design/dev/ios-firebase-spm-signing-findings.md for the full investigation, including why a reactive fix (matching xcodebuild's error text) was rejected as fragile in favor of this proactive default.

iOS: a missing SDL3 now fails the build, not just the launch

  • A Kivy iOS app that stages SDL3.xcframework now fails to compile if its SDL3 headers are somehow missing (a broken vendoring step, a manually edited HEADER_SEARCH_PATHS), with an actionable error naming the cause. Previously this silently compiled the headless (windowless) fallback path instead — an app that launches but can never open a window, with nothing in the build log explaining why.
  • Non-Kivy (pure-Python) apps are unaffected; the guard only activates when SDL3.xcframework is actually staged.
  • Credit: PR #1 (kengoon).

kivyforge init -p is now repeatable

  • Seed several platforms in one run: kivyforge init -p ios -p android writes both overlays into pyproject.toml in a single call — the shared [tool.kivy] table is written once, and each platform's own overlay is added or (with --force) regenerated in turn. Previously this took one init invocation per platform.
  • --json's shape is unchanged for the common, single--p case (platform + data.action/data.tables). With more than one -p, the envelope's platform is null and results are listed under data.results as {"platform", "action", "tables"} per platform, in the order given.
  • Every other verb (build, run, package, doctor, status, ...) is unaffected — their -p still takes exactly one value, as it must.

entry_point now runs as __main__ on every platform

  • Migration note. if __name__ == "__main__": blocks in your entry module now execute on Android and iOS, matching the behavior Linux, macOS and Windows already had. Previously the entry module was only imported on mobile, so that idiom silently never ran there — no error, nothing in the log. If your app already calls App().run() unconditionally at module top level (the style every in-repo example uses), nothing changes for you.
  • Breaking for one specific pattern: an entry_point pointing at a package (not a module) now requires a __main__.py on every platform, same as python -m mypackage. Before this change, Android and iOS ran the package's __init__.py instead. Add a __main__.py, or point entry_point at an explicitly-named module instead (e.g. entry_point = "myapp.start").
  • Also changes: the entry module is no longer left in sys.modules after startup (mobile only — desktop already worked this way). Code that expects to import its own entry module again by name after startup will now re-execute it instead of getting the cached one.
  • Implementation: Android's main.c and iOS's kivyforge_bootstrap.m both now run the entry module via runpy.run_module(entry_point, run_name="__main__", alter_sys=True). Credit to PR #1 (kengoon), which independently found and fixed the iOS half of this first.

Desktop apps start faster: the embedded stdlib ships compiled

  • The staged Python stdlib is byte-compiled at build time on Windows, Linux and macOS. Measured on a packaged dice-roller: import kivy costs 66 ms instead of 276 ms — about 210 ms off every launch. Bundles previously shipped the stdlib as source and re-parsed it on each start, which neither the .AppImage (read-only) nor the signed .app (writing to itself invalidated its signature) could ever cache away.
  • Stdlib sources are kept, unlike the app payload: they are what tracebacks, inspect and linecache read. strip_source still applies only to your app and its site-packages.
  • Follows the existing [tool.kivy.<platform>.build_settings].byte_compile setting, so it applies to package by default and to every build when that is true. No new option.
  • The byte-compile subprocess no longer seeds the artifact with an arbitrary handful of its own import caches, so that subtree is reproducible.

Spawned tools can no longer wait for input

  • Every external tool kivyforge runs is given a closed stdin. A child that unexpectedly prompts now gets EOF and fails fast, instead of blocking until a CI job times out with nothing explaining why.
  • pip is passed --no-input at the lock resolvers and the wheel staging installs: an index that wants credentials is the one case here that genuinely prompts.
  • kivyforge run is deliberately unchanged — the app it launches is your program and keeps the user's stdin.

Linux aarch64 is a Raspberry Pi target

  • [tool.kivy.linux].archs accepts "aarch64" (opt-in; the default stays x86_64). Cross-build on a Linux x86_64 host; run the AppImage on a 64-bit Raspberry Pi OS image (Pi 4 or 5). kivyforge never runs on the Pi. Verified 2026-09-17 on a Pi 5 (Debian 13, labwc/Wayland, Broadcom V3D); a Pi 4 has not been run.
  • appimagetool is the host-arch binary; the aarch64 type2 runtime is embedded with --runtime-file. 32-bit ARM and musl stay out of scope.

New: kivyforge capabilities

  • A verb that answers what this kivyforge can do, with no project, lock or network needed — so an agent can ask before it has anything to point at. --json publishes:
  • platforms[]: each target's archs, package_formats, default_package_format, aliases, the host it is the default target for, and hosts: which of macOS/Linux/Windows can build it at all. That last one is the fact that stops an agent attempting iOS on Windows, and nothing in --help states it.
  • verbs[]: every registered verb and whether it accepts --json.
  • exit_codes and diagnostic_codes: the reserved exit taxonomy and the published KF-* vocabulary.
  • Everything is derived rather than restated: the host matrix comes from asking each backend's own check_host_capability, the verb list from the click group, the codes from the modules that define them. A hand-kept copy would pass its tests right up until it went stale.

--json on clean, init, upgrade and open

  • Every verb but run now takes --json and --no-color. Each reports what it did rather than that it did something:
  • clean: data.removed lists the generated trees actually deleted (relative, posix), plus cache_flushed and gradle_caches. Recorded as they go, so a removal that fails part way still names what it had removed.
  • init: data.action (added / regenerated), data.tables — the [tool.kivy*] tables written — and data.pyproject.
  • upgrade: data.refreshed names each re-fetched artifact and data.skipped counts vendored (path-pinned) entries. A hash mismatch half way through still reports the artifacts already refreshed.
  • open: data.project is the project that was opened.
  • Two new diagnostic codes, both warnings on an ok: true run: KF-IDE-NOT-FOUND when open finds no Android Studio launcher on PATH (the project is still generated, just not launched), and KF-DEPENDENCY-DRIFT when init sees an installed dependency outside its declared specifier.
  • open -p ios now prints the project it opened, matching what Android has always printed. It used to succeed silently.
  • As with build/package, progress moves to stderr on these verbs: clean's "Stopped the project's Gradle daemon(s)." and upgrade's per-artifact "Refreshing …" lines. What each verb produced stays on stdout.

Breaking: build and package progress moves to stderr

  • For build and package, everything except the product lines now goes to stderr, on all five platforms: staging and signing progress, Android's [collect]/[stage]/[gradle]/[policy] lines, and Gradle's own output (also for Android run and --smoke). stdout keeps only what was produced (Built …, Generated …, Packaged …, Exported …) and the distribution advice. On a terminal nothing looks different: the text and its order are unchanged.
  • Migration: a job that captures only stdout (kivyforge package -p android > build.log) no longer gets the build log. Capture both streams (> build.log 2>&1).
  • When xcodebuild or appimagetool fails, its output is printed as progress and the error is a one-line summary (xcodebuild archive failed (exit 65); its output is above.) instead of embedding the whole log. appimagetool failures now show both of its streams; stdout used to be dropped whenever stderr had anything in it.

build --json and package --json

  • Both verbs take --json and --no-color, like the other verbs. The envelope's data.artifacts lists what this run produced, as {"path", "kind"} with the path relative to the project root and kind one of appimage, apk, aab, app, ipa, folder, project.
  • Only products this invocation finalised are listed, including on failure: a build that fails after generating the project still names the project; a package that fails names nothing, never a previous run's artifact.
  • Success-path warnings arrive as diagnostics on an ok: true envelope: KF-SIGNING-UNCONFIGURED, KF-BYTECOMPILE-NO-INTERP, KF-MANIFEST-POLICY and KF-ENTITLEMENTS-UNGRANTED.
  • Failures now say what kind of failure they are. build and package used to exit 1 for everything; they now use the reserved exit codes, with a matching diagnostic code:
Exit Code When
3 KF-HOST-INCAPABLE wrong host OS for the target
3 KF-TOOLCHAIN-MISSING a tool is not installed (xcodebuild, the Gradle wrapper, clang, codesign, signtool, appimagetool, …)
3 KF-TOOLCHAIN-UNUSABLE a tool is present but cannot be executed; context.errno says why
4 KF-LOCK-MISSING / KF-LOCK-UNREADABLE / KF-LOCK-DRIFT re-run kivyforge lock
5 KF-BUILD-TOOL-FAILED Gradle, xcodebuild or appimagetool exited non-zero; context has tool and task
5 KF-ARTIFACT-MISSING the tool reported success but the product is not there

Anything not listed keeps KF-ERROR and exit 1. A tool that cannot be started at all used to crash with a traceback on iOS and Android; it now fails cleanly with an envelope. - Android now prints Generated <app>-android and relative artifact paths, like the other platforms. iOS build --simulator/--device builds into the project's own build/DerivedData (as run already did) and prints the .app it produced.

Breaking: Apple targets are Apple Silicon only

  • x86_64 removed from macOS and the iOS Simulator, as a host and as a target. macOS 27 stops installing on Intel hardware, GitHub's macos-*-intel runners sunset in 2027, and macOS 28 removes Rosetta — so an Intel slice is one nothing can execute or validate. Legacy tools continue to cover Intel; a new toolchain does not need to carry it.
  • [tool.kivy.macos].archs accepts only ["arm64"] (the new default), and [tool.kivy.ios].simulator_archs only ["arm64"]. Both reject x86_64 with a migration message naming the fix.
  • universal2 builds are gone along with the lipo merge machinery, and --arch universal2 is no longer a CLI choice.
  • iOS locks now pin two slices (device arm64 + simulator arm64) instead of three.
  • Migration: set archs = ["arm64"] / simulator_archs = ["arm64"] (or drop the keys — arm64 is the default) and re-lock.
  • universal2 wheels are unaffected and still resolve normally — a universal2 wheel contains arm64. The build target set narrowed; the wheel tag set did not.

Desktop source stripping (Windows/Linux/macOS)

  • New [tool.kivy.<platform>.build_settings] table on Windows, Linux, and macOS, matching what Android's own build_settings already does: byte_compile and strip_source (each "release" | true | false, default "release"). "release" applies only to kivyforge package — build/run always keep readable .py for fast iteration.
  • Only the app sources and installed site-packages are compiled/stripped; the staged Python stdlib is never touched (readable tracebacks, inspect/linecache stay intact).
  • The compiler is the bundle's own staged interpreter when it can run on the host (never Rosetta or any other emulation), else the interpreter running kivyforge itself on a matching CPython minor, else the default degrades to shipping source with a note (byte_compile = true fails the build instead of silently shipping source).
  • On macOS this runs before ad-hoc signing, since codesign seals the bundle.
  • Previously only PyInstaller (bytecode-only) and Flet (bytecode-only by default since v0.86) did this; kivyforge's desktop backends shipped raw .py unconditionally until now.

iOS source stripping

  • New [tool.kivy.ios.python.build_settings] table (nested under python, since [tool.kivy.ios].build_settings already names the Xcode passthrough table): the same byte_compile/strip_source release tri-state as Android and the desktop backends, covering both pip-deps (third-party wheels) and the app's own source.
  • build/run are unaffected — app/ stays a symlink to app_dir for fast iteration, exactly as before.
  • kivyforge package now stages app/ as a real, disposable copy instead of a symlink and compiles/strips that — the user's actual source tree is never touched. Switching back to build/run afterward reclaims the copy for the symlink automatically.
  • The staged Python.xcframework stdlib is never touched (it's a prebuilt, opaque library either way).
  • Python.xcframework ships no standalone interpreter to shell out to, so compilation always uses the kivyforge-hosting interpreter itself (on a matching CPython minor) or degrades — there is no "staged interpreter" rung the way desktop has.

Android backend (.apk / .aab)

  • New android target. kivyforge lock/build/run/package -p android resolves into pylock.android.toml, assembles the official python.org Android runtime (per ABI) plus per-ABI android_* wheels into a generated Gradle/AGP project, and produces a signed .apk (sideload/CI) or .aab (Play upload). A wheel-assembly + Gradle-drive backend — no python-for-android recipe system, no per-app C-extension compilation. Builds on Windows, macOS, or Linux (consumes prebuilt wheels + runtime; drives the SDK/NDK/Gradle). 64-bit only (arm64_v8a, x86_64 — the python.org runtime ships no 32-bit build).
  • [tool.kivy.android] overlay — package (applicationId), version_code (explicit or "auto" derived from [project].version), min_sdk/target_sdk/ compile_sdk, kivy_generation (2 = Kivy 2.3.1, 3 = Kivy 3.0), abis, adaptive icons/splash (AndroidX SplashScreen), permissions (+ implied <uses-feature> synthesis), services/activities/intent_filters, the manifest passthrough (+ raw-XML), native.aars/.jars and Maven gradle dependencies, include_files, src (Java/Kotlin), signing (v1–v4 schemes), and build_settings (byte-compile/strip/R8/debug-symbols). Loader-validated (rules 1–21).
  • kivyforge-owned bootstrap — a generated org.kivy.android.PythonActivity (extends stock SDL2 SDLActivity), the pyjnius NativeInvocationHandler matched pair (with a hard invoke0 contract gate), the Kivy-compat shims (org.renpy.android.Hardware + mActivity), an SDL_main native launcher (NDK-compiled per ABI), and a sys.meta_path finder over flattened extension .sos in jniLibs/. pyjnius ships as a prebuilt Java-free wheel (SDL- agnostic, JNIEnv resolved at runtime).
  • Four artifact channels — android_* wheels (PyPI / supplemental indexes / vendored find_links), the python.org runtime, .aar/.jar archives, and Maven coordinates (Gradle resolves; the graph is SHA-256-recorded in the lock).
  • Mandatory signing — debug builds use the auto-managed debug keystore; package requires a release keystore (env-var passwords, never in pyproject.toml), with a signing pre-flight and a release manifest-policy pre-flight (exported components, debuggable, placeholder package, …) that fail before Gradle.
  • kivyforge run --smoke — a generated instrumented contract test validates the extension-module finder + the pyjnius invoke0 glue on a real device/emulator; the promotion mechanism for the compatibility matrix.
  • kivyforge doctor -p android — JDK/SDK/build-tools/NDK/emulator/adb, plus project checks (SDL↔Kivy, the pyjnius contract, a hermetic 16 KB ELF-alignment scanner, ABI coverage, signing, lock-host reachability).
  • Examples — hello-android (Kivy 2.3.1 / SDL2), hello-sdl3 (Kivy 3.0 / SDL3), pyjnius-deviceinfo (device info via pyjnius), and qr-maven (Google ZXing via the Maven channel + a Python-implements-Java invoke0 round-trip), plus examples/verify-android.ps1.
  • First-party wheels, no vendoring. Kivy (2.3.1 and 3.0), pyjnius, and the matching SDL family are resolved from the kivy-mobile-wheels index — a companion repo of first-party cibuildwheel cross-builds (official SDL sources, 16 KB page-aligned, sonames unchanged for System.loadLibrary) published as a static PEP 503 index. hello-android and hello-sdl3 carry their locks committed as validation evidence; the rest resolve like any other dependency.
  • SDL3 / Kivy 3.0 support. kivy_generation = 3 renders the SDL3 bootstrap template (templates/sdl3/) and pairs it with the matching wheel-repo glue; check_sdl_glue_contract() fails the build on any Java/.so version mismatch rather than the silent black-screen failure that mismatch would otherwise produce.
  • Validated on real hardware. kivyforge run --smoke passes on an x86_64 emulator (API 31) and a Pixel 8a (Android 16 / API 36) for both the SDL2 and SDL3 stacks, with the app visually confirmed rendering on-device — see the compatibility matrix.

Windows backend (onedir folder)

  • New windows target. kivyforge lock/build/run/package -p windows resolves into pylock.windows.toml, bundles a relocatable python-build-standalone MSVC CPython plus win_amd64 wheels, and produces a run-from-folder onedir: a windowed-subsystem launcher .exe beside the full runtime prefix, the app source, a generated bootstrap, and the native-binaries channel. amd64 only this phase; the config stays list-shaped for additive win-arm64 later. Requires a Windows host (MSVC runtime + Windows-only rcedit/signtool).
  • [tool.kivy.windows] overlay — app_id (the AppUserModelID; hard constraints enforced at config time, PascalCase/period style a doctor WARN), archs, python.version, icons.source, optional [signing] (thumbprint/timestamp_url/store_scope), and the shared extra_index_urls/find_links/exclude.
  • Prebuilt, reproducible launcher — a single vendored windowed launcher .exe (built once from launcher.c with MSVC /Brepro + /RELEASE + /EMITTOOLVERSIONINFO:NO, SHA-256 pinned, byte-reproducibility gated in CI — the last flag drops the PE "rich header", whose serviced cl/link build stamp otherwise differs between runner images sharing one VCTOOLSVERSION) is parameterized per app only by its resources (icon + version) via the vendored rcedit — no per-build compiler. The launcher self-locates, sets the AppUserModelID, hands the console off on run while suppressing the flash on double-click, and spawns the bundled python.exe under a Job object.
  • No-pip wheel staging — locked wheels are unpacked into the runtime prefix by a deterministic wheel-scheme installer (routing purelib/platlib/data/ scripts/headers), and kivy_deps.* DLLs land where the loader finds them. The vcruntime140*.dll are staged from the PBS prefix (empirically msvcp140 is handled best-effort).
  • Native-binaries channel + PE checks — the shared staging helper gained Windows-facing guards (case-insensitive collision keys, reserved DOS device-name / alternate-data-stream rejection, exec-bit no-op) and a pure-Python PE machine-type reader so a wrong-architecture DLL fails the build clearly. The generated bootstrap registers bin\ with os.add_dll_directory and prepends it to PATH (helpers run by name, DLLs load by name).
  • Unsigned folder packaging — package -f folder atomically copies the onedir into dist\windows\<app>-<ver>-amd64\, excluding build cache / VCS / editor droppings; the build tree stays the unsigned dev-run target.
  • Optional Authenticode signing — first-class but off by default. A new Signer protocol with SigntoolSigner (signtool sign /sha1 <thumbprint> /fd SHA256 /tr <url> /td SHA256, /sm for store_scope=machine, always timestamped) and NullSigner; identity is always a cert-store thumbprint, never a .pfx. A deterministic PEP 440 → four-part numeric FILEVERSION mapping feeds the version resource. Signing targets the dist copy only, after the resource patch.
  • kivyforge doctor -p windows — Windows host, long-path support, app_id style, arch coverage, app icon, native-binary sources/collisions/arch, resource assets, reachable hosts (incl. the signing timestamp server), signtool availability, and the signing certificate (in the configured store_scope store).
  • Examples — desktop-viewer, dice-roller, notes, and hello-native gained [tool.kivy.windows] overlays (hello-native adds a greet.dll + roll.exe native channel); examples/verify-windows-examples.ps1 mirrors the desktop verifier's clean→lock→doctor→build→run→package→launch loop.
  • CI — windows-latest unit tests, a launcher reproducibility + vendored-asset gate, and a self-signed signtool sign→verify loop.

Linux backend (AppImage / AppDir)

  • New linux target. kivyforge lock/build/run/package -p linux resolves into pylock.linux.toml, bundles a relocatable python-build-standalone gnu/glibc CPython plus manylinux wheels, and produces an AppImage (the package default) with a run-from-folder AppDir as the substrate/fallback (package -f folder). x86_64 only this phase; the config stays list-shaped for additive aarch64 later.
  • [tool.kivy.linux] overlay — app_id (reverse-DNS; names the generated .desktop, Icon=, and StartupWMClass), archs, optional glibc_floor, python.version, icons.source, desktop.categories, and the shared extra_index_urls/find_links/exclude. Invalid app_id characters are a fail-fast config error.
  • manylinux resolution — because pip does not expand the manylinux hierarchy from a single --platform, the resolver requests the full compatible tag ladder at/below the glibc floor in one invocation. The artifact's effective glibc floor = max(runtime floor 2.17, highest locked wheel manylinux level).
  • AppImage packaging — a pinned static appimagetool + pinned type2 static-FUSE runtime are fetched through the shared artifact cache; the shipped AppImage needs no host libfuse2, and APPIMAGE_EXTRACT_AND_RUN=1 means the build host needs no FUSE either. A generated AppRun (POSIX shell) sets PYTHONHOME/PYTHONPATH/SDL_VIDEO_*_WMCLASS — no compiled launcher, no native build at package time.
  • Generated desktop integration — .desktop entry + hicolor icon set from pyproject.toml (Pillow for resize via the optional kivyforge[linux] extra; a default icon is generated with only the stdlib when no source is set).
  • kivyforge doctor -p linux — host libc (WARN on musl), libGL/libEGL via ldconfig, display session, glibc floor vs. runtime, manylinux arch coverage, app icon, generated .desktop validity (desktop-file-validate), and reachable hosts (lock + appimagetool/runtime assets).
  • Host contract (documented, never vendored) — the bundle relies on the host for glibc ≥ the effective floor, libGL/libEGL, and an X11/Wayland session.
  • Examples — desktop-viewer, dice-roller, and notes gained [tool.kivy.linux] overlays + committed pylock.linux.toml; examples/run-examples.sh -p linux builds and runs them.
  • CI — added an ubuntu-latest headless job (the cross-platform core now runs on both macOS and Linux hosts). Artifact cache respects $XDG_CACHE_HOME on Linux (~/.cache/kivyforge).

The rewrite (never released as 3.0.0)

Complete rewrite. kivyforge is the successor to kivy-ios, python-for-android, and buildozer — a declarative, PEP 621-aligned build toolchain for Kivy apps aimed at every platform Kivy runs on. It began with the iOS target, built around pre-built Python.xcframeworks and pip-installable iOS wheels. The recipe-based kivyforge build-recipe workflow is gone; see the design docs and the updated README.

What the rewrite introduced

  • Declarative config — project settings live in [tool.kivy] / [tool.kivy.ios] sections of your app's pyproject.toml; no more toolchain.spec or requirements.txt. Config validation is strict and fail-fast: [tool.kivy.ios.python].version is required (no hidden default at lock time), native xcframework source paths may not escape the project, signing flags must be real booleans (a quoted "false" is rejected, not coerced to true), and [tool.kivy.ios.xcode.build_settings] values must be strings.
  • Dependency locking — kivyforge lock resolves pure-Python and iOS wheel dependencies and writes pylock.ios.toml (PEP 751-inspired).
  • Python.xcframework — Python is distributed as a pre-built xcframework; no source compilation required on the developer machine.
  • iOS wheels — third-party packages are distributed as pre-built *-ios.whl wheels; kivyforge build downloads and integrates them.
  • Xcode project generation — kivyforge init generates a complete .xcodeproj via pbxproj; kivyforge open launches Xcode.
  • SDL3 — Kivy 3.0 moves to SDL3; the generated project and Info.plist are configured for the SDL3 UIScene lifecycle out of the box.
  • Mobile window/display geometry via kivy.mobile — DPI, scale, safe-area insets, and keyboard height are provided by Kivy core's kivy.mobile module (kivy/kivy#9331), shipped in the Kivy iOS wheel.
  • Native iOS dependencies — declare Swift Package Manager packages and native .xcframework archives under [tool.kivy.ios.native]. kivyforge lock pins SPM packages to a concrete revision and resolves each xcframework archive (by URL or repo-relative path) into a SHA-256 + enumerated slice list in pylock.ios.toml; kivyforge build fetches, verifies, and wires them into the Xcode project's Link / Embed phases per each entry's link/embed intent, pruning references for frameworks no longer present. When two sources stage the same <name>.xcframework, identical content (matching tree hash) is deduplicated silently and conflicting content fails the build, naming both providers and their hashes.
  • Slim CLI — toolchain now dispatches to init, lock, build, run, open, upgrade, clean, status, and doctor; legacy 2.x verbs print a migration pointer.
  • Requires Python ≥ 3.13 and pip ≥ 24.3 on the developer machine (macOS only). pip 24.3 added PEP 730 iOS platform-tag matching, which toolchain lock relies on to resolve iOS wheels; kivyforge doctor flags older pip and kivyforge lock fails fast with an upgrade hint.

Historical entries below this line describe kivy-ios 2.x (the recipe-based toolchain). They are preserved for reference but describe a workflow that no longer exists in kivyforge.


v2025.05.17

Full Changelog

Closed issues:

  • kivy fails to build on MacOS 15.4.1 (-armv7 compiler failure) #965
  • push notification in ios? #964
  • Libffi error while building python3 with Xcode 16.3 #963
  • Fails to build on recipe for ios/src/ios.pyx #948
  • target python needs to be patched #939
  • Toolchain build kivy command is failing with Xcode 16 #936
  • Toolchain does not build with Xcode 15.4 #929
  • How is Accelerate not supported? #925
  • M1 mac python3 build error #924
  • Python error after building to iPhone Simulator #923
  • Pillow not building #907
  • Can't create a recipe #906
  • Linker Command Failure Error While Building Python3 #905
  • MacOS kivyforge build constantly failing (I think due to C extension errors) #901
  • Unable to build with kivymd==2.0 #897
  • Got dlopen error on Foundation #896
  • Feature request: MatplotLib for iOS #712

Merged pull requests:

  • Use -platform_version flag during linking instead of the deprecated and now removed) -ios_simulator_version_min #970 (misl6)
  • Bump libpng version to 1.6.48 #967 (misl6)
  • Disable iOS armv7 build for libffi #966 (misl6)
  • Add SDL3, SDL3_ttf, SDL3_mixer, SDL3_image recipes for Kivy 3.0.0 #961 (misl6)
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.12.4 #958 (renovate[bot])
  • Enhance Cython integration: Add support for c++ mode, use hostpython3-provided Cython, allow pinning of specific Cython version in recipe #957 (misl6)
  • Bump Kivy version to 2.3.1 #956 (misl6)
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.12.3 #952 (renovate[bot])
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.12.2 #942 (renovate[bot])
  • Fix libb2 issue #940 (tcaduser)
  • :construction_worker: Fix broken setup workflow #938 (AndreMiras)
  • fix build for Xcode 16 #937 (tcaduser)
  • Fix zbarlight recipe #932 (Cheaterman)
  • chore(deps): update actions/setup-python action to v5 #918 (renovate[bot])
  • chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 #917 (renovate[bot])
  • Bump minimum Python supported version to 3.8 #914 (misl6)
  • chore: Configure Renovate #910 (renovate[bot])
  • Sunset apple-silicon-m1 self-hosted runner, as now is supported by Github Hosted runners via macos-latest tag. Use macos-13 for runs on Intel macs #909 (misl6)
  • (recipes/materialyoucolor): update to 2.0.9 #904 (T-Dynamos)

v2024.03.17

Full Changelog

Fixed bugs:

  • zbarlite recipe has hardcoded python version #677

Closed issues:

  • Materialyoucolor-python Recipe #895
  • libffi recipe build hangs during configuration #889
  • Can't Input text on IOS17.2 Simulator with Xcode 15.1 #888
  • [Request]: Pypi packages #886
  • Add pdf2docx recipe #883
  • [Question] : Pygame and pyexpat ? #873
  • Support mail address is broken #872
  • Toolchain python version mismatch #869
  • how to show ip camera footage #868
  • Working app crash on iOS 17 #864
  • Crash during background execution #862
  • Python3 build fails with unknown argument: '-fp-model' #860
  • issue creating recipe for kiwsolver #857
  • App runs fine from XCode, but terminates with an error if installed through TestFlight #850
  • ffmpeg related errors after adding this recipe to the project #849
  • how do you init your custom c module at app startup? #848
  • Replacement for pycrypto #843
  • Xcode build fails with ModuleNotFoundError: No module named 'encodings' #842
  • Invalid Signature when adding Python to iOS App Extension #826
  • APP crashes easily #824
  • when creating xcodeproj using kivy-ios, how to change the default bundleIdentifier #823
  • kivyforge build: no matching architecture in universal wrapper #792
  • Explanation to build recipe in iOS #776
  • Support arm64 simulator on Apple Silicon hardware #751
  • PyObjC import error #741
  • App Store Connect Operation Error Invalid Bundle Structure - The binary file '*myapp*.app/lib/python3.9/site-packages/google/protobuf/pyext/_message.cpython-39-darwin.so' is not permitted. #702
  • libzbar recipe missing libiconv dependency #676
  • Lib Not Found #674
  • kivyforge build kivy Error #668
  • leverage conda to create the host* packages #655
  • ImportError: dynamic module does not define module export function (PyInit__imaging) #644
  • kivy ios and boto3 #641
  • Recipe for OpenCV #637
  • Issues with using threads on an iOS device #609
  • Xcode fails to build: Undefined symbols for architecture x86_64 #607
  • There is a memory leak in the program #419
  • Include Unit tests and CI to test build for the toolchain #296

Merged pull requests:

  • :construction_worker: Fix the rebuild recipe script #900 (AndreMiras)
  • recipes: add new materialyoucolor recipe #898 (T-Dynamos)
  • Remove bitcode support, as is now deprecated by Apple #894 (misl6)
  • Bump openssl version to 1.1.1w #891 (misl6)
  • Bump Kivy version to 2.3.0 #890 (misl6)
  • Set fetch-depth: 0 for updated recipes checkout and use actions/checkout@v4 instead of actions/checkout@v3 #884 (misl6)
  • Update sdl2 deps to reflect the same targeted in kivy/kivy #881 (misl6)
  • Make doc structure consistent and up-to-date #879 (Julian-O)
  • Create no-response #878 (Julian-O)
  • Support Section Updated issue #872 resolved #876 (seharbat00l)
  • Install kivy-ios via pip during tests, so dependencies are automatically managed #871 (misl6)
  • Update python3 recipe to 3.11.6 #870 (misl6)
  • Do not use full path for system libraries and frameworks in .xcodeproj #867 (misl6)
  • Fix for upstream issues with compiler path #866 (tcaduser)
  • update to matplotlib 3.7.2 #861 (tcaduser)
  • update for recent iOS platform changes #859 (tcaduser)
  • matplotlib recipe #858 (tcaduser)
  • Bump numpy version to 1.24.4 #856 (misl6)
  • Support ARM64 Simulator + Introduce build platform concept + Introduce xcframework #778 (misl6)

v2023.08.24

Full Changelog

Fixed bugs:

  • ld: 407 duplicate symbols for architecture arm64 #787

Closed issues:

  • please delete #846
  • Label and MDLabel don't work correctly on iOS #845
  • ImportError: dynamic module does not define module export function (PyInit__bcrypt) #841
  • Build failure #838
  • Custom recipes just like p4a #837
  • pandas recipe #836
  • Build numpy: '['/kivy/dist/hostpython3/bin/python', '-m', 'cython', '-3', '--fast-fail', '-o', '_philox.c', '_philox.pyx']' returned non-zero exit status 1.' #835
  • ios.c not found when building ios for kivy #833
  • Imvaild symlink #825
  • dynamic module does not define module export function (PyInit__multiarray_umath) #822
  • Toolchain build openssl not working #819
  • OSError: codec configuration error when reading image file #818
  • Command PhaseScriptExecution failed with a nonzero exit code #817
  • We discovered that the content didn’t load after launched. #816
  • Asset validation failed Invalid bundle structure. The “soccer.app/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-darwin.so” binary file is not permitted. #815
  • Asset validation failed Invalid Bundle Structure for libnpyrandom.a and libnpymath.a #814
  • kivy-ios Not found '_SHA256.so' #813
  • The toggling of the 'readonly' attribute (True/False) for the MDTextField is not functioning as expected in the xcode build #811
  • libpng recipe won't build #808
  • build error in Python3.8 #796

Merged pull requests:

  • Use a pinned version of Cython for now, as most of the recipes are incompatible with Cython==3.x.x #844 (misl6)
  • Remove Unused Dependency: requests #840 (gdrosos)
  • Fix download from sourceforge (and possibly many others) #830 (misl6)
  • Now Github Actions provides python3 via setup-python also for Apple Silicon macs #829 (misl6)
  • Bump Kivy version to 2.2.1 #828 (misl6)
  • Update libpng recipe and build SDL2_ttf vendored freetype with png support, so can render colored emoji #827 (misl6)
  • SDL_ttf: Hide internal symbols via single-object prelink #820 (misl6)
  • Update zbarlight recipe to 3.0, refactor #805 (Cheaterman)
  • Refactor biglink ; add extra assertions to help debug failures #804 (Cheaterman)

v2023.05.21

Full Changelog

Closed issues:

  • Issue adding Pillow to Kivy-ios build #807
  • I have created and app using kivy. it works in python through VS code but when I run through Xcode it gets no module named "application name" in main.py, line number 4 error and close the app in simulator. I tried all the ways in previous discussions but still not working. is there any other way I can try? #800
  • Kivy ios save an screen as an image to the users ios photos #799
  • Command PhaseScriptExecution failed with a nonzero exit code #793
  • ImportError: PyInit_interval #788
  • Recipe for the cryptography module #786
  • Pyaudio #785
  • Check #783 #784
  • Command PhaseScriptExecution failed with a nonzero exit code #783
  • Cocoapods import not found when kivy is installed #777
  • sh.CommandNotFound: /Users/suhaan/Documents/weatherappkivy/dist/hostpython3/bin/pip3 #775
  • check #773 issue #774
  • Asset validation failed Invalid bundle structure. The “theweatherreporterapp.app/lib/python3.9/site-packages/charset_normalizer/md__mypyc.cpython-39-darwin.so” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle (ID: eb2a7a62-515c-459b-a222-5330e609551d) #773
  • dynamic module does not define module export function (PyInit_md) error #772
  • Toolchain 407 duplicate error of arm64 #771
  • bash: toolchain: command not found #770
  • when running kivyforge build python3 kivy pillow with arch arm64 with apple sicion getting list index out of range #769
  • Error compiling SDL_Image #763
  • ImportError: dynamic module does not define module export function (PyInit_PIL__imaging) #711
  • Build python3 with mmap module #659

Merged pull requests:

  • Fix AnyIO (and asks) support #803 (Cheaterman)
  • Update Kivy recipe for 2.2.0 #802 (misl6)
  • Use --no-deps and --platform during install of recipe python deps #801 (misl6)
  • Fixes crash on ios.get_safe_area() in iOS 16 #790 (tito)
  • Update bridge.m/h to make plyer works with severals implementation #789 (tito)
  • Bump numpy version to 1.24.2 ( and fix the build on Python 3.10 ✅ ) #780 (misl6)
  • Disable SDL2 hidapi in order to avoid dependency on CoreBluetooth #779 (misl6)
  • 🎉 Python 3.10 support #768 (misl6)
  • Upgrade more GitHub Actions plus Python 3.11.1 and Cython 0.29.33 #767 (cclauss)
  • Upgrade GitHub Actions #765 (cclauss)
  • Update required Xcode version to 13 #764 (misl6)
  • Update ffmpeg/ffpyplayer versions #716 (tito)

v2023.01.29

Full Changelog

Closed issues:

  • Unknown class <BoxShadow> #758
  • toolchain pip3 install pycryptodome error #755
  • Stuck between two error codes: ImportError...(PyInit__imaging) and 407 duplicate symbols #752
  • Toolchain Build error - commandnotfound python #748
  • No module named 'xxx' #744
  • dynamic module does not define module export function (PyInit__sqlite3) #743
  • [BUG] Kivy Ios on mac os monterey arm64 simulator #740
  • PhaseScriptExecution failed when hitting Play in Xcode #739
  • toolchain.py build python3 openssl kivy not completing after upgrading macOS Monterey 12.5 #738
  • Proposal of versioning numbering method change for the next release #729
  • xcode archive failure- missing signing identifier ... site-packages/google/..._api_implementation.cpython-39-darwin.so #697

Merged pull requests:

  • Update pbxproj pinned version in requirements.txt #757 (misl6)
  • Add default Launch Screen storyboard #756 (misl6)
  • Flake8 does not support inline comments for any of the keys #754 (misl6)
  • Use Python 3.10 for tests #750 (misl6)
  • Update SDL2, SDL2_ttf, SDL2_mixer, SDL2_image to latest releases #749 (misl6)
  • :rotating_light: Minor linting fixes/updates #747 (AndreMiras)
  • Fixes some E275 - assert is a keyword #746 (misl6)
  • Use sys.executable instead of sh.python #745 (misl6)
  • Multiple fixes to README #737 (rshah713)
  • Fix typo in README #736 (rshah713)
  • Disable configuration of i386-Simulator for libffi #761 (misl6

[2022.07.19] - 2022-07-19

Added

Fixed

  • Updated shebangs to target python3. Bumped libffi version to 3.4.2 #688 (misl6)
  • Fixes libffi 3.4.2 not linking correctly (missing symbols) on iOS Simulator #695 (misl6)
  • Update dpi for latest iPhone models #707 (akshayaurora)
  • Our self-hosted Apple Silicon runner now has been migrated to actions/runner v2.292.0 which now supports arm64 natively #710 (misl6)
  • Update xcassets to include mandatory icons in latest xcode #717 (tito)
  • Bump cookiecutter from 1.7.2 to 2.1.1 #714 (dependabot)
  • Use shutil.which instead of sh.which #735 (misl6)

[2022.07.19] - 2022-07-19

Added

Fixed

  • Updated shebangs to target python3. Bumped libffi version to 3.4.2 #688 (misl6)
  • Fixes libffi 3.4.2 not linking correctly (missing symbols) on iOS Simulator #695 (misl6)
  • Update dpi for latest iPhone models #707 (akshayaurora)
  • Our self-hosted Apple Silicon runner now has been migrated to actions/runner v2.292.0 which now supports arm64 natively #710 (misl6)
  • Update xcassets to include mandatory icons in latest xcode #717 (tito)
  • Bump cookiecutter from 1.7.2 to 2.1.1 #714 (dependabot)
  • Use shutil.which instead of sh.which #735 (misl6)

[1.3.0] - 2022-03-13

Added

  • Add native support for Apple Silicon #660 (misl6)
  • Makes _bz2 module available #658 (misl6)
  • enable sdl2 image provider to allow image to be saved from widget #656 (brentpicasso)
  • Add MANIFEST.in #651 (misl6)
  • Add official OSI name in the license metadata #639 (ecederstrand)
  • Enables buildozer to automatically install dependencies #638 (meow464)
  • Add bitcode support #605 (kewlbear)
  • Add the ability to clean a custom recipe, use the custom recipe instead of the bundled one, if available. #602 (misl6)
  • Add an error to FAQ #586 (mvasilkov)

Removed

  • Remove NO_CONFIG and NO_FILE_LOG #670 (akshayaurora)
  • Remove i386 and armv7 references from docs and code. Both are unsupported since a while. #610 (misl6)

Fixed

[1.2.1] - 2021-01-26

Fixed

  • Fixes hostpython3 recipe on MacOS 11.1 BigSur #581 (misl6)
  • Fixes iOS Simulator on latest Xcode #571 (misl6)
  • Fixes Pillow build on Xcode 12.2 #579 (misl6)
  • Cookiecutter: Fixes header and library search paths on Release #582 (misl6)

[1.2.0] - 2020-12-26

Added

Removed

  • Remove distribute recipe #507 (Zen-CODE)
  • Remove PY2 legacy blocks from coockiecutter main.m #522 (Zen-CODE)
  • Remove outdated pil and pkgresources recipes #524 (Zen-CODE)
  • Removed broken packages listing for non-existing packages #525 (Zen-CODE)

Fixed

[1.1.2] - 2020-05-11

Fixed

[1.1.1] - 2020-05-11

Added

Removed

Fixed

[1.1.0] - 2020-05-05

Added

Fixed

Changed

[1.0.0] - 2020-05-02

  • Initial release