2023-01-22 23:26:08 +00:00
|
|
|
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
|
|
|
|
2025-04-15 22:30:30 +00:00
|
|
|
platform :ios, '14.0'
|
2021-09-03 19:41:00 +00: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'
|
2025-04-17 22:16:00 +00:00
|
|
|
pod 'WebnativellcCapacitorFilesharer', :path => '../../node_modules/@webnativellc/capacitor-filesharer'
|
2025-01-18 17:35:06 +00:00
|
|
|
pod 'CapacitorCommunityKeepAwake', :path => '../../node_modules/@capacitor-community/keep-awake'
|
2024-08-30 19:42:57 +00:00
|
|
|
pod 'CapacitorCommunityVolumeButtons', :path => '../../node_modules/@capacitor-community/volume-buttons'
|
2023-01-22 23:26:08 +00:00
|
|
|
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
|
2023-10-08 16:26:29 +00:00
|
|
|
pod 'CapacitorBrowser', :path => '../../node_modules/@capacitor/browser'
|
2023-06-24 19:45:25 +00:00
|
|
|
pod 'CapacitorClipboard', :path => '../../node_modules/@capacitor/clipboard'
|
2023-01-22 23:26:08 +00:00
|
|
|
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 17:35:16 +00:00
|
|
|
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
2021-09-03 19:41:00 +00:00
|
|
|
end
|
|
|
|
|
|
2022-09-15 00:24:27 +00:00
|
|
|
target 'Audiobookshelf' do
|
2021-09-03 19:41:00 +00:00
|
|
|
capacitor_pods
|
|
|
|
|
# Add your Pods here
|
2022-04-11 14:29:19 +00:00
|
|
|
|
2023-01-24 22:34:53 +00:00
|
|
|
pod 'RealmSwift', '~> 10'
|
2022-04-14 09:54:53 +00:00
|
|
|
pod 'Alamofire', '~> 5.5'
|
2021-09-03 19:41:00 +00:00
|
|
|
end
|
2023-01-22 23:26:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
|
assertDeploymentTarget(installer)
|
|
|
|
|
end
|