Closed christophe-chausseray closed 1 year ago
Hi @christophe-chausseray. Apologies for the delay. I was unable to reproduce the issue with the above steps. If you look in your Podfile.properties.json
, do you see "ios.useFrameworks": "static"
? Our plugin adds that property to prevent this issue so if something in your project overwrites that value, it could cause it to pop up again.
In the near future, the React Native SDK will use the Braze Swift SDK, which should prevent this error from occurring and remove the need for that property.
Indeed, I saw that on our project which is using Expo 46.
We got this error only when we added the flipper plugin to use flipper. By default, this plugin was commenting this line use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
in the podfile.
I had to set the parameter stripUseFrameworks: false
explicitly in the flipper plugin configuration to make the installation of our pods working.
Thanks for your answer. Sorry about this issue, the problem was not directly link to your plugin in fact. So, I think it can be closed. :)
Btw, I don't know if you already checked it but I created another issue to be able to use your plugin in Expo 47. Do you think that it something you are planning in a near future @wesleyorbin as well ?
Which Platforms?
iOS
Which React Native Version?
0.70.5
Which @braze/expo-plugin version?
0.4.0
Which react-native-appboy-sdk SDK version?
1.40.0
Repro Rate
100% of the time
Steps To Reproduce
Example:
pod install
in theios
directory. Commandpod install
failed.cd ios/ && pod install
to try to install the iOS dependencies manually and check if I can get more details on the error.Expected Behavior
It should install iOS pods without errors.
Actual Incorrect Behavior
Instead, I get this error on the
pod install
Verbose Logs
Additional Information
If we don't want to modify the Podfile of our app (as we are in managed workflow), it looks like that something needs to be added in the podspec of the
react-native-appboy-sdk
(https://blog.cocoapods.org/CocoaPods-1.5.0/)