Skip to content

excludedPackages not working with new architecture and static frameworks #79

Closed

Description

@trentrand

When using excludedPackages with new architecture enabled and useFrameworks: "static",
CocoaPods still tries to compile excluded packages with codegen, causing build failures
with "file not found" errors for codegen headers.

Configuration:

  • React Native 0.81.4 (new architecture enabled)
  • expo-build-properties: useFrameworks: "static"
  • excludedPackages: ["@react-native-google-signin/google-signin", ...]

Error: 'RNGoogleSignInCGen/RNGoogleSignInCGen.h' file not found

Activity

  1. trentrand commented on Mar 11, 2026

    @trentrand
    ContributorAuthor

    Resolved by #84 (comment)

    0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions