iOS
- Add the following lines to the start of your Podfile (
ios/Podfile
).
If a custom source
is defined we also need to define the default source (which is implicit if no source is specified), explicitly:
source 'https://github.com/hyperledger/indy-sdk-react-native'
source 'https://cdn.cocoapods.org'
- Install the Latest CocoaPods dependencies:
cd ios
pod install
pod update Indy
Configure Bitcode to
no
in both the project and targetsSet
Build Libraries for Distribution
toyes
in both the project and targets
This is required due to mismatching Swift versions between the Indy SDK and the application, as described in this StackOverflow Answer
iOS Simulators are currently not supported and should be disabled
Hermes
Hermes is recommended on iOS for application performance improvements
React Native >= 0.70.0
Hermes is enabled by default
React Native 0.64.0 - 0.69.5
Add or adjust the following in the ios/Podfile
to:
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
# By default, Hermes is disabled on Old Architecture, and enabled on New Architecture.
# You can enable/disable it manually by replacing `flags[:hermes_enabled]` with `true` or `false`.
- :hermes_enabled => flags[:hermes_enabled],
+ :hermes_enabled => true
)
React Native <= 0.64.0
Hermes is not required for older versions of React Native