Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yboussadia opened this issue Aug 29, 2024 · 1 comment

Comments

@yboussadia
Copy link

yboussadia commented Aug 29, 2024

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

@mrehan27
Copy link

mrehan27 commented Sep 2, 2024

Hi @yboussadia. Thanks for reaching out and sharing the details. Since we've already been discussing this on support, I'll go ahead and close this issue and will continue assisting you through support ticket. Please feel free to drop any questions you may have.

Have a great day!

@mrehan27 mrehan27 closed this as completed Sep 2, 2024
@linear linear bot reopened this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants