Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Uncomment the next line to define a global platform for your project
- # platform :ios, '9.0'
- # Uncomment the next line to define a global platform for your project
- # platform :ios, '9.0'
- target 'onesignaltest' do
- pod 'React', :path => '../node_modules/react-native', :subspecs => [
- 'Core',
- 'CxxBridge', # Include this for RN >= 0.47
- 'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
- 'RCTText',
- 'RCTNetwork',
- 'RCTWebSocket', # Needed for debugging
- 'RCTAnimation', # Needed for FlatList and animations running on native UI thread
- "tvOS"
- # Add any other subspecs you want to use in your project
- ]
- # Explicitly include Yoga if you are using RN >= 0.42.0
- pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
- # Third party deps podspec link
- pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
- pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
- pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
- pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal'
- # target 'onesignaltest-tvOSTests' do
- # inherit! :search_paths
- # # Pods for testing
- # end
- # target 'onesignaltestTests' do
- # inherit! :search_paths
- # # Pods for testing
- # end
- target 'OneSignalNotificationServiceExtension' do
- pod 'OneSignal', '>= 2.9.3', '< 3.0'
- end
- end
- post_install do |installer|
- installer.pods_project.targets.each do |target|
- if target.name == 'yoga'
- target.build_configurations.each do |config|
- config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'NO'
- config.build_settings['GCC_WARN_64_TO_32_BIT_CONVERSION'] = 'NO'
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement