Skip to content

MyWheels/usercentrics-build-issue

Repository files navigation

Usercentrics build issue

The steps to get this repo were:

pnpm create expo-app usercentrics-reproduction
cd usercentrics-reproduction
npm expo install expo-dev-client
pnpm install @usercentrics/react-native-sdk

If last step (installing usercentrics SDK) is skipped, the repo works. Else the iOS build fails.

Steps to reproduce

Clone the repo and run the following commands:

pnpm install
pnpm ios

Result is a failing build, with the following error:

❌  (ios/Pods/Headers/Public/React-Fabric/react/renderer/core/EventBeat.h:10:10)

   8 | #pragma once
   9 |
> 10 | #include <atomic>
     |          ^ 'atomic' file not found
  11 | #include <functional>
  12 | #include <memory>
  13 |


❌  (ios/Pods/Headers/Public/React-Fabric/react/renderer/components/view/BaseViewEventEmitter.h:10:10)

   8 | #pragma once
   9 |
> 10 | #include <memory>
     |          ^ 'memory' file not found
  11 | #include <mutex>
  12 |
  13 | #include <react/renderer/core/LayoutMetrics.h>


❌  (ios/Pods/Headers/Public/ExpoHead/LinkPreviewNativeNavigation.h:3:9)

  1 | // Copyright 2015-present 650 Industries. All rights reserved.
  2 |
> 3 | #import <RNScreens/RNSDismissibleModalProtocol.h>
    |         ^ could not build module 'RNScreens'
  4 | #import <RNScreens/RNSTabBarController.h>
  5 |
  6 | @interface LinkPreviewNativeNavigationObjC : NSObject

    Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')


About

Expo app with @usercentrics/react-native-sdk installed, to show failing build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published