2022-09-29 16:23:51 +02:00
|
|
|
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
|
|
|
|
|
|
platform :ios, '13.0'
|
|
|
|
use_frameworks!
|
|
|
|
|
|
|
|
# workaround to avoid Xcode caching of Pods that requires
|
|
|
|
# Product -> Clean Build Folder after new Cordova plugins installed
|
|
|
|
# Requires CocoaPods 1.6 or newer
|
|
|
|
install! 'cocoapods', :disable_input_output_paths => true
|
|
|
|
|
|
|
|
def capacitor_pods
|
|
|
|
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
|
|
|
|
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
|
2022-10-01 11:31:23 +02:00
|
|
|
pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
|
2022-09-29 16:23:51 +02:00
|
|
|
pod 'CapacitorPushNotifications', :path => '../../node_modules/@capacitor/push-notifications'
|
|
|
|
end
|
|
|
|
|
|
|
|
target 'App' do
|
|
|
|
capacitor_pods
|
2022-09-29 16:34:00 +02:00
|
|
|
pod 'Firebase/Messaging'
|
2022-09-29 16:23:51 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
assertDeploymentTarget(installer)
|
|
|
|
end
|