react-native-theme-control icon indicating copy to clipboard operation
react-native-theme-control copied to clipboard

Breaks builds with new architecture (at least on iOS)

Open Nantris opened this issue 1 year ago • 1 comments

I'm sorry, I don't have the error message handy at the moment but I wanted to at least report this.

Not sure if it affects Android.

Nantris avatar Jan 06 '25 22:01 Nantris

Have a similar issue building an iOS app, hope this error log will help:

expo: 52.0.37
react-native: 0.77.1

useFrameworks: 'static'
deploymentTarget: 16.1
newArchEnabled: true
› Compiling react-native Pods/React-RCTAppDelegate » RCTAppDelegate.mm

❌  (node_modules/@vonovak/react-native-theme-control/ios/RNThemeControl.h:3:11)

  1 | 
  2 | #ifdef RCT_NEW_ARCH_ENABLED
> 3 |   #import <RNThemeControlCGen/RNThemeControlCGen.h>
    |           ^ 'RNThemeControlCGen/RNThemeControlCGen.h' file not found
  4 | #else
  5 |   #import <React/RCTBridgeModule.h>
  6 | #endif

› Preparing react-native Pods/React-RCTAppDelegate » React-RCTAppDelegate-Info.plist

ievolution avatar Feb 26 '25 10:02 ievolution

:tada: This issue has been resolved in version 7.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Jul 06 '25 16:07 github-actions[bot]