feat(ios): complete iOS test apps setup with plugin integration
Added iOS platform to Vue 3 test app and created standalone iOS test app: Vue 3 Test App (daily-notification-test): - Added iOS platform via 'npx cap add ios' - Created ios/ directory with Xcode project structure - Added DailyNotificationPlugin to Podfile - Generated App.xcodeproj and App.xcworkspace Standalone iOS Test App (ios-test-app): - Created App structure with Capacitor configuration - Added DailyNotificationPlugin to Podfile - Created capacitor.config.json with plugin settings - Copied test HTML interface (575 lines) from Android test app - Set up public/ directory for web assets Plugin Integration: - Both Podfiles configured with plugin path: '../../../ios' - Plugin dependencies ready for 'pod install' - Configuration files created and verified Documentation: - Created IOS_TEST_APPS_SETUP_COMPLETE.md with setup details - Documented next steps for CocoaPods and Xcode building All command-line setup complete. Ready for: - pod install (requires CocoaPods) - Xcode building and testing
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'
|
||||
end
|
||||
|
||||
target 'App' do
|
||||
capacitor_pods
|
||||
# Add your Pods here
|
||||
pod 'DailyNotificationPlugin', :path => '../../../ios'
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
assertDeploymentTarget(installer)
|
||||
end
|
||||
Reference in New Issue
Block a user