Skip to content

Error Swift.h' file not found using customerio-expo-plugin when allowing pushNotification #146

Open
@yboussadia

Description

Hello, i'm facing issues with customer.io plugin configuration on our expo application, so i'm using customerio-expo-plugin and i followed the documentation pour the setup, here is two pictures of the plugin setup ( when i comment the pushNotification on ios, i don't have the error anymore )

and here is the ERROR :

(ios/Frenchfounders/AppDelegate.mm:9:9)

7 | // Add swift bridge imports
8 | #import

9 | #import
| ^ 'Frenchfounders-Swift.h' file not found
10 |
11 | #import "AppDelegate.h"
12 | #import

› 1 error(s), and 2 warning(s)

CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.

here is the plugin config in app.config.js

                'customerio-expo-plugin',
                {
                    android: {
                        googleServicesFile:
                            isDev || isStaging
                                ? './src/config/firebase/dev/google-services.json'
                                : './src/config/firebase/prod/google-services.json',
                    },
                    ios: {
                        useFrameworks: 'static',
                        pushNotification: {
                            useRichPush: true,
                            env: {
                                siteId: siteId,
                                apiKey: apiKey,
                                region: 'US',
                            },
                        },
                    },
                },
            ],

please if there is a way to help
Capture d’écran 2024-08-29 à 18 09 05 Capture d’écran 2024-08-29 à 18 07 56

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions