You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.4 KiB
69 lines
2.4 KiB
require Pod::Executable.execute_command('node', ['-p', |
|
'require.resolve( |
|
"react-native/scripts/react_native_pods.rb", |
|
{paths: [process.argv[1]]}, |
|
)', __dir__]).strip |
|
|
|
platform :ios, min_ios_version_supported |
|
prepare_react_native_project! |
|
|
|
|
|
linkage = ENV['USE_FRAMEWORKS'] |
|
if linkage != nil |
|
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green |
|
use_frameworks! :linkage => linkage.to_sym |
|
end |
|
|
|
target 'taskme2' do |
|
pod 'ffmpeg-kit-react-native', :subspecs => ['audio'], :podspec => '../node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec' |
|
config = use_native_modules! |
|
|
|
pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage' |
|
pod 'react-native-config/Extension', :path => '../node_modules/react-native-config' |
|
pod 'RNCallKeep', :path => '../node_modules/react-native-callkeep' |
|
pod 'ReactNativeIncallManager', :path => '../node_modules/react-native-incall-manager' |
|
|
|
flags = get_default_flags() |
|
|
|
pod 'Firebase', :modular_headers => true |
|
pod 'FirebaseCoreInternal', :modular_headers => true |
|
pod 'GoogleUtilities', :modular_headers => true |
|
pod 'FirebaseCore', :modular_headers => true |
|
|
|
use_react_native!( |
|
:path => config[:reactNativePath], |
|
:hermes_enabled => flags[:hermes_enabled], |
|
:fabric_enabled => flags[:fabric_enabled], |
|
:app_path => "#{Pod::Config.instance.installation_root}/.." |
|
) |
|
|
|
target 'taskme2Tests' do |
|
inherit! :complete |
|
# Pods for testing |
|
end |
|
|
|
post_install do |installer| |
|
react_native_post_install(installer, |
|
config[:reactNativePath], |
|
:mac_catalyst_enabled => false |
|
) |
|
__apply_Xcode_12_5_M1_post_install_workaround(installer) |
|
|
|
installer.pods_project.build_configurations.each do |config| |
|
installer.pods_project.targets.each do |target| |
|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" |
|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' |
|
end |
|
end |
|
|
|
existing_flags = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)'] |
|
existing_flags << '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' |
|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = existing_flags |
|
end |
|
end |
|
end |
|
|
|
|
|
target 'OneSignalNotificationServiceExtension' do |
|
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0' |
|
end |