Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

how to add third party (.)framework as dependency for React native native module in Xcode

$
0
0

We have a SDK which depends on Alamofire and Private framework to function. Now we are trying to build a wrapper over the SDK for react native. We created native module code and added Alamofire as dependency for it through Podspec. Our private framework is not hosted anywhere. Now we want to add this private framework to react native native module as dependency. We tried adding to react native project/iOS part, but react native project complaints while building the native module about pvt_framework_headers.h not found. Private framework is added and embedded correctly. How to add external dependencies to react native module?

Podspec file:

  s.dependency "React"  # ...  # s.dependency "..."  s.dependency 'IQKeyboardManagerSwift'  s.dependency 'SwiftyJSON'  s.dependency 'SVProgressHUD'  s.dependency 'Alamofire'  s.dependency 'AFNetworking', '~> 3.0'

Any help or guidance highly appreciated.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>