我按照以下步骤进行整合:-
然后在 package.json ->
dependency {
"BlackBerry-Dynamics-for-React-Native-Base": "file:../../node_modules/BlackBerry-Dynamics-React-Native-SDK/modules/BlackBerry-Dynamics-for-React-Native-Base"
}
在构建 react-native iOS 应用程序时,我遇到了这个问题:-
error Could not find the following native modules: BbdRNBase. Did you forget to run "pod install" ?
一旦我移动到我的 iOS 文件夹并运行 pod install ,我就会面临如下问题:-
[!] Unable to find a specification for `BlackBerryDynamics` depended upon by `BbdRNBase`
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
我的反应版本是 0.64 Xcode 版本是:- 12.1