2023-01-07 09:25:40 +00: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/.pnpm/@capacitor+ios@4.6.1_@capacitor+core@4.6.1/node_modules/@capacitor/ios'
|
|
|
|
pod 'CapacitorCordova', :path => '../../node_modules/.pnpm/@capacitor+ios@4.6.1_@capacitor+core@4.6.1/node_modules/@capacitor/ios'
|
|
|
|
pod 'CapacitorApp', :path => '../../node_modules/.pnpm/@capacitor+app@4.1.1_@capacitor+core@4.6.1/node_modules/@capacitor/app'
|
|
|
|
pod 'CapacitorClipboard', :path => '../../node_modules/.pnpm/@capacitor+clipboard@4.1.0_@capacitor+core@4.6.1/node_modules/@capacitor/clipboard'
|
|
|
|
pod 'CapacitorGeolocation', :path => '../../node_modules/.pnpm/@capacitor+geolocation@4.1.0_@capacitor+core@4.6.1/node_modules/@capacitor/geolocation'
|
|
|
|
pod 'CapacitorPreferences', :path => '../../node_modules/.pnpm/@capacitor+preferences@4.0.2_@capacitor+core@4.6.1/node_modules/@capacitor/preferences'
|
2023-01-07 10:48:35 +00:00
|
|
|
pod 'CapacitorStatusBar', :path => '../../node_modules/.pnpm/@capacitor+status-bar@4.1.1_@capacitor+core@4.6.1/node_modules/@capacitor/status-bar'
|
2023-01-07 09:25:40 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
target 'App' do
|
|
|
|
capacitor_pods
|
|
|
|
# Add your Pods here
|
|
|
|
end
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
assertDeploymentTarget(installer)
|
|
|
|
end
|