2.0.4 • Published 3 years ago
react-native-podfix v2.0.4
react-native-podfix
A simple package that uses postinstall to put a small script in your
Podfile to help with a framework linking issue in React Native.
Installation
npm install --save-dev react-native-podfixor
yarn add --dev react-native-podfixUsage
This package will automatically run a small script to add a
post_install hook to your Podfile that will fix an issue
with linking frameworks in React Native.
If for any reason you need to run the script manually, you can do so by running:
yarn react-native-podfixIf you have other pods that need to be set as static_frameworks,
you can add them to the Podfix.rb created by this script,
next to your Podfile.
Library authors
If you want your native library to have it's pods fixed, add this package as a dependency, and add a postinstall to it, like so:
{
"scripts": {
"postinstall": "react-native-podfix <pod1_name> <pod2_name> ..."
}
}This will add your pods to the Podfix.rb created by this script,
next to the app project's Podfile.