12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. platform :ios, '9.0'
  2. # If you use `use_frameworks!` but can't replace it with `use_modular_headers!`,
  3. # you can make all the dynamic frameworks turning into static libraries.
  4. # use_frameworks!
  5. # $dynamic_frameworks = []
  6. # pre_install do |installer|
  7. # installer.pod_targets.each do |pod|
  8. # if !$dynamic_frameworks.include?(pod.name)
  9. # puts "Overriding the static_framework? method for #{pod.name}"
  10. # def pod.build_type;
  11. # Pod::Target::BuildType.static_library
  12. # end
  13. # end
  14. # end
  15. # end
  16. require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  17. target 'RNPermissionsExample' do
  18. pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  19. pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  20. pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  21. pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  22. pod 'React', :path => '../node_modules/react-native/'
  23. pod 'React-Core', :path => '../node_modules/react-native/'
  24. pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  25. pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  26. pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  27. pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  28. pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  29. pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  30. pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  31. pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  32. pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  33. pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  34. pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  35. pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
  36. pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  37. pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  38. pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  39. pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  40. pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
  41. pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  42. pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  43. pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  44. pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  45. pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  46. permissions_path = '../node_modules/react-native-permissions/ios'
  47. pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral.podspec"
  48. pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars.podspec"
  49. pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
  50. pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts.podspec"
  51. pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID.podspec"
  52. pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways.podspec"
  53. pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
  54. pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"
  55. pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
  56. pod 'Permission-Motion', :path => "#{permissions_path}/Motion.podspec"
  57. pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
  58. pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
  59. pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders.podspec"
  60. # pod 'Permission-Siri', :path => "#{permissions_path}/Siri.podspec"
  61. pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition.podspec"
  62. pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit.podspec"
  63. use_native_modules!
  64. end