mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-28 16:06:47 +01:00
61 lines
1.3 KiB
Ruby
61 lines
1.3 KiB
Ruby
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
platform :ios, '11.0'
|
|
|
|
pod 'Base64'
|
|
pod 'SexyTooltip',:git => 'https://github.com/ammarahm-ed/SexyTooltip.git'
|
|
pod 'MMKV'
|
|
|
|
target 'Notesnook' do
|
|
config = use_native_modules!
|
|
|
|
use_react_native!(
|
|
:path => config[:reactNativePath],
|
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
:hermes_enabled => true
|
|
)
|
|
|
|
# for share extension
|
|
target 'Make Note' do
|
|
inherit! :complete
|
|
end
|
|
|
|
target 'NotesnookTests' do
|
|
|
|
# Pods for testing
|
|
end
|
|
|
|
|
|
# Enables Flipper.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
# you should disable these next few lines.
|
|
# use_flipper!
|
|
# post_install do |installer|
|
|
# flipper_post_install(installer)
|
|
# end
|
|
end
|
|
|
|
|
|
|
|
target 'Notesnook-tvOS' do
|
|
# Pods for Notesnook-tvOS
|
|
|
|
target 'Notesnook-tvOSTests' do
|
|
inherit! :search_paths
|
|
# Pods for testing
|
|
end
|
|
end
|
|
|
|
|
|
post_install do |installer|
|
|
react_native_post_install(installer)
|
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
|
|
end
|
|
end
|
|
end
|