Fix iOS IPA CI failure: generate PPC recompiled sources before iOS configure - #3
Merged
Merged
Conversation
Co-authored-by: JMillz269 <24706996+JMillz269@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job
Fix iOS IPA CI failure: generate PPC recompiled sources before iOS configure
Sep 2, 2026
JMillz269
marked this pull request as ready for review
September 2, 2026 21:31
JMillz269
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Configure iOS build with CMake" step failed with
CMake Error ... Cannot find source file: UnleashedRecompLib/ppc/ppc_config.hbecause the iOS build path never generated its required sources.Root cause
UnleashedRecompLib/CMakeLists.txtsetsUNLEASHED_RECOMP_USE_PREGENERATED_RECOMP=ONfor iOS, skipping theXenonRecomp/XenosRecompcustom commands that produceppc/*andshader/shader_cache.cpp.ppc_*) and expected to be pre-generated by a prior host build.UnleashedRecompShadersandUnleashedRecompResources, never triggering PPC source generation — so the iOS configure step found nothing to compile against.Changes
UnleashedRecompLib/CMakeLists.txt: added anUnleashedRecompPPCcustom target that depends only on the generated PPC/shader source files (mirrors the existingUnleashedRecompShaders/UnleashedRecompResourcestargets), so the sources can be generated without compiling the full library..github/workflows/build-ios-ipa.yml: the host macOS "Generate SPIR-V headers for iOS" step now also buildsUnleashedRecompPPC, ensuring pregenerated sources exist on disk before the iOS CMake configure runs.