multiple EAS build migration issues

managed workflow

lwhite@LarrysMBP16 aurus-lab-app % eas -v
eas-cli/0.52.0 darwin-x64 node-v16.15.0

“react-native”: “0.68.2”,

This is the error set I am seeing, I think I have migrated and updated everything. The last clean build I had was on SDK 39.

› Compiling @unimodules/react-native-adapter Pods/UMReactNativeAdapter » UMReactNativeEventEmitter.m

411

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:11:1)

   9 | 
  10 | @property (nonatomic, assign) int listenersCount;
> 11 | @property (nonatomic, weak) UMModuleRegistry *moduleRegistry;
     | ^ illegal redeclaration of property in class extension 'UMReactNativeEventEmitter' 
  12 | @property (nonatomic, strong) NSMutableDictionary<NSString *, NSNumber *> *modulesListenersCounts;
  13 | 
  14 | @end

412

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:42:45)

  40 | {
  41 |   NSMutableSet<NSString *> *eventsAccumulator = [NSMutableSet set];
> 42 |   for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
     |                                             ^ unknown receiver '_moduleRegistry'; did you mean 'UMModuleRegistry'?
  43 |     if ([exportedModule conformsToProtocol:@protocol(UMEventEmitter)]) {
  44 |       id<UMEventEmitter> eventEmitter = (id<UMEventEmitter>)exportedModule;
  45 |       [eventsAccumulator addObjectsFromArray:[eventEmitter supportedEvents]];

413

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:42:61)

  40 | {
  41 |   NSMutableSet<NSString *> *eventsAccumulator = [NSMutableSet set];
> 42 |   for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
     |                                                             ^ no known class method for selector 'getAllExportedModules'
  43 |     if ([exportedModule conformsToProtocol:@protocol(UMEventEmitter)]) {
  44 |       id<UMEventEmitter> eventEmitter = (id<UMEventEmitter>)exportedModule;
  45 |       [eventsAccumulator addObjectsFromArray:[eventEmitter supportedEvents]];

414

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:55:31)

  53 |   [self addListener:eventName];
  54 |   // Validate module
> 55 |   UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
     |                               ^ unknown receiver '_moduleRegistry'; did you mean 'UMModuleRegistry'?
  56 |   
  57 |   if (RCT_DEBUG && module == nil) {
  58 |     UMLogError(@"Module for name `%@` has not been found.", moduleName);

415

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:55:47)

  53 |   [self addListener:eventName];
  54 |   // Validate module
> 55 |   UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
     |                                               ^ no known class method for selector 'getExportedModuleForName:'
  56 |   
  57 |   if (RCT_DEBUG && module == nil) {
  58 |     UMLogError(@"Module for name `%@` has not been found.", moduleName);

416

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:91:31)

  89 |   [self removeListeners:count];
  90 |   // Validate module
> 91 |   UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
     |                               ^ unknown receiver '_moduleRegistry'; did you mean 'UMModuleRegistry'?
  92 |   
  93 |   if (RCT_DEBUG && module == nil) {
  94 |     UMLogError(@"Module for name `%@` has not been found.", moduleName);

417

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:91:47)

  89 |   [self removeListeners:count];
  90 |   // Validate module
> 91 |   UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
     |                                               ^ no known class method for selector 'getExportedModuleForName:'
  92 |   
  93 |   if (RCT_DEBUG && module == nil) {
  94 |     UMLogError(@"Module for name `%@` has not been found.", moduleName);

418

❌  (node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:142:3)

  140 | - (void)setModuleRegistry:(UMModuleRegistry *)moduleRegistry
  141 | {
> 142 |   _moduleRegistry = moduleRegistry;
      |   ^ use of undeclared identifier '_moduleRegistry'; did you mean 'moduleRegistry'?
  143 | }
  144 | 
  145 | @end

419

› Compiling @unimodules/react-native-adapter Pods/UMReactNativeAdapter » UMReactNativeAdapter.m

420

▸ ** ARCHIVE FAILED **

and android

Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.

50[stderr]

FAILURE: Build completed with 2 failures.

51[stderr]

1: Task failed with an exception.

52[stderr]

-----------

53[stderr]

* Where:

54[stderr]

Build file '/home/expo/workingdir/build/node_modules/@unimodules/core/android/build.gradle' line: 2

55[stderr]

* What went wrong:

56[stderr]

A problem occurred evaluating project ':unimodules-core'.

57[stderr]

> Plugin with id 'maven' not found.

58[stderr]

* Try:

59[stderr]

> Run with --stacktrace option to get the stack trace.

60[stderr]

> Run with --info or --debug option to get more log output.

61[stderr]

> Run with --scan to get full insights.

62[stderr]

==============================================================================

63[stderr]

2: Task failed with an exception.

64[stderr]

-----------

65[stderr]

* What went wrong:

66[stderr]

A problem occurred configuring project ':expo'.

67[stderr]

> compileSdkVersion is not specified. Please add it to build.gradle

68[stderr]

* Try:

69[stderr]

> Run with --stacktrace option to get the stack trace.

70[stderr]

> Run with --info or --debug option to get more log output.

71[stderr]

> Run with --scan to get full insights.

72[stderr]

==============================================================================

73[stderr]

* Get more help at https://help.gradle.org

74[stderr]

BUILD FAILED in 2m 17s

75

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

Hi @pelicaneng! It seems that you might be using a very old version of any of the Expo modules. One which is not compatible with SDK 43/44/45. Unimodules are deprecated since SDK 43, using it will likely cause exactly these errors.

You could let us try auto-fix it for you, by running $ expo doctor --fix-dependencies. If it’s still errors on similar issues, try to find out why unimodules are still installed with:

  • $ yarn why @unimodules/core
  • $ npm list @unimodules/core

Hope that helps!

1 Like

So I had tried this earlier and now I get new behaviour -

:heavy_check_mark: Found all copies of expo-modules-autolinking
Expected package expo-modules-autolinking@~0.8.1
Found invalid:
expo-modules-autolinking@0.7.1
(for more info, run: npm why expo-modules-autolinking)
:heavy_check_mark: Found all copies of @expo/config-plugins
Expected package @expo/config-plugins@^4.1.0
Found invalid:
@expo/config-plugins@1.0.20
(for more info, run: npm why @expo/config-plugins)
:heavy_check_mark: Found all copies of @expo/prebuild-config
All copies of @expo/prebuild-config satisfy ^4.0.0

yarn why v1.22.18
[1/4] :thinking: Why do we have the module “@unimodules/core”…?
[2/4] :truck: Initialising dependency graph…
[3/4] :mag: Finding dependency…
[4/4] :aerial_tramway: Calculating file sizes…
=> Found “@unimodules/core@6.0.0”
info Reasons this module exists

  • “react-native-unimodules” depends on it
  • Hoisted from “react-native-unimodules#@unimodules#core”
    info Disk size without dependencies: “480KB”
    info Disk size with unique dependencies: “504KB”
    info Disk size with transitive dependencies: “504KB”
    info Number of shared dependencies: 1
    :sparkles: Done in 0.63s.

lwhite@LarrysMBP16 aurus-lab-app % npm list @unimodules/core
aurus-lab-app@1.0.0 /Users/lwhite/Documents/GitHub/aurus-lab-app
└─┬ react-native-unimodules@0.12.0
└── @unimodules/core@6.0.0

npm notice
npm notice New minor version of npm available! 8.5.5 → 8.11.0
npm notice Changelog: Release v8.11.0 · npm/cli · GitHub
npm notice Run npm install -g npm@8.11.0 to update!
npm notice

Got iOS working by simply removing reactnative unimodules from package.json.

So :wink: Android is still failing but with a new Gradle error -

[stderr]

* What went wrong:

1255[stderr]

Execution failed for task ':app:mergeDexRelease'.

1256[stderr]

> A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate

1257[stderr]

   > There was a failure while executing work items

1258[stderr]

      > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction

1259[stderr]

         > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 

1260[stderr]

           Type com.reactnativecommunity.picker.BuildConfig is defined multiple times: /home/expo/workingdir/build/node_modules/@react-native-community/picker/android/build/.transforms/14a0b16642ded6b6d21a9c3eb77062e1/transformed/classes/classes.dex, /home/expo/workingdir/build/node_modules/@react-native-picker/picker/android/build/.transforms/7ef68947ea214c5c6462918967b7ba28/transformed/classes/classes.dex

1261[stderr]

           Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.

1262[stderr]

* Try:

1263[stderr]

> Run with --stacktrace option to get the stack trace.

1264[stderr]

> Run with --info or --debug option to get more log output.

1265[stderr]

> Run with --scan to get full insights.

1266[stderr]

* Get more help at https://help.gradle.org

1267[stderr]

BUILD FAILED in 11m 12s

1268

Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.

And while the IOS build succeeded I still can’t run it locally, I still have a whole slew of errors.

lwhite@LarrysMBP16 aurus-lab-app % expo run:ios
:heavy_check_mark: Installed pods and initialized Xcode workspace.
› Planning build
› Compiling react-native Pods/ReactCommon » TurboModuleUtils.cpp
› Compiling react-native-webview Pods/react-native-webview » RNCWebViewManager.m

:warning: (/Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-webview.build/Objects-normal/x86_64/RNCWebViewManager.dia:1:1)

CompileC /Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-webview.build/Objects-normal/x86_64/RNCWebView.o…
^ Could not read serialized diagnostics file: error(in target ‘react-native-webview’ from project ‘Pods’)
(warning truncated)

:warning: (/Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-webview.build/Objects-normal/x86_64/RNCWebView.dia:1:1)

CompileC /Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/UMReactNativeAdapter.build/Objects-normal/x86_64/UMModu…
^ Could not read serialized diagnostics file: error(in target ‘react-native-webview’ from project ‘Pods’)
(warning truncated)

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMModuleRegistryAdapter/UMModuleRegistryHolderReactModule.m:7:1)

5 | @interface UMModuleRegistryHolderReactModule ()
6 |

7 | @property (nonatomic, weak) UMModuleRegistry *moduleRegistry;
| ^ illegal redeclaration of property in class extension ‘UMModuleRegistryHolderReactModule’
8 |
9 | @end
10 |

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMModuleRegistryAdapter/UMModuleRegistryHolderReactModule.m:16:5)

14 | {
15 | if (self = [super init]) {

16 | _moduleRegistry = moduleRegistry;
| ^ use of undeclared identifier ‘_moduleRegistry’; did you mean ‘moduleRegistry’?
17 | }
18 | return self;
19 | }

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMModuleRegistryAdapter/UMModuleRegistryHolderReactModule.m:23:10)

21 | - (UMModuleRegistry *)moduleRegistry
22 | {

23 | return _moduleRegistry;
| ^ use of undeclared identifier ‘_moduleRegistry’
24 | }
25 |
26 | + (NSString *)moduleName {

› Compiling react-native Pods/ReactCommon » TurboModulePerfLogger.cpp

:warning: (/Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModulePerfLogger.dia:1:1)

CompileC /Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/TurboModule.o /Us…
^ Could not read serialized diagnostics file: error(in target ‘ReactCommon’ from project ‘Pods’)
(warning truncated)
› Compiling react-native Pods/ReactCommon » TurboModuleBinding.cpp
› Compiling react-native Pods/ReactCommon » TurboCxxModule.cpp
› Compiling react-native Pods/ReactCommon » RCTTurboModuleManager.mm
› Compiling react-native Pods/ReactCommon » RCTTurboModule.mm
› Compiling react-native Pods/ReactCommon » RCTBlockGuard.mm
› Compiling react-native Pods/ReactCommon » LongLivedObject.cpp
› Compiling @unimodules/react-native-adapter Pods/UMReactNativeAdapter » UMReactNativeEventEmitter.m

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:42:45)

40 | {
41 | NSMutableSet<NSString *> *eventsAccumulator = [NSMutableSet set];

42 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ unknown receiver ‘_moduleRegistry’; did you mean ‘UMModuleRegistry’?
43 | if ([exportedModule conformsToProtocol:@protocol(UMEventEmitter)]) {
44 | id eventEmitter = (id)exportedModule;
45 | [eventsAccumulator addObjectsFromArray:[eventEmitter supportedEvents]];

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:42:61)

40 | {
41 | NSMutableSet<NSString *> *eventsAccumulator = [NSMutableSet set];

42 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ no known class method for selector ‘getAllExportedModules’
43 | if ([exportedModule conformsToProtocol:@protocol(UMEventEmitter)]) {
44 | id eventEmitter = (id)exportedModule;
45 | [eventsAccumulator addObjectsFromArray:[eventEmitter supportedEvents]];

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:55:31)

53 | [self addListener:eventName];
54 | // Validate module

55 | UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
| ^ unknown receiver ‘_moduleRegistry’; did you mean ‘UMModuleRegistry’?
56 |
57 | if (RCT_DEBUG && module == nil) {
58 | UMLogError(@“Module for name %@ has not been found.”, moduleName);

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/Services/UMReactNativeEventEmitter.m:55:47)

53 | [self addListener:eventName];
54 | // Validate module

55 | UMExportedModule *module = [_moduleRegistry getExportedModuleForName:moduleName];
| ^ no known class method for selector ‘getExportedModuleForName:’
56 |
57 | if (RCT_DEBUG && module == nil) {
58 | UMLogError(@“Module for name %@ has not been found.”, moduleName);

:warning: (/Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/UMReactNativeAdapter.build/Objects-normal/x86_64/UMReactNativeEventEmitter.dia:1:1)

CompileC /Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/UMReactNativeAdapter.build/Objects-normal/x86_64/UMNativeModulesProxy…
^ Could not read serialized diagnostics file: error(in target ‘UMReactNativeAdapter’ from project ‘Pods’)
(warning truncated)

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:22:1)

20 |
21 | @property (nonatomic, strong) NSRegularExpression *regexp;

22 | @property (nonatomic, strong) UMModuleRegistry *moduleRegistry;
| ^ illegal redeclaration of property in class extension ‘UMNativeModulesProxy’
23 | @property (nonatomic, strong) NSMutableDictionary<const NSString *, NSMutableDictionary<NSString *, NSNumber *> *> *exportedMethodsKeys;
24 | @property (nonatomic, strong) NSMutableDictionary<const NSString *, NSMutableDictionary<NSNumber *, NSString *> *> *exportedMethodsReverseKeys;
25 |

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:33:5)

31 | {
32 | if (self = [super init]) {

33 | _moduleRegistry = moduleRegistry;
| ^ use of undeclared identifier ‘_moduleRegistry’; did you mean ‘moduleRegistry’?
34 | _exportedMethodsKeys = [NSMutableDictionary dictionary];
35 | _exportedMethodsReverseKeys = [NSMutableDictionary dictionary];
36 | }

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:56:45)

54 | NSMutableDictionary <NSString *, id> *exportedModulesConstants = [NSMutableDictionary dictionary];
55 | // Grab all the constants exported by modules

56 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ unknown receiver ‘_moduleRegistry’; did you mean ‘UMModuleRegistry’?
57 | @try {
58 | exportedModulesConstants[[[exportedModule class] exportedModuleName]] = [exportedModule constantsToExport] ?: [NSNull null];
59 | } @catch (NSException *exception) {

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:56:61)

54 | NSMutableDictionary <NSString *, id> *exportedModulesConstants = [NSMutableDictionary dictionary];
55 | // Grab all the constants exported by modules

56 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ no known class method for selector ‘getAllExportedModules’
57 | @try {
58 | exportedModulesConstants[[[exportedModule class] exportedModuleName]] = [exportedModule constantsToExport] ?: [NSNull null];
59 | } @catch (NSException *exception) {

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:66:45)

64 | // Also add exportedMethodsNames
65 | NSMutableDictionary<const NSString *, NSMutableArray<NSMutableDictionary<const NSString *, id> *> *> *exportedMethodsNamesAccumulator = [NSMutableDictionary dictionary];

66 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ unknown receiver ‘_moduleRegistry’; did you mean ‘UMModuleRegistry’?
67 | const NSString *exportedModuleName = [[exportedModule class] exportedModuleName];
68 | exportedMethodsNamesAccumulator[exportedModuleName] = [NSMutableArray array];
69 | [[exportedModule getExportedMethods] enumerateKeysAndObjectsUsingBlock:^(NSString * _Nonnull exportedName, NSString * _Nonnull selectorName, BOOL * _Nonnull stop) {

:x: (/Users/lwhite/Documents/GitHub/aurus-lab-app/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMNativeModulesProxy/UMNativeModulesProxy.m:66:61)

64 | // Also add exportedMethodsNames
65 | NSMutableDictionary<const NSString *, NSMutableArray<NSMutableDictionary<const NSString *, id> *> *> *exportedMethodsNamesAccumulator = [NSMutableDictionary dictionary];

66 | for (UMExportedModule *exportedModule in [_moduleRegistry getAllExportedModules]) {
| ^ no known class method for selector ‘getAllExportedModules’
67 | const NSString *exportedModuleName = [[exportedModule class] exportedModuleName];
68 | exportedMethodsNamesAccumulator[exportedModuleName] = [NSMutableArray array];
69 | [[exportedModule getExportedMethods] enumerateKeysAndObjectsUsingBlock:^(NSString * _Nonnull exportedName, NSString * _Nonnull selectorName, BOOL * _Nonnull stop) {

:warning: (/Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/UMReactNativeAdapter.build/Objects-normal/x86_64/UMNativeModulesProxy.dia:1:1)

CompileC /Users/lwhite/Library/Developer/Xcode/DerivedData/myZRL-gfzfqezfnxakcycsctxqxdeqnxhs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-perflogger.build/Objects-normal/x86_64/BridgeNativeModulePe…
^ Could not read serialized diagnostics file: error(in target ‘UMReactNativeAdapter’ from project ‘Pods’)
(warning truncated)
› Compiling react-native Pods/React-logger » react_native_log.cpp

› 13 error(s), and 5 warning(s)

Do you have ios and android directories in your project? If so, you are using the bare workflow.

I see you’re running expo run:ios (and probably expo run:android). This has the side effect of generating those native android and ios directories.

Please see the following: