mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-15 08:24:50 +02:00
34 lines
1.2 KiB
Ruby
34 lines
1.2 KiB
Ruby
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'
|
|
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'
|
|
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
|
end
|
|
|
|
target 'Audiobookshelf' do
|
|
capacitor_pods
|
|
# Add your Pods here
|
|
|
|
pod 'RealmSwift', '~> 10'
|
|
pod 'Alamofire', '~> 5.5'
|
|
end
|
|
|
|
|
|
post_install do |installer|
|
|
assertDeploymentTarget(installer)
|
|
end
|