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
While attempting to add the AEPCore SDK to my iOS app, I encountered an issue preventing the code from compiling.
Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
Expected Behaviour
After adding AEPCore SDk and running pod install, the app should build and run successfully on iOS
Actual Behaviour
During build phase, the following error causes the build to fail: Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
Reproduce Scenario (including but not limited to)
Create a new React Native app using Expo: npx create-expo-app my-app
Install AEPCore SDK via npm: npm install @adobe/react-native-aepcore
"Prebuild" to expose iOS folder: expo prebuild --platform ios
Ensure pods installed via: cd ios && pod install
Add imports to AppDelegate.h and implementation to AppDelegate didFinishLaunchingWithOptions per README
Build and run the project via expo run:ios or via XCode
Build fails
Platform and Version
Issue occurs only for iOS. Android integration works as expected