-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Steps to repro:
- Init a new expo project
npx expo prebuild
to expose native code- Install react-native-mparticle
yarn add react-native-mparticle
- Add mParticle to Podfile
pod 'mParticle-Apple-SDK', '~> 8'
npx expo run:ios
to run in iOS simulator
This leads to a buildtime error:
› Planning build
› Compiling Pods/mParticle-Apple-SDK » MPUploadBuilder.mm
› Compiling Pods/mParticle-Apple-SDK » MPStateMachine.mm
› Compiling Pods/mParticle-Apple-SDK » MPSurrogateAppDelegate.m
› Compiling Pods/mParticle-Apple-SDK » MPTransactionAttributes.m
❌ (node_modules/expo-modules-core/ios/Swift.h:5:9)
3 | // The generated swift header may depend on some Objective-C declarations,
4 | // adding dependency imports here to prevent declarations not found errors.
> 5 | #import <ExpoModulesCore/EXDefines.h>
| ^ 'ExpoModulesCore/EXDefines.h' file not found
6 | #import <ExpoModulesCore/RCTComponentData+Privates.h>
7 |
8 | // When `use_frameworks!` is used, the generated Swift header is inside ExpoModulesCore module.
› Compiling Pods/mParticle-Apple-SDK » MPSearchAdsAttribution.m
› Compiling Pods/mParticle-Apple-SDK » MPSession.m
› Compiling Pods/mParticle-Apple-SDK » MPResponseConfig.m
› Compiling Pods/mParticle-Apple-SDK » MPPromotion.mm
› Compiling Pods/mParticle-Apple-SDK » MPResponseEvents.mm
› Compiling Pods/mParticle-Apple-SDK » MPProduct.mm
Am I missing a step?
Metadata
Metadata
Assignees
Labels
No labels