customerio / customerio-expo-plugin

MIT License
11 stars 9 forks source link

Issue with customer IOS on ios Expo #53

Closed Joshmatjjen closed 1 year ago

Joshmatjjen commented 1 year ago

After setting up all configuration and run Eas Build, Android work fine but IOS build failed with this error:

[!] Unable to integrate the following embedded targets with their respective host targets (a host target is a "parent" target which embeds a "child" target like a framework or extension): VendoirDev (true) and NotificationService (false) do not both set use_frameworks!.

app.config.json (config):

xtreem88 commented 1 year ago

Hi @Joshmatjjen The error indicates that your main target sets use_frameworks to static; you did this by using expo-build-properties and setting useFrameworks to static

ios: {
useFrameworks: 'static',
deploymentTarget: '13.0',
},

But customerio-expo-plugin creates a new target named NotificationService and this does not set use_frameworks to static. You need to set ios.useFrameworks to static in your customerio-expo-plugin config object to fix the error.