My Xcode Bot is using an outdated version of my repo's submodules.
It builds old submodule code despite the submodule being updated to a new version in the commit history of the parent app.
- Parent repo uses submodule v1.0.
- Parent repo updates submodule to v2.0 and commits subproject commit to github.
- The "on commit" Xcode Bot is run for the new commit automatically.
- Parent app is uploaded to TestFlight.
- TestFlight build contains the correct v2.0 submodule commit (the last commit to parent repo).
- However the TestFlight build contains the outdated submodule v1.0 code.
I thought I was going crazy when my bugs were reproducible on the TestFlight build despite being "fixed" in the submodule and local builds.
It turns out Xcode Bots do not properly pull the specified submodule commit.