feat(test-app): add iOS project structure and configuration
- Add iOS .gitignore for Capacitor iOS project - Add Podfile with DailyNotificationPlugin dependency - Add Xcode project and workspace files - Add AppDelegate.swift for iOS app entry point - Add Assets.xcassets with app icons and splash screens - Add Base.lproj storyboards for launch and main screens These files are generated by Capacitor when iOS platform is added. The Podfile correctly references DailyNotificationPlugin from node_modules.
This commit is contained in:
24
test-apps/daily-notification-test/ios/App/Podfile
Normal file
24
test-apps/daily-notification-test/ios/App/Podfile
Normal file
@@ -0,0 +1,24 @@
|
||||
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 'DailyNotificationPlugin', :path => '../../node_modules/@timesafari/daily-notification-plugin/ios'
|
||||
end
|
||||
|
||||
target 'App' do
|
||||
capacitor_pods
|
||||
# Add your Pods here
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
assertDeploymentTarget(installer)
|
||||
end
|
||||
Reference in New Issue
Block a user