Was created react-native-charts-sci wrapper for Scichart with the structure – [Screenshot _1]. And now need to publish this package to npm private repo, but Scichart.framework folder is vast (~100 MB) and its connect in current podspec file – [Screenshot_2] like a local directory:
spec.public_header_files = “ios/SciChart.frameworks/Headers/*”
spec.vendored_frameworks = “ios/SciChart.framework”
Need to connect Scichart.framework in wrapper library like subspec that it could be taken during the installation process from vendor’s podspec repo: https://github.com/ABTSoftware/PodSpecs/tree/master/SciChart. The goal is to decrease of wrapper library folder size that would be possible to publish it to npm repo.
After adding Scichart.framework like subspec – [Screenshot_4] to podspec, get the errors after pod install – [Screenshot_3]:
– ERROR | [iOS] attributes: Can’t set version
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set authors
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set license
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set homepage
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set source
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set summary
attribute for subspecs (in react-native-charts-sci/SciChart
).
– ERROR | [iOS] attributes: Can’t set documentation_url
attribute for subspecs (in react-native-charts-sci/SciChart
).
Can you tell me please is it possible to get Scichart.framework from vendor’s podspec repo: https://github.com/ABTSoftware/PodSpecs/tree/master/SciChart and connect it like a subspec in podspec file? Need to create LICENSE.txt with the licence and write the pass of it in podspec file? Can you provide some examples with the correct way to do it? Why get this errors? What’s wrong with the current framework connection?
- Alexander Kishchak asked 2 years ago
- last edited 2 years ago
- You must login to post comments
Please login first to submit.