You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since react-native version 0.68.1 they moved to a Appdelegate.mm file which breaks the iOS build for react-native-nordic-dfu. The error is caused by using the @import iOSDFULibrary Syntax.
The error says that the @import syntax is only allowed when the -fcxx-modules and -fmodules flags are set.
When I enable these flags the whole react-native project stops building when reaching the first AppDelegate.h, because cplusplus dependencies are not linked correctly here and react-native cannot be built way more earlier in the build.
Do you have plans on changing the syntax or is there way to patch this @import into a classic #import <Filename> syntax to prevent the need to add those cpp flags?
Since react-native version 0.68.1 they moved to a Appdelegate.mm file which breaks the iOS build for react-native-nordic-dfu. The error is caused by using the
@import iOSDFULibrary
Syntax.The error says that the
@import
syntax is only allowed when the-fcxx-modules
and-fmodules
flags are set.When I enable these flags the whole react-native project stops building when reaching the first
AppDelegate.h
, because cplusplus dependencies are not linked correctly here and react-native cannot be built way more earlier in the build.Do you have plans on changing the syntax or is there way to patch this
@import
into a classic#import <Filename>
syntax to prevent the need to add those cpp flags?See also here facebook/react-native#33692
The text was updated successfully, but these errors were encountered: