2023-01-22 17:26:08 -06:00
|
|
|
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
|
|
|
|
|
|
platform :ios, '13.0'
|
2021-09-03 14:41:00 -05:00
|
|
|
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'
|
2023-01-22 17:26:08 -06:00
|
|
|
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
|
|
|
|
pod 'CapacitorDialog', :path => '../../node_modules/@capacitor/dialog'
|
|
|
|
pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
|
|
|
|
pod 'CapacitorNetwork', :path => '../../node_modules/@capacitor/network'
|
|
|
|
pod 'CapacitorPreferences', :path => '../../node_modules/@capacitor/preferences'
|
|
|
|
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
|
2022-12-10 11:35:16 -06:00
|
|
|
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
2021-09-03 14:41:00 -05:00
|
|
|
end
|
|
|
|
|
2022-09-14 20:24:27 -04:00
|
|
|
target 'Audiobookshelf' do
|
2021-09-03 14:41:00 -05:00
|
|
|
capacitor_pods
|
|
|
|
# Add your Pods here
|
2022-04-11 16:29:19 +02:00
|
|
|
|
2023-01-24 17:34:53 -05:00
|
|
|
pod 'RealmSwift', '~> 10'
|
2022-04-14 11:54:53 +02:00
|
|
|
pod 'Alamofire', '~> 5.5'
|
2021-09-03 14:41:00 -05:00
|
|
|
end
|
2023-01-22 17:26:08 -06:00
|
|
|
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
assertDeploymentTarget(installer)
|
|
|
|
end
|