Skip to content

Conversation

@timbaev
Copy link

@timbaev timbaev commented Sep 15, 2025

Summary

  • Add missing resource_bundle_accessor.h header file to fix compilation errors when using Tuist cache
  • The header defines the SWIFTPM_MODULE_BUNDLE macro required for Swift Package Manager resource bundle access

Problem

When running tuist cache --external-only, the build fails with:
❌ 'resource_bundle_accessor.h' file not found (in target 'YandexMapsMobileFullResources' from project
'YandexMapsMobileFull')

The Resources.m file imports resource_bundle_accessor.h but this header was missing from the
Resources/include/ directory.

Solution

Added the missing header file with proper Swift Package Manager macros to enable resource bundle access in both
Swift Package and non-Swift Package contexts.

Test plan

  • Verified tuist cache --external-only now completes successfully
  • No compilation errors when building YandexMapsMobileFullResources target

Fix build error when using Tuist cache with YandexMapsMobileFullResources target.
The Resources.m file imports resource_bundle_accessor.h which was missing from the Resources/include directory, causing compilation failures. This header defines the SWIFTPM_MODULE_BUNDLE macro required for Swift Package Manager resource bundle access.

Fixes compilation error: 'resource_bundle_accessor.h' file not found (in target 'YandexMapsMobileFullResources')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant