mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 01:01:40 +03:00
06dda70319
Co-authored-by: EYHN <cneyhn@gmail.com>
26 lines
808 B
Ruby
26 lines
808 B
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 'CapacitorBrowser', :path => '../../../../../node_modules/@capacitor/browser'
|
|
end
|
|
|
|
target 'App' do
|
|
capacitor_pods
|
|
# Add your Pods here
|
|
end
|
|
|
|
post_install do |installer|
|
|
assertDeploymentTarget(installer)
|
|
end
|